Enzyme main
Loading...
Searching...
No Matches
TraceInterface Class Referenceabstract

#include "TraceInterface.h"

Inheritance diagram for TraceInterface:

Public Member Functions

 TraceInterface (llvm::LLVMContext &C)
 
virtual ~TraceInterface ()=default
 
virtual llvm::Value * getTrace (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * getChoice (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertCall (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertChoice (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertArgument (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertReturn (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertFunction (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertChoiceGradient (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * insertArgumentGradient (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * newTrace (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * freeTrace (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * hasCall (llvm::IRBuilder<> &Builder)=0
 
virtual llvm::Value * hasChoice (llvm::IRBuilder<> &Builder)=0
 
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 ()
 

Static Public Member Functions

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 35 of file TraceInterface.h.

Constructor & Destructor Documentation

◆ TraceInterface()

TraceInterface::TraceInterface ( llvm::LLVMContext & C)

Definition at line 39 of file TraceInterface.cpp.

◆ ~TraceInterface()

virtual TraceInterface::~TraceInterface ( )
virtualdefault

Member Function Documentation

◆ freeTrace()

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

◆ freeTraceTy() [1/2]

FunctionType * TraceInterface::freeTraceTy ( )

◆ freeTraceTy() [2/2]

static llvm::FunctionType * TraceInterface::freeTraceTy ( llvm::LLVMContext & C)
static

◆ getChoice()

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

◆ getChoiceTy() [1/2]

FunctionType * TraceInterface::getChoiceTy ( )

◆ getChoiceTy() [2/2]

static llvm::FunctionType * TraceInterface::getChoiceTy ( llvm::LLVMContext & C)
static

◆ getTrace()

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

◆ getTraceTy() [1/2]

FunctionType * TraceInterface::getTraceTy ( )

◆ getTraceTy() [2/2]

static llvm::FunctionType * TraceInterface::getTraceTy ( llvm::LLVMContext & C)
static

◆ hasCall()

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

◆ hasCallTy() [1/2]

FunctionType * TraceInterface::hasCallTy ( )

◆ hasCallTy() [2/2]

static llvm::FunctionType * TraceInterface::hasCallTy ( llvm::LLVMContext & C)
static

◆ hasChoice()

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

◆ hasChoiceTy() [1/2]

FunctionType * TraceInterface::hasChoiceTy ( )

◆ hasChoiceTy() [2/2]

static llvm::FunctionType * TraceInterface::hasChoiceTy ( llvm::LLVMContext & C)
static

◆ insertArgument()

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

◆ insertArgumentGradient()

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

◆ insertArgumentGradientTy() [1/2]

FunctionType * TraceInterface::insertArgumentGradientTy ( )

◆ insertArgumentGradientTy() [2/2]

static llvm::FunctionType * TraceInterface::insertArgumentGradientTy ( llvm::LLVMContext & C)
static

◆ insertArgumentTy() [1/2]

FunctionType * TraceInterface::insertArgumentTy ( )

◆ insertArgumentTy() [2/2]

static llvm::FunctionType * TraceInterface::insertArgumentTy ( llvm::LLVMContext & C)
static

◆ insertCall()

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

◆ insertCallTy() [1/2]

FunctionType * TraceInterface::insertCallTy ( )

◆ insertCallTy() [2/2]

static llvm::FunctionType * TraceInterface::insertCallTy ( llvm::LLVMContext & C)
static

◆ insertChoice()

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

◆ insertChoiceGradient()

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

◆ insertChoiceGradientTy() [1/2]

FunctionType * TraceInterface::insertChoiceGradientTy ( )

◆ insertChoiceGradientTy() [2/2]

static llvm::FunctionType * TraceInterface::insertChoiceGradientTy ( llvm::LLVMContext & C)
static

◆ insertChoiceTy() [1/2]

FunctionType * TraceInterface::insertChoiceTy ( )

◆ insertChoiceTy() [2/2]

static llvm::FunctionType * TraceInterface::insertChoiceTy ( llvm::LLVMContext & C)
static

◆ insertFunction()

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

◆ insertFunctionTy() [1/2]

FunctionType * TraceInterface::insertFunctionTy ( )

◆ insertFunctionTy() [2/2]

static llvm::FunctionType * TraceInterface::insertFunctionTy ( llvm::LLVMContext & C)
static

◆ insertReturn()

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

◆ insertReturnTy() [1/2]

FunctionType * TraceInterface::insertReturnTy ( )

◆ insertReturnTy() [2/2]

static llvm::FunctionType * TraceInterface::insertReturnTy ( llvm::LLVMContext & C)
static

◆ newTrace()

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

◆ newTraceTy() [1/2]

FunctionType * TraceInterface::newTraceTy ( )

◆ newTraceTy() [2/2]

static llvm::FunctionType * TraceInterface::newTraceTy ( llvm::LLVMContext & C)
static

◆ sizeType()

IntegerType * TraceInterface::sizeType ( llvm::LLVMContext & C)
static

Definition at line 47 of file TraceInterface.cpp.

◆ stringType()

Type * TraceInterface::stringType ( llvm::LLVMContext & C)
static

Definition at line 51 of file TraceInterface.cpp.

References getInt8PtrTy().


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