libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
Public Member Functions | List of all members
triton::ast::TritonToLLVM Class Reference

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.
 

Detailed Description

Converts a Triton's AST to LVM IR.

Definition at line 45 of file tritonToLLVM.hpp.

Constructor & Destructor Documentation

◆ TritonToLLVM()

triton::ast::TritonToLLVM::TritonToLLVM ( llvm::LLVMContext &  llvmContext)

Constructor.

Definition at line 25 of file tritonToLLVM.cpp.

Member Function Documentation

◆ convert()

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.


The documentation for this class was generated from the following files: