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

The lifting to LLVM class. More...

#include <liftingToLLVM.hpp>

Inheritance diagram for triton::engines::lifters::LiftingToLLVM:

Public Member Functions

TRITON_EXPORT LiftingToLLVM ()
 Constructor.
 
TRITON_EXPORT std::ostream & liftToLLVM (std::ostream &stream, const triton::engines::symbolic::SharedSymbolicExpression &expr, 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.
 
TRITON_EXPORT std::ostream & liftToLLVM (std::ostream &stream, const triton::ast::SharedAbstractNode &node, const char *fname="__triton", bool optimize=false)
 Lifts a abstract node and all its references to LLVM format. fname represents the name of the LLVM function.
 
TRITON_EXPORT triton::ast::SharedAbstractNode simplifyAstViaLLVM (const triton::ast::SharedAbstractNode &node) const
 Lifts and simplify an AST using LLVM.
 

Detailed Description

The lifting to LLVM class.

Definition at line 46 of file liftingToLLVM.hpp.

Constructor & Destructor Documentation

◆ LiftingToLLVM()

triton::engines::lifters::LiftingToLLVM::LiftingToLLVM ( )

Constructor.

Definition at line 26 of file liftingToLLVM.cpp.

Member Function Documentation

◆ liftToLLVM() [1/2]

std::ostream & triton::engines::lifters::LiftingToLLVM::liftToLLVM ( std::ostream &  stream,
const triton::ast::SharedAbstractNode node,
const char *  fname = "__triton",
bool  optimize = false 
)

Lifts a abstract node and all its references to LLVM format. fname represents the name of the LLVM function.

Definition at line 36 of file liftingToLLVM.cpp.

◆ liftToLLVM() [2/2]

std::ostream & triton::engines::lifters::LiftingToLLVM::liftToLLVM ( std::ostream &  stream,
const triton::engines::symbolic::SharedSymbolicExpression expr,
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 30 of file liftingToLLVM.cpp.

◆ simplifyAstViaLLVM()

triton::ast::SharedAbstractNode triton::engines::lifters::LiftingToLLVM::simplifyAstViaLLVM ( const triton::ast::SharedAbstractNode node) const

Lifts and simplify an AST using LLVM.

Definition at line 56 of file liftingToLLVM.cpp.


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