LLVMIRLanguageFrontend
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.
Properties
Link copied to clipboard
This contains a cache binding between an LLVMValueRef (representing a variable) and its Declaration in the graph. We need this, because this way we can look up and connect a Reference to its Declaration already in the language frontend. This in turn is needed because of the local/global system we cannot rely on the SymbolResolver.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Determines if a struct with name exists in the scope.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun registerPredicateListener(predicate: BiPredicate<Any, Node>, biConsumer: BiConsumer<Any, Node>)
Link copied to clipboard