Lines Matching defs:AMDGPULibCalls

1 //===- AMDGPULibCalls.cpp -------------------------------------------------===//
52 class AMDGPULibCalls {
139 AMDGPULibCalls() = default;
409 FunctionCallee AMDGPULibCalls::getFunction(Module *M, const FuncInfo &fInfo) {
417 bool AMDGPULibCalls::parseFunctionName(const StringRef &FMangledName,
422 bool AMDGPULibCalls::isUnsafeMath(const FPMathOperator *FPOp) const {
426 bool AMDGPULibCalls::isUnsafeFiniteOnlyMath(const FPMathOperator *FPOp) const {
431 bool AMDGPULibCalls::canIncreasePrecisionOfConstantFold(
437 void AMDGPULibCalls::initFunction(Function &F, FunctionAnalysisManager &FAM) {
444 bool AMDGPULibCalls::useNativeFunc(const StringRef F) const {
448 void AMDGPULibCalls::initNativeFuncs() {
454 bool AMDGPULibCalls::sincosUseNative(CallInst *aCI, const FuncInfo &FInfo) {
490 bool AMDGPULibCalls::useNative(CallInst *aCI) {
524 bool AMDGPULibCalls::fold_read_write_pipe(CallInst *CI, IRBuilder<> &B,
648 bool AMDGPULibCalls::fold(CallInst *CI) {
831 bool AMDGPULibCalls::TDOFold(CallInst *CI, const FuncInfo &FInfo) {
903 bool AMDGPULibCalls::fold_pow(FPMathOperator *FPOp, IRBuilder<> &B,
1152 bool AMDGPULibCalls::fold_rootn(FPMathOperator *FPOp, IRBuilder<> &B,
1246 FunctionCallee AMDGPULibCalls::getNativeFunction(Module *M,
1258 bool AMDGPULibCalls::shouldReplaceLibcallWithIntrinsic(const CallInst *CI,
1284 void AMDGPULibCalls::replaceLibCallWithSimpleIntrinsic(IRBuilder<> &B,
1305 bool AMDGPULibCalls::tryReplaceLibcallWithSimpleIntrinsic(
1316 AMDGPULibCalls::insertSinCos(Value *Arg, FastMathFlags FMF, IRBuilder<> &B,
1352 bool AMDGPULibCalls::fold_sincos(FPMathOperator *FPOp, IRBuilder<> &B,
1460 bool AMDGPULibCalls::evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0,
1625 bool AMDGPULibCalls::evaluateCall(CallInst *aCI, const FuncInfo &FInfo) {
1708 AMDGPULibCalls Simplifier;
1737 AMDGPULibCalls Simplifier;