- createSmallAggregate
void createSmallAggregate(IrIndex instrIndex, IrIndex type, IrInstrHeader instrHeader, IrFunction* ir, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- fitsIntoRegister
bool fitsIntoRegister(IrIndex type, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
- func_pass_lower_aggregates
void func_pass_lower_aggregates(CompilationContext* c, IrFunction* ir, IrIndex funcIndex, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- func_pass_lower_gep
void func_pass_lower_gep(CompilationContext* context, IrFunction* ir, IrIndex funcIndex, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- genAddressOffset
IrIndex genAddressOffset(IrIndex ptr, uint offset, IrIndex ptrType, IrIndex beforeInstr, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- genCopy
IrIndex genCopy(IrIndex dst, IrIndex src, IrIndex beforeInstr, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- genLoad
IrIndex genLoad(IrIndex ptr, uint offset, IrIndex ptrType, IrIndex beforeInstr, IrBuilder builder)
Undocumented in source. Be warned that the author may not have intended to support it.
- lowerGEP
void lowerGEP(CompilationContext* context, IrBuilder builder, IrIndex instrIndex, IrInstrHeader instrHeader)
Undocumented in source. Be warned that the author may not have intended to support it.
- pass_ir_lower
void pass_ir_lower(CompilationContext* c, ModuleDeclNode* mod, FunctionDeclNode* func)
Undocumented in source. Be warned that the author may not have intended to support it.
- simplifyConstant
IrIndex simplifyConstant(IrIndex index, CompilationContext* c)
Converts complex constants fitting in a single register into an integer constant