Loading [MathJax]/extensions/tex2jax.js
libTriton version 1.0 build 1599
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 41 of file tritonToLLVM.hpp.

Constructor & Destructor Documentation

◆ TritonToLLVM()

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

Constructor.

Definition at line 28 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 91 of file tritonToLLVM.cpp.


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