libTriton version 1.0 build 1592
|
Converts a LLVM IR to a Triton AST. More...
#include <llvmToTriton.hpp>
Public Member Functions | |
TRITON_EXPORT | LLVMToTriton (triton::Context &ctx) |
Constructor. | |
TRITON_EXPORT | LLVMToTriton (const triton::ast::SharedAstContext &actx) |
Constructor. | |
TRITON_EXPORT triton::ast::SharedAbstractNode | convert (llvm::Module *llvmModule, const char *fname="__triton") |
Converts a given function from an LLVM module to a Triton AST. | |
TRITON_EXPORT triton::ast::SharedAbstractNode | convert (llvm::Value *instruction) |
Converts an LLVM instruction function to a Triton AST. | |
Converts a LLVM IR to a Triton AST.
Definition at line 41 of file llvmToTriton.hpp.
triton::ast::LLVMToTriton::LLVMToTriton | ( | triton::Context & | ctx | ) |
Constructor.
Definition at line 15 of file llvmToTriton.cpp.
triton::ast::LLVMToTriton::LLVMToTriton | ( | const triton::ast::SharedAstContext & | actx | ) |
Constructor.
Definition at line 20 of file llvmToTriton.cpp.
SharedAbstractNode triton::ast::LLVMToTriton::convert | ( | llvm::Module * | llvmModule, |
const char * | fname = "__triton" ) |
Converts a given function from an LLVM module to a Triton AST.
Definition at line 266 of file llvmToTriton.cpp.
SharedAbstractNode triton::ast::LLVMToTriton::convert | ( | llvm::Value * | instruction | ) |
Converts an LLVM instruction function to a Triton AST.
Definition at line 284 of file llvmToTriton.cpp.