|
Enzyme main
|
#include "TraceInterface.h"

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) |
Definition at line 35 of file TraceInterface.h.
| TraceInterface::TraceInterface | ( | llvm::LLVMContext & | C | ) |
Definition at line 39 of file TraceInterface.cpp.
|
virtualdefault |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::FreeTrace().
| FunctionType * TraceInterface::freeTraceTy | ( | ) |
Definition at line 67 of file TraceInterface.cpp.
References freeTraceTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::FreeTrace(), and freeTraceTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::GetChoice().
| FunctionType * TraceInterface::getChoiceTy | ( | ) |
Definition at line 54 of file TraceInterface.cpp.
References getChoiceTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::GetChoice(), and getChoiceTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::GetTrace().
| FunctionType * TraceInterface::getTraceTy | ( | ) |
Definition at line 53 of file TraceInterface.cpp.
References getTraceTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::FromClone(), TraceUtils::GetTrace(), and getTraceTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::HasCall().
| FunctionType * TraceInterface::hasCallTy | ( | ) |
Definition at line 68 of file TraceInterface.cpp.
References hasCallTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::HasCall(), and hasCallTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::HasChoice().
| FunctionType * TraceInterface::hasChoiceTy | ( | ) |
Definition at line 69 of file TraceInterface.cpp.
References hasChoiceTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::HasChoice(), and hasChoiceTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::InsertArgument().
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceGenerator::visitFunction().
| FunctionType * TraceInterface::insertArgumentGradientTy | ( | ) |
Definition at line 63 of file TraceInterface.cpp.
References insertArgumentGradientTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), and insertArgumentGradientTy().
|
static |
| FunctionType * TraceInterface::insertArgumentTy | ( | ) |
Definition at line 57 of file TraceInterface.cpp.
References insertArgumentTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::InsertArgument(), and insertArgumentTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::InsertCall().
| FunctionType * TraceInterface::insertCallTy | ( | ) |
Definition at line 55 of file TraceInterface.cpp.
References insertCallTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::InsertCall(), and insertCallTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::InsertChoice().
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceGenerator::handleSampleCall().
| FunctionType * TraceInterface::insertChoiceGradientTy | ( | ) |
Definition at line 60 of file TraceInterface.cpp.
References insertChoiceGradientTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), and insertChoiceGradientTy().
|
static |
| FunctionType * TraceInterface::insertChoiceTy | ( | ) |
Definition at line 56 of file TraceInterface.cpp.
References insertChoiceTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::InsertChoice(), and insertChoiceTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::InsertFunction().
| FunctionType * TraceInterface::insertFunctionTy | ( | ) |
Definition at line 59 of file TraceInterface.cpp.
References insertFunctionTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::InsertFunction(), and insertFunctionTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::InsertReturn().
| FunctionType * TraceInterface::insertReturnTy | ( | ) |
Definition at line 58 of file TraceInterface.cpp.
References insertReturnTy().
Referenced by DynamicTraceInterface::DynamicTraceInterface(), TraceUtils::InsertReturn(), and insertReturnTy().
|
static |
|
pure virtual |
Implemented in DynamicTraceInterface, and StaticTraceInterface.
Referenced by TraceUtils::CreateTrace().
| FunctionType * TraceInterface::newTraceTy | ( | ) |
Definition at line 66 of file TraceInterface.cpp.
References newTraceTy().
Referenced by TraceUtils::CreateTrace(), DynamicTraceInterface::DynamicTraceInterface(), TraceGenerator::handleArbitraryCall(), and newTraceTy().
|
static |
|
static |
Definition at line 47 of file TraceInterface.cpp.
|
static |
Definition at line 51 of file TraceInterface.cpp.
References getInt8PtrTy().