CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (changelog, source)
Search

Class RegisterOperandTag

An operand that consumes a register (non-memory) result.

Import path

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

Direct supertypes

Indirect supertypes

Known direct subtypes

    Inherited predicates

    alwaysPrintLabel

    Holds if the operand should always be prefixed with its label in the dump of its instruction.

    from OperandTag
    getId

    Gets an identifier that uniquely identifies this operand within its instruction.

    from OperandTag
    getLabel

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

    from OperandTag
    getSortOrder

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

    from OperandTag
    toString

    Gets a textual representation of this operand tag

    from OperandTag