vox.fe.passes.ast_to_ir

Members

Enums

ExprValueKind
enum ExprValueKind
Undocumented in source.
IsLvalue
enum IsLvalue
Undocumented in source.

Functions

addUnaryBranch
void addUnaryBranch(IrGenState gen, IrIndex value, IrIndex currentBlock, IrLabel trueExit, IrLabel falseExit)
Undocumented in source. Be warned that the author may not have intended to support it.
buildGEP
IrIndex buildGEP(IrGenState gen, TokenIndex loc, IrIndex currentBlock, IrIndex aggrPtr, IrIndex ptrIndex, IrIndex[] indices)
Undocumented in source. Be warned that the author may not have intended to support it.
buildGEPEx
IrIndex buildGEPEx(IrGenState gen, TokenIndex loc, IrIndex currentBlock, ExprValue aggrPtrExpr, IrIndex ptrIndex, IrIndex[] indices)
Undocumented in source. Be warned that the author may not have intended to support it.
genBlock
void genBlock(IrGenState gen, AstNode* parent, AstNodes statements, IrIndex currentBlock, IrLabel nextStmt)
Undocumented in source. Be warned that the author may not have intended to support it.
ir_gen_branch
void ir_gen_branch(IrGenState gen, AstIndex astIndex, IrIndex curBlock, IrLabel trueExit, IrLabel falseExit)
Undocumented in source. Be warned that the author may not have intended to support it.
ir_gen_decl
void ir_gen_decl(IrGenState gen, AstIndex nodeIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
ir_gen_expr
ExprValue ir_gen_expr(IrGenState gen, AstIndex astIndex, IrIndex curBlock, IrLabel nextStmt)
Undocumented in source. Be warned that the author may not have intended to support it.
ir_gen_stmt
void ir_gen_stmt(IrGenState gen, AstIndex astIndex, IrIndex curBlock, IrLabel nextStmt)
Undocumented in source. Be warned that the author may not have intended to support it.
makeBoolValue
IrIndex makeBoolValue(IrGenState gen, ExpressionNode* n, IrIndex currentBlock, IrLabel nextStmt)
Undocumented in source. Be warned that the author may not have intended to support it.
pass_ir_gen
void pass_ir_gen(CompilationContext ctx, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MAX_GEP_INDICES
enum MAX_GEP_INDICES;
Undocumented in source.

Structs

ExprValue
struct ExprValue

Lvalue means that value is stored in global, stack slot or variable.

IrGenState
struct IrGenState
Undocumented in source.

Meta

Authors

Andrey Penechko.