Expand description
Definitions of Koopa IR ASTs.
ASTs can represent the tree structures of the text form Koopa IR,
and they will be built by the Koopa IR parser
(Parser) during the parsing process.
Structs§
- Aggregate
- Aggregate value.
- Array
Type - Array type.
- Ast
- An abstract syntax tree (AST) of Koopa IR.
- Binary
Expr - Binary expression.
- Block
- Basic block.
- Branch
- Branch.
- End
- End of file.
- Error
- Error.
- FunCall
- Function call.
- FunDecl
- Function declaration.
- FunDef
- Function definition.
- FunType
- Function type.
- GetElement
Pointer - Element pointer calculation.
- GetPointer
- Pointer calculation.
- Global
Decl - Global memory declaration.
- Global
Def - Global symbol definition.
- IntType
- 32-bit integer type.
- IntVal
- Integer literal.
- Jump
- Jump.
- Load
- Load.
- MemDecl
- Memory declaration.
- Pointer
Type - Pointer type.
- Return
- Return.
- Store
- Store.
- Symbol
Def - Symbol definition.
- Symbol
Ref - Symbol reference.
- Undef
Val - Undefined value.
- Zero
Init - Zero initializer.
Enums§
- AstKind
- Kind of AST.
Type Aliases§
- AstBox
- A boxed Koopa IR AST.