Class IRBlock
A basic block with additional information about its predecessor and successor edges. Each edge corresponds to the control flow between the last instruction of one block and the first instruction of another block.
Import path
import semmle.code.cpp.ir.IR
Direct supertypes
Indirect supertypes
Known direct subtypes
Predicates
dominanceFrontier | Gets a block on the dominance frontier of this block. |
dominates | Holds if this block dominates |
getAPredecessor | Gets a block from which control flows directly to this block. |
getASuccessor | Gets a block to which control flows directly from this block. |
getBackEdgeSuccessor | Gets the block to which control flows directly from this block along a back edge of kind |
getSuccessor | Gets the block to which control flows directly from this block along an edge of kind |
immediatelyDominates | Holds if this block immediately dominates |
immediatelyPostDominates | Holds if this block immediately post-dominates |
isReachableFromFunctionEntry | Holds if this block is reachable from the entry block of its function. |
postDominanceFrontier | Gets a block on the post-dominance frontier of this block. |
postDominates | Holds if this block is a post-dominator of |
strictlyDominates | Holds if this block strictly dominates |
strictlyPostDominates | Holds if this block strictly post-dominates |
Inherited predicates
getAPhiInstruction | Get the | from IRBlockBase |
getAnInstruction | Gets an instruction in this block. This includes | from IRBlockBase |
getDisplayIndex | INTERNAL: Do not use. | from IRBlockBase |
getEnclosingFunction | Gets the | from IRBlockBase |
getEnclosingIRFunction | Gets the | from IRBlockBase |
getFirstInstruction | Gets the first non- | from IRBlockBase |
getInstruction | Gets the | from IRBlockBase |
getInstructionCount | Gets the number of non- | from IRBlockBase |
getLastInstruction | Gets the last instruction in this block. | from IRBlockBase |
getLocation | Gets the source location of the first non- | from IRBlockBase |
toString | Gets a textual representation of this block. | from IRBlockBase |