Class Operand::Operand

A source operand of an Instruction. The operand represents a value consumed by the instruction.

Direct supertypes

Known direct subtypes

Predicates

getAddressOperand

Returns the operand that holds the memory address from which the current operand loads its value, if any. For example, in r3 = Load r1, m2, the result of getAddressOperand() for m2 is r1.

getDefinitionInstruction

Gets the Instruction whose result is the value of the operand.

getDumpLabel

Gets a prefix to use when dumping the operand in an operand list.

getDumpSortOrder

Get the order in which the operand should be sorted in the operand list.

getDumpString

Gets a string describing this operand, suitable for display in IR dumps. This consists of the result ID of the instruction consumed by the operand, plus a label identifying the operand kind.

getInstruction

Gets the Instruction that consumes this operand.

getMemoryAccess

Gets the kind of memory access performed by the operand. Holds only for memory operands.

toString