Enzyme main
Loading...
Searching...
No Matches
StaticTraceInterface Class Referencefinal

#include "TraceInterface.h"

Inheritance diagram for StaticTraceInterface:
Collaboration diagram for StaticTraceInterface:

Public Member Functions

 StaticTraceInterface (llvm::Module *M)
 
 StaticTraceInterface (llvm::LLVMContext &C, llvm::Function *getTraceFunction, llvm::Function *getChoiceFunction, llvm::Function *insertCallFunction, llvm::Function *insertChoiceFunction, llvm::Function *insertArgumentFunction, llvm::Function *insertReturnFunction, llvm::Function *insertFunctionFunction, llvm::Function *insertChoiceGradientFunction, llvm::Function *insertArgumentGradientFunction, llvm::Function *newTraceFunction, llvm::Function *freeTraceFunction, llvm::Function *hasCallFunction, llvm::Function *hasChoiceFunction)
 
 ~StaticTraceInterface ()=default
 
llvm::Value * getTrace (llvm::IRBuilder<> &Builder)
 
llvm::Value * getChoice (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertCall (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertChoice (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertArgument (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertReturn (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertFunction (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertChoiceGradient (llvm::IRBuilder<> &Builder)
 
llvm::Value * insertArgumentGradient (llvm::IRBuilder<> &Builder)
 
llvm::Value * newTrace (llvm::IRBuilder<> &Builder)
 
llvm::Value * freeTrace (llvm::IRBuilder<> &Builder)
 
llvm::Value * hasCall (llvm::IRBuilder<> &Builder)
 
llvm::Value * hasChoice (llvm::IRBuilder<> &Builder)
 
- Public Member Functions inherited from TraceInterface
 TraceInterface (llvm::LLVMContext &C)
 
virtual ~TraceInterface ()=default
 
llvm::FunctionType * getTraceTy ()
 
llvm::FunctionType * getChoiceTy ()
 
llvm::FunctionType * insertCallTy ()
 
llvm::FunctionType * insertChoiceTy ()
 
llvm::FunctionType * insertArgumentTy ()
 
llvm::FunctionType * insertReturnTy ()
 
llvm::FunctionType * insertFunctionTy ()
 
llvm::FunctionType * insertChoiceGradientTy ()
 
llvm::FunctionType * insertArgumentGradientTy ()
 
llvm::FunctionType * newTraceTy ()
 
llvm::FunctionType * freeTraceTy ()
 
llvm::FunctionType * hasCallTy ()
 
llvm::FunctionType * hasChoiceTy ()
 

Additional Inherited Members

- Static Public Member Functions inherited from TraceInterface
static llvm::IntegerType * sizeType (llvm::LLVMContext &C)
 
static llvm::Type * stringType (llvm::LLVMContext &C)
 
static llvm::FunctionType * getTraceTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * getChoiceTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertCallTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertChoiceTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertArgumentTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertReturnTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertFunctionTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertChoiceGradientTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * insertArgumentGradientTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * newTraceTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * freeTraceTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * hasCallTy (llvm::LLVMContext &C)
 
static llvm::FunctionType * hasChoiceTy (llvm::LLVMContext &C)
 

Detailed Description

Definition at line 100 of file TraceInterface.h.

Constructor & Destructor Documentation

◆ StaticTraceInterface() [1/2]

StaticTraceInterface::StaticTraceInterface ( llvm::Module * M)

◆ StaticTraceInterface() [2/2]

StaticTraceInterface::StaticTraceInterface ( llvm::LLVMContext & C,
llvm::Function * getTraceFunction,
llvm::Function * getChoiceFunction,
llvm::Function * insertCallFunction,
llvm::Function * insertChoiceFunction,
llvm::Function * insertArgumentFunction,
llvm::Function * insertReturnFunction,
llvm::Function * insertFunctionFunction,
llvm::Function * insertChoiceGradientFunction,
llvm::Function * insertArgumentGradientFunction,
llvm::Function * newTraceFunction,
llvm::Function * freeTraceFunction,
llvm::Function * hasCallFunction,
llvm::Function * hasChoiceFunction )

◆ ~StaticTraceInterface()

StaticTraceInterface::~StaticTraceInterface ( )
default

Member Function Documentation

◆ freeTrace()

Value * StaticTraceInterface::freeTrace ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 298 of file TraceInterface.cpp.

◆ getChoice()

Value * StaticTraceInterface::getChoice ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 271 of file TraceInterface.cpp.

◆ getTrace()

Value * StaticTraceInterface::getTrace ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 268 of file TraceInterface.cpp.

◆ hasCall()

Value * StaticTraceInterface::hasCall ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 301 of file TraceInterface.cpp.

◆ hasChoice()

Value * StaticTraceInterface::hasChoice ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 304 of file TraceInterface.cpp.

◆ insertArgument()

Value * StaticTraceInterface::insertArgument ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 280 of file TraceInterface.cpp.

◆ insertArgumentGradient()

Value * StaticTraceInterface::insertArgumentGradient ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 292 of file TraceInterface.cpp.

◆ insertCall()

Value * StaticTraceInterface::insertCall ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 274 of file TraceInterface.cpp.

◆ insertChoice()

Value * StaticTraceInterface::insertChoice ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 277 of file TraceInterface.cpp.

◆ insertChoiceGradient()

Value * StaticTraceInterface::insertChoiceGradient ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 289 of file TraceInterface.cpp.

◆ insertFunction()

Value * StaticTraceInterface::insertFunction ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 286 of file TraceInterface.cpp.

◆ insertReturn()

Value * StaticTraceInterface::insertReturn ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 283 of file TraceInterface.cpp.

◆ newTrace()

Value * StaticTraceInterface::newTrace ( llvm::IRBuilder<> & Builder)
virtual

Implements TraceInterface.

Definition at line 295 of file TraceInterface.cpp.


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