vox.ir.ir_instructions

Members

Aliases

IFLG
alias IFLG = IrInstrFlags
Undocumented in source.

Enums

IrArgSize
enum IrArgSize
Undocumented in source.
IrBinaryCondition
enum IrBinaryCondition
Undocumented in source.
IrInstrFlags
enum IrInstrFlags
Undocumented in source.
IrInstructionSet
enum IrInstructionSet
Undocumented in source.
IrOpcode
enum IrOpcode

List of machine-independent opcodes

IrUnaryCondition
enum IrUnaryCondition
Undocumented in source.
getInstrInfo
eponymoustemplate getInstrInfo(alias T)
Undocumented in source.
getIrValueKind
eponymoustemplate getIrValueKind(T)
Undocumented in source.

Functions

evalBinCondition
bool evalBinCondition(CompilationContext context, IrBinaryCondition cond, IrIndex conLeft, IrIndex conRight)
Undocumented in source. Be warned that the author may not have intended to support it.
gatherInstrInfos
InstrInfo[] gatherInstrInfos()
Undocumented in source. Be warned that the author may not have intended to support it.
invertBinaryCond
IrBinaryCondition invertBinaryCond(IrBinaryCondition cond)
Undocumented in source. Be warned that the author may not have intended to support it.
invertUnaryCond
IrUnaryCondition invertUnaryCond(IrUnaryCondition cond)
Undocumented in source. Be warned that the author may not have intended to support it.
sizeToIntType
IrIndex sizeToIntType(uint typeSize, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
sizeToIrArgSize
IrArgSize sizeToIrArgSize(uint typeSize, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
typeToIrArgSize
IrArgSize typeToIrArgSize(IrIndex type, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

InstrInfo
struct InstrInfo
Undocumented in source.
IrInstrHeader
struct IrInstrHeader

Common prefix of all IR instruction structs

IrInstr_parameter
struct IrInstr_parameter
Undocumented in source.

Variables

allInstrInfos
InstrInfo[][] allInstrInfos;
Undocumented in source.
binaryCondStrings
string[] binaryCondStrings;
Undocumented in source.
binaryCondStringsEscapedForDot
string[] binaryCondStringsEscapedForDot;
Undocumented in source.
instr_set_names
string[] instr_set_names;
Undocumented in source.
irInstrInfos
InstrInfo[] irInstrInfos;
Undocumented in source.
unaryCondStrings
string[] unaryCondStrings;
Undocumented in source.

Meta

Authors

Andrey Penechko. IR instruction format and metadata