Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arg ¶
Arg is an instruction argument (sometimes called operand). Value bits (int64) should be interpreted differently depending on the Kind.
func (Arg) DoubleValue ¶
func (Arg) FloatValue ¶
type ArgKind ¶
type ArgKind int
ArgKind describes an argument category. Most kinds change how Arg value should be interpreted.
type Inst ¶
Inst is a single IR instruction.
If instruction has explicit output, Dst represents output assignment destination.
type InstFlags ¶
type InstFlags uint64
InstFlags is a set of instruction bit fields.
func (InstFlags) IsBlockLead ¶
func (InstFlags) IsJumpTarget ¶
func (*InstFlags) SetBlockLead ¶
func (*InstFlags) SetJumpTarget ¶
type InstKind ¶
type InstKind int
InstKind describes instruction operation. It can be treated as an "opcode" of IR abstract machine.
const ( InstInvalid InstKind = iota InstIload InstLload InstAload InstRet InstIret InstLret InstAret InstCallStatic InstCallGo InstIcmp InstLcmp InstJump InstJumpEqual InstJumpNotEqual InstJumpGtEq InstJumpGt InstJumpLt InstJumpLtEq InstImul InstIdiv InstIadd InstLadd InstFadd InstIsub InstIneg InstLneg InstDadd InstConvL2I InstConvF2I InstConvD2I InstConvI2L InstConvI2B InstNewBoolArray InstNewCharArray InstNewFloatArray InstNewDoubleArray InstNewByteArray InstNewShortArray InstNewIntArray InstNewLongArray InstIntArraySet InstIntArrayGet InstArrayLen )
Click to show internal directories.
Click to hide internal directories.