libTriton version 1.0 build 1592
|
Converts a Triton's AST to LVM IR. More...
#include <tritonToLLVM.hpp>
Public Member Functions | |
TRITON_EXPORT | TritonToLLVM (llvm::LLVMContext &llvmContext) |
Constructor. | |
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 LLVM function. | |
Converts a Triton's AST to LVM IR.
Definition at line 45 of file tritonToLLVM.hpp.
triton::ast::TritonToLLVM::TritonToLLVM | ( | llvm::LLVMContext & | llvmContext | ) |
Constructor.
Definition at line 25 of file tritonToLLVM.cpp.
std::shared_ptr< llvm::Module > triton::ast::TritonToLLVM::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 LLVM function.
Definition at line 84 of file tritonToLLVM.cpp.