CodeQL library for C/C++
Search

Module Internal

Provides the newtype used to represent operands across all phases of the IR.

Import path

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

Datatypes

TOperand

An IR operand. TOperand is shared across all phases of the IR. There are branches of this type for operands created directly from the AST (TRegisterOperand and TNonSSAMemoryOperand), for operands computed by each stage of SSA construction (T*PhiOperand and TAliasedChiOperand), and a placehold branch for operands that do not exist in a given stage of IR construction (TNoOperand).