/external/llvm-project/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 63 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in IntrinsicCostAttributes() local 64 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 71 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local 72 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 86 if (auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local 87 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 101 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local 102 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 812 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local 813 if (!FPMO) return false; in match() 815 if (FPMO->getOpcode() == Instruction::FNeg) in match() 816 return X.match(FPMO->getOperand(0)); in match() 818 if (FPMO->getOpcode() == Instruction::FSub) { in match() 819 if (FPMO->hasNoSignedZeros()) { in match() 821 if (!cstfp_pred_ty<is_any_zero_fp>().match(FPMO->getOperand(0))) in match() 825 if (!cstfp_pred_ty<is_neg_zero_fp>().match(FPMO->getOperand(0))) in match() 829 return X.match(FPMO->getOperand(1)); in match()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 508 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionCost() local 509 FMF = FPMO->getFastMathFlags(); in getInstructionCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 393 void copyFMF(const FPMathOperator &FPMO) { 394 setNoNaNs(FPMO.hasNoNaNs()); 395 setNoInfs(FPMO.hasNoInfs()); 396 setNoSignedZeros(FPMO.hasNoSignedZeros()); 397 setAllowReciprocal(FPMO.hasAllowReciprocal()); 398 setAllowContract(FPMO.hasAllowContract()); 399 setApproximateFuncs(FPMO.hasApproxFunc()); 400 setAllowReassociation(FPMO.hasAllowReassoc());
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 386 void copyFMF(const FPMathOperator &FPMO) { 387 setNoNaNs(FPMO.hasNoNaNs()); 388 setNoInfs(FPMO.hasNoInfs()); 389 setNoSignedZeros(FPMO.hasNoSignedZeros()); 390 setAllowReciprocal(FPMO.hasAllowReciprocal()); 391 setAllowContract(FPMO.hasAllowContract()); 392 setApproximateFuncs(FPMO.hasApproxFunc()); 393 setAllowReassociation(FPMO.hasAllowReassoc());
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 956 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local 957 if (!FPMO) return false; in match() 959 if (FPMO->getOpcode() == Instruction::FNeg) in match() 960 return X.match(FPMO->getOperand(0)); in match() 962 if (FPMO->getOpcode() == Instruction::FSub) { in match() 963 if (FPMO->hasNoSignedZeros()) { in match() 965 if (!cstfp_pred_ty<is_any_zero_fp>().match(FPMO->getOperand(0))) in match() 969 if (!cstfp_pred_ty<is_neg_zero_fp>().match(FPMO->getOperand(0))) in match() 973 return X.match(FPMO->getOperand(1)); in match()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 784 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getUserCost() local 785 FMF = FPMO->getFastMathFlags(); in getUserCost()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 885 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local 886 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1402 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local 1403 if (FPMO->hasAllowReassoc()) in getOptimizationFlags() 1405 if (FPMO->hasNoNaNs()) in getOptimizationFlags() 1407 if (FPMO->hasNoInfs()) in getOptimizationFlags() 1409 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags() 1411 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags() 1413 if (FPMO->hasAllowContract()) in getOptimizationFlags() 1415 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 1335 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionThroughput() local 1336 FMF = FPMO->getFastMathFlags(); in getInstructionThroughput()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1289 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local 1290 if (FPMO->hasUnsafeAlgebra()) in getOptimizationFlags() 1292 if (FPMO->hasNoNaNs()) in getOptimizationFlags() 1294 if (FPMO->hasNoInfs()) in getOptimizationFlags() 1296 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags() 1298 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
|
/external/llvm-project/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1436 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local 1437 if (FPMO->hasAllowReassoc()) in getOptimizationFlags() 1439 if (FPMO->hasNoNaNs()) in getOptimizationFlags() 1441 if (FPMO->hasNoInfs()) in getOptimizationFlags() 1443 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags() 1445 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags() 1447 if (FPMO->hasAllowContract()) in getOptimizationFlags() 1449 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 154 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local 155 if (!FPMO) { in ClearSubclassDataAfterReassociation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 255 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local 256 if (!FPMO) { in ClearSubclassDataAfterReassociation()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 295 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local 296 if (!FPMO) { in ClearSubclassDataAfterReassociation()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1711 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost() local 1712 FMF = FPMO->getFastMathFlags(); in getEntryCost()
|
D | LoopVectorize.cpp | 3336 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local 3337 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1114 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) { in visit() local 1122 IncomingFlags.copyFMF(*FPMO); in visit() 3271 auto *FPMO = dyn_cast<FPMathOperator>(&I); in visitFCmp() local 3272 if ((FPMO && FPMO->hasNoNaNs()) || TM.Options.NoNaNsFPMath) in visitFCmp()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3097 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local 3098 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp() 3102 Flags.copyFMF(*FPMO); in visitFCmp() 9031 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local 9032 SDFlags.copyFMF(*FPMO); in visitVectorReduce()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 3520 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost() local 3521 FMF = FPMO->getFastMathFlags(); in getEntryCost()
|
D | LoopVectorize.cpp | 3307 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local 3308 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
|