Package-level declarations

Types

Link copied to clipboard
class DeclarationHandler(lang: LLVMIRLanguageFrontend) : Handler<Declaration, Pointer, LLVMIRLanguageFrontend>

This handler is in charge of parsing all LLVM IR language constructs that are related to declarations, mainly functions and types.

Link copied to clipboard
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.

Link copied to clipboard
class LLVMIRLanguageFrontend(config: TranslationConfiguration, scopeManager: ScopeManager?) : LanguageFrontend
Link copied to clipboard
class StatementHandler(lang: LLVMIRLanguageFrontend) : Handler<Statement, Pointer, LLVMIRLanguageFrontend>

Properties

Link copied to clipboard
val LLVMValueRef.name: String

Returns the name of a value using LLVMGetValueName.

Link copied to clipboard
val LLVMValueRef.opCode: Int

Returns the opcode for an instruction using LLVMGetInstructionOpcode.

Link copied to clipboard
val LLVMValueRef.symbolName: String

Returns the name / identified of a value, if it is a variable, including the "scope" symbol, i.e., % for local and @ for global variables.