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

Class LeftOperandTag

The left operand of a binary instruction (e.g. Add, CompareEQ).

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getId

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

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

Inherited predicates

alwaysPrintLabel

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

from OperandTag
getLabel

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

from OperandTag