LLVM 17.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

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


Detailed Description

Definition at line 47 of file AMDGPULibCalls.cpp.

Constructor & Destructor Documentation

◆ AMDGPULibCalls()

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

Definition at line 123 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

◆ replaceCall()

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

◆ useNative()

bool AMDGPULibCalls::useNative ( CallInst CI)

Member Data Documentation

◆ CI

CallInst* llvm::AMDGPULibCalls::CI

Definition at line 113 of file AMDGPULibCalls.cpp.

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

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