Class Operand::TypedOperand

Direct supertypes

Indirect supertypes

Known direct subtypes


Inherited fields



Gets the type of the value consumed by this operand. This is usually the same as the result type of the definition instruction consumed by this operand. For register operands, this is always the case. For some memory operands, the operand type may be different from the definition type, such as in the case of a partial read or a read from a pointer that has been cast to a different type.

Inherited predicates


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.

from MemoryOperand

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

from NonPhiOperand

Gets the overlap relationship between the operand’s definition and its use.

from NonPhiMemoryOperand

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

from NonPhiOperand

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

from NonPhiOperand

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.

from Operand
getEnclosingIRFunctionfrom Operand
getLocationfrom Operand

Gets the kind of memory access performed by the operand.

from MemoryOperand
getOperandTagfrom NonPhiOperand

Gets the size of the value consumed by this operand, in bytes. If the operand does not have a known constant size, this predicate does not hold.

from Operand

Gets the Instruction that consumes this operand.

from NonPhiOperand

Holds if the result of the definition instruction does not exactly overlap this use.

from Operand

Holds if the value consumed by this operand is a glvalue. If this holds, the value of the operand represents the address of a location, and the type of the location is given by getType(). If this does not hold, the value of the operand represents a value whose type is given by getResultType().

from MemoryOperand
toStringfrom Operand