48 llvm::LLVMContext& llvmContext;
51 std::shared_ptr<llvm::Module> llvmModule;
54 llvm::IRBuilder<> llvmIR;
57 std::map<triton::ast::SharedAbstractNode, llvm::Value*> llvmVars;
67 TRITON_EXPORT
TritonToLLVM(llvm::LLVMContext& llvmContext);
TRITON_EXPORT std::shared_ptr< llvm::Module > convert(const triton::ast::SharedAbstractNode &node, const char *fname="__triton", bool optimize=false)
Lifts a symbolic expression and all its references to LLVM format. fname represents the name of the L...