ir_test

Members

Enums

IrCond
enum IrCond
Undocumented in source.
IrOpcode
enum IrOpcode
Undocumented in source.
IrValueKind
enum IrValueKind
Undocumented in source.
IrValueType
enum IrValueType
Undocumented in source.

Functions

createFunction
IrFunction createFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
example1
void example1()
Undocumented in source. Be warned that the author may not have intended to support it.
example2
void example2()
Undocumented in source. Be warned that the author may not have intended to support it.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.
makeBranch
IrInstruction makeBranch(IrRef arg0)
Undocumented in source. Be warned that the author may not have intended to support it.
makeInstr0
IrInstruction makeInstr0(IrOpcode op, IrValueType type)
Undocumented in source. Be warned that the author may not have intended to support it.
makeInstr1
IrInstruction makeInstr1(IrOpcode op, IrValueType type, IrRef arg0)
Undocumented in source. Be warned that the author may not have intended to support it.
makeInstr2
IrInstruction makeInstr2(IrOpcode op, IrValueType type, IrRef arg0, IrRef arg1)
Undocumented in source. Be warned that the author may not have intended to support it.
makeInstrCmp
IrInstruction makeInstrCmp(IrCond cond, IrRef arg0, IrRef arg1)
Undocumented in source. Be warned that the author may not have intended to support it.
makeJump
IrInstruction makeJump()
Undocumented in source. Be warned that the author may not have intended to support it.
removeInPlace
T[] removeInPlace(T[] array, T what)
Undocumented in source. Be warned that the author may not have intended to support it.
testSign
void testSign()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

ONE_I1_REF
enum ONE_I1_REF;
Undocumented in source.
ONE_I32_REF
enum ONE_I32_REF;
Undocumented in source.
ONE_I64_REF
enum ONE_I64_REF;
Undocumented in source.
ZERO_I1_REF
enum ZERO_I1_REF;
Undocumented in source.
ZERO_I32_REF
enum ZERO_I32_REF;
Undocumented in source.
ZERO_I64_REF
enum ZERO_I64_REF;
Undocumented in source.

Structs

BlockId
struct BlockId
Undocumented in source.
BlockVarPair
struct BlockVarPair
Undocumented in source.
IncompletePhi
struct IncompletePhi
Undocumented in source.
IrBlock
struct IrBlock
Undocumented in source.
IrFunction
struct IrFunction
Undocumented in source.
IrInstruction
struct IrInstruction
Undocumented in source.
IrPhi
struct IrPhi
Undocumented in source.
IrRef
struct IrRef
Undocumented in source.
RefPr
struct RefPr
Undocumented in source.
Var
struct Var
Undocumented in source.
VarId
struct VarId
Undocumented in source.

Unions

IrConstant
union IrConstant
Undocumented in source.

Variables

hasInstrReturn
bool[IrOpcode.max + 1] hasInstrReturn;
Undocumented in source.
numInstrArgs
ubyte[IrOpcode.max + 1] numInstrArgs;
Undocumented in source.

Meta

Authors

Andrey Penechko.