LLVM  14.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::AMDGPULibCalls Class Reference
Collaboration diagram for llvm::AMDGPULibCalls:
Collaboration graph
[legend]

Public Member Functions

 AMDGPULibCalls (const TargetMachine *TM_=nullptr)
 
bool fold (CallInst *CI, AliasAnalysis *AA=nullptr)
 
void initNativeFuncs ()
 
bool useNative (CallInst *CI)
 

Protected Member Functions

bool isUnsafeMath (const CallInst *CI) const
 
void replaceCall (Value *With)
 

Protected Attributes

CallInstCI
 

Detailed Description

Definition at line 45 of file AMDGPULibCalls.cpp.

Constructor & Destructor Documentation

◆ AMDGPULibCalls()

llvm::AMDGPULibCalls::AMDGPULibCalls ( const TargetMachine TM_ = nullptr)
inline

Definition at line 142 of file AMDGPULibCalls.cpp.

References TM.

Member Function Documentation

◆ fold()

bool AMDGPULibCalls::fold ( CallInst CI,
AliasAnalysis AA = nullptr 
)

◆ initNativeFuncs()

void AMDGPULibCalls::initNativeFuncs ( )

◆ isUnsafeMath()

bool AMDGPULibCalls::isUnsafeMath ( const CallInst CI) const
protected

◆ replaceCall()

void llvm::AMDGPULibCalls::replaceCall ( Value With)
inlineprotected

◆ useNative()

bool AMDGPULibCalls::useNative ( CallInst CI)

Member Data Documentation

◆ CI

CallInst* llvm::AMDGPULibCalls::CI
protected

Definition at line 132 of file AMDGPULibCalls.cpp.

Referenced by fold(), isUnsafeMath(), replaceCall(), and useNative().


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