Class IRFunction
The IR for a function.
Import path
import semmle.code.cpp.ir.implementation.raw.IRFunctionDirect supertypes
Indirect supertypes
Inherited fields
| decl | from IRFunctionBase |
Predicates
| getABlock | Gets all blocks in this function. |
| getAnInstruction | Gets all instructions in this function. |
| getEnterFunctionInstruction | Gets the entry point for this function. |
| getEntryBlock | Gets the block containing the entry point of this function. |
| getExitFunctionInstruction | Gets the exit point for this function. |
| getReturnInstruction | Gets the single return instruction for this function. |
| getReturnVariable | Gets the variable used to hold the return value of this function. If this function does not return a value, this predicate does not hold. |
| hasIncompleteSsa | Holds if this function may have incomplete def-use information. |
Inherited predicates
| getFunction | Gets the function whose IR is represented. | from IRFunctionBase |
| getLocation | Gets the location of the function. | from IRFunctionBase |
| toString | Gets a textual representation of this element. | from IRFunctionBase |