Class IRBlockBase
A basic block in the IR. A basic block consists of a sequence of Instructions with the only
incoming edges at the beginning of the sequence and the only outgoing edges at the end of the
sequence.
This class does not contain any members that query the predecessor or successor edges of the
block. This allows different classes that extend IRBlockBase to expose different subsets of
edges (e.g. ignoring unreachable edges).
Most consumers should use the class IRBlock.
Import path
import semmle.code.cpp.ir.implementation.raw.IRBlockDirect supertypes
Known direct subtypes
Predicates
| getAPhiInstruction | Get the |
| getAnInstruction | Gets an instruction in this block. This includes |
| getDisplayIndex | INTERNAL: Do not use. |
| getEnclosingFunction | Gets the |
| getEnclosingIRFunction | Gets the |
| getFirstInstruction | Gets the first non- |
| getInstruction | Gets the |
| getInstructionCount | Gets the number of non- |
| getLastInstruction | Gets the last instruction in this block. |
| getLocation | Gets the source location of the first non- |
| toString | Gets a textual representation of this block. |