Lines Matching refs:AMDGPULibCalls

45 class AMDGPULibCalls {  class
142 AMDGPULibCalls(const TargetMachine *TM_ = nullptr) : TM(TM_) {} in AMDGPULibCalls() function in llvm::AMDGPULibCalls
158 AMDGPULibCalls Simplifier;
177 AMDGPULibCalls Simplifier;
461 FunctionCallee AMDGPULibCalls::getFunction(Module *M, const FuncInfo &fInfo) { in getFunction()
469 bool AMDGPULibCalls::parseFunctionName(const StringRef& FMangledName, in parseFunctionName()
474 bool AMDGPULibCalls::isUnsafeMath(const CallInst *CI) const { in isUnsafeMath()
483 bool AMDGPULibCalls::useNativeFunc(const StringRef F) const { in useNativeFunc()
487 void AMDGPULibCalls::initNativeFuncs() { in initNativeFuncs()
493 bool AMDGPULibCalls::sincosUseNative(CallInst *aCI, const FuncInfo &FInfo) { in sincosUseNative()
527 bool AMDGPULibCalls::useNative(CallInst *aCI) { in useNative()
560 bool AMDGPULibCalls::fold_read_write_pipe(CallInst *CI, IRBuilder<> &B, in fold_read_write_pipe()
621 bool AMDGPULibCalls::fold(CallInst *CI, AliasAnalysis *AA) { in fold()
717 bool AMDGPULibCalls::TDOFold(CallInst *CI, const FuncInfo &FInfo) { in TDOFold()
781 bool AMDGPULibCalls::replaceWithNative(CallInst *CI, const FuncInfo &FInfo) { in replaceWithNative()
803 bool AMDGPULibCalls::fold_recip(CallInst *CI, IRBuilder<> &B, in fold_recip()
821 bool AMDGPULibCalls::fold_divide(CallInst *CI, IRBuilder<> &B, in fold_divide()
851 bool AMDGPULibCalls::fold_pow(CallInst *CI, IRBuilder<> &B, in fold_pow()
1136 bool AMDGPULibCalls::fold_rootn(CallInst *CI, IRBuilder<> &B, in fold_rootn()
1190 bool AMDGPULibCalls::fold_fma_mad(CallInst *CI, IRBuilder<> &B, in fold_fma_mad()
1235 FunctionCallee AMDGPULibCalls::getNativeFunction(Module *M, in getNativeFunction()
1245 bool AMDGPULibCalls::fold_sqrt(CallInst *CI, IRBuilder<> &B, in fold_sqrt()
1263 bool AMDGPULibCalls::fold_sincos(CallInst *CI, IRBuilder<> &B, in fold_sincos()
1367 bool AMDGPULibCalls::fold_wavefrontsize(CallInst *CI, IRBuilder<> &B) { in fold_wavefrontsize()
1391 BasicBlock::iterator AMDGPULibCalls::getEntryIns(CallInst * UI) { in getEntryIns()
1400 AllocaInst* AMDGPULibCalls::insertAlloca(CallInst *UI, IRBuilder<> &B, in insertAlloca()
1413 bool AMDGPULibCalls::evaluateScalarMathFunc(FuncInfo &FInfo, in evaluateScalarMathFunc()
1608 bool AMDGPULibCalls::evaluateCall(CallInst *aCI, FuncInfo &FInfo) { in evaluateCall()
1741 AMDGPULibCalls Simplifier(&TM); in run()
1801 AMDGPULibCalls Simplifier; in run()