ExpressionHandler

class ExpressionHandler(lang: LLVMIRLanguageFrontend) : Handler<Expression, LLVMValueRef, LLVMIRLanguageFrontend>

This handler primarily handles operands, as returned by LLVMGetOperand and turns them into an Expression. Operands are basically arguments to an instruction.

Constructors

Link copied to clipboard
constructor(lang: LLVMIRLanguageFrontend)

Functions

Link copied to clipboard
open fun handle(ctx: LLVMValueRef): Expression?
Link copied to clipboard
fun handleCastInstruction(instr: LLVMValueRef): Expression

Handles all kinds of instructions which are a cast instruction.

Link copied to clipboard
fun handleSelect(instr: LLVMValueRef): Expression

Handles the select instruction, which behaves like a ConditionalExpression.

Link copied to clipboard
open override fun <N, S> setCodeAndLocation(cpgNode: N, astNode: S?)

Properties

Link copied to clipboard
open override val ctx: TranslationContext
Link copied to clipboard
Link copied to clipboard
open override val language: Language<LLVMIRLanguageFrontend>
Link copied to clipboard
open override val namespace: Name?
Link copied to clipboard
open override val scope: Scope?