Lines Matching defs:AMDGPULibCalls
1 //===- AMDGPULibCalls.cpp -------------------------------------------------===//
49 class AMDGPULibCalls {
136 AMDGPULibCalls() = default;
406 FunctionCallee AMDGPULibCalls::getFunction(Module *M, const FuncInfo &fInfo) {
414 bool AMDGPULibCalls::parseFunctionName(const StringRef &FMangledName,
419 bool AMDGPULibCalls::isUnsafeMath(const FPMathOperator *FPOp) const {
423 bool AMDGPULibCalls::isUnsafeFiniteOnlyMath(const FPMathOperator *FPOp) const {
428 bool AMDGPULibCalls::canIncreasePrecisionOfConstantFold(
434 void AMDGPULibCalls::initFunction(Function &F, FunctionAnalysisManager &FAM) {
441 bool AMDGPULibCalls::useNativeFunc(const StringRef F) const {
445 void AMDGPULibCalls::initNativeFuncs() {
451 bool AMDGPULibCalls::sincosUseNative(CallInst *aCI, const FuncInfo &FInfo) {
487 bool AMDGPULibCalls::useNative(CallInst *aCI) {
521 bool AMDGPULibCalls::fold_read_write_pipe(CallInst *CI, IRBuilder<> &B,
645 bool AMDGPULibCalls::fold(CallInst *CI) {
829 bool AMDGPULibCalls::TDOFold(CallInst *CI, const FuncInfo &FInfo) {
901 bool AMDGPULibCalls::fold_pow(FPMathOperator *FPOp, IRBuilder<> &B,
1151 bool AMDGPULibCalls::fold_rootn(FPMathOperator *FPOp, IRBuilder<> &B,
1245 FunctionCallee AMDGPULibCalls::getNativeFunction(Module *M,
1257 bool AMDGPULibCalls::shouldReplaceLibcallWithIntrinsic(const CallInst *CI,
1283 void AMDGPULibCalls::replaceLibCallWithSimpleIntrinsic(IRBuilder<> &B,
1304 bool AMDGPULibCalls::tryReplaceLibcallWithSimpleIntrinsic(
1315 AMDGPULibCalls::insertSinCos(Value *Arg, FastMathFlags FMF, IRBuilder<> &B,
1351 bool AMDGPULibCalls::fold_sincos(FPMathOperator *FPOp, IRBuilder<> &B,
1459 bool AMDGPULibCalls::evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0,
1624 bool AMDGPULibCalls::evaluateCall(CallInst *aCI, const FuncInfo &FInfo) {
1707 AMDGPULibCalls Simplifier;
1736 AMDGPULibCalls Simplifier;