Enzyme main
Loading...
Searching...
No Matches
TruncateUtils Class Reference
Inheritance diagram for TruncateUtils:
Collaboration diagram for TruncateUtils:

Public Member Functions

 TruncateUtils (FloatTruncation truncation, Module *M)
 
Type * getFromType ()
 
Type * getToType ()
 
CallInst * createFPRTConstCall (llvm::IRBuilderBase &B, Value *V)
 
CallInst * createFPRTNewCall (llvm::IRBuilderBase &B, Value *V)
 
CallInst * createFPRTGetCall (llvm::IRBuilderBase &B, Value *V)
 
CallInst * createFPRTDeleteCall (llvm::IRBuilderBase &B, Value *V)
 
CallInst * createFPRTOpCall (llvm::IRBuilderBase &B, llvm::Instruction &I, llvm::Type *RetTy, SmallVectorImpl< Value * > &ArgsIn)
 

Protected Attributes

FloatTruncation truncation
 
llvm::Module * M
 
Type * fromType
 
Type * toType
 
LLVMContext & ctx
 

Detailed Description

Definition at line 5179 of file EnzymeLogic.cpp.

Constructor & Destructor Documentation

◆ TruncateUtils()

TruncateUtils::TruncateUtils ( FloatTruncation truncation,
Module * M )
inline

Definition at line 5248 of file EnzymeLogic.cpp.

Member Function Documentation

◆ createFPRTConstCall()

CallInst * TruncateUtils::createFPRTConstCall ( llvm::IRBuilderBase & B,
Value * V )
inline

Definition at line 5260 of file EnzymeLogic.cpp.

◆ createFPRTDeleteCall()

CallInst * TruncateUtils::createFPRTDeleteCall ( llvm::IRBuilderBase & B,
Value * V )
inline

Definition at line 5277 of file EnzymeLogic.cpp.

◆ createFPRTGetCall()

CallInst * TruncateUtils::createFPRTGetCall ( llvm::IRBuilderBase & B,
Value * V )
inline

Definition at line 5272 of file EnzymeLogic.cpp.

◆ createFPRTNewCall()

CallInst * TruncateUtils::createFPRTNewCall ( llvm::IRBuilderBase & B,
Value * V )
inline

Definition at line 5266 of file EnzymeLogic.cpp.

◆ createFPRTOpCall()

CallInst * TruncateUtils::createFPRTOpCall ( llvm::IRBuilderBase & B,
llvm::Instruction & I,
llvm::Type * RetTy,
SmallVectorImpl< Value * > & ArgsIn )
inline

Definition at line 5282 of file EnzymeLogic.cpp.

◆ getFromType()

Type * TruncateUtils::getFromType ( )
inline

Definition at line 5256 of file EnzymeLogic.cpp.

◆ getToType()

Type * TruncateUtils::getToType ( )
inline

Definition at line 5258 of file EnzymeLogic.cpp.

Member Data Documentation

◆ ctx

LLVMContext& TruncateUtils::ctx
protected

Definition at line 5185 of file EnzymeLogic.cpp.

◆ fromType

Type* TruncateUtils::fromType
protected

Definition at line 5183 of file EnzymeLogic.cpp.

◆ M

llvm::Module* TruncateUtils::M
protected

Definition at line 5182 of file EnzymeLogic.cpp.

◆ toType

Type* TruncateUtils::toType
protected

Definition at line 5184 of file EnzymeLogic.cpp.

◆ truncation

FloatTruncation TruncateUtils::truncation
protected

Definition at line 5181 of file EnzymeLogic.cpp.


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