Statement Handler
class StatementHandler(lang: LLVMIRLanguageFrontend) : Handler<Statement, Pointer, LLVMIRLanguageFrontend>
Constructors
Functions
Link copied to clipboard
fun handleBinaryOperator(instr: LLVMValueRef, op: String, unsigned: Boolean, unordered: Boolean = false): Statement
Handles a binary operation and returns either a BinaryOperator, UnaryOperator, CallExpression or a DeclarationStatement.
Link copied to clipboard
Handles the icmp instruction for comparing integer values.
Link copied to clipboard
Handles the phi instruction. It therefore adds dummy statements to the end of basic blocks where a certain variable is declared and initialized. The original phi instruction is not added to the CPG.