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
The LLVM IR language.
Link copied to clipboard
class LLVMIRLanguageFrontend(language: Language<LLVMIRLanguageFrontend>, ctx: TranslationContext) : LanguageFrontend<Pointer, LLVMTypeRef>
Because we are using the C LLVM API, there are two possibly AST nodes that we need to consider: LLVMValueRef and LLVMBasicBlockRef. Because they do not share any class hierarchy, we need to resort to use Pointer as the AST node type here.
Link copied to clipboard
class StatementHandler(lang: LLVMIRLanguageFrontend) : Handler<Statement, Pointer, LLVMIRLanguageFrontend>