Class OperandTag

Identifies the kind of operand on an instruction. Each Instruction has at most one operand of any single OperandTag. The set of OperandTags used by an Instruction is determined by the instruction’s opcode.

Import path

import semmle.code.cpp.ir.implementation.internal.OperandTag

Direct supertypes

Known direct subtypes

    Predicates

    getLabel

    Gets a label that will appear before the operand when the IR is printed.

    getSortOrder

    Gets an integer that represents where this this operand will appear in the operand list of an instruction when the IR is printed.

    toString

    Gets a textual representation of this operand tag