Home
last modified time | relevance | path

Searched refs:FPMO (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp63 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/
DPatternMatch.h812 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/
DCostModel.cpp508 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/
DSelectionDAGNodes.h393 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/
DSelectionDAGNodes.h386 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/
DPatternMatch.h956 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/
DAMDGPUTargetTransformInfo.cpp784 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getUserCost() local
785 FMF = FPMO->getFastMathFlags(); in getUserCost()
/external/llvm-project/llvm/lib/Transforms/IPO/
DPartialInlining.cpp885 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/
DBitcodeWriter.cpp1402 } 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/
DTargetTransformInfo.cpp1335 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionThroughput() local
1336 FMF = FPMO->getFastMathFlags(); in getInstructionThroughput()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1289 } 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/
DBitcodeWriter.cpp1436 } 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/
DInstructionCombining.cpp154 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/
DInstructionCombining.cpp255 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local
256 if (!FPMO) { in ClearSubclassDataAfterReassociation()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp295 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local
296 if (!FPMO) { in ClearSubclassDataAfterReassociation()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1711 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost() local
1712 FMF = FPMO->getFastMathFlags(); in getEntryCost()
DLoopVectorize.cpp3336 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/
DSelectionDAGBuilder.cpp1114 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/
DSelectionDAGBuilder.cpp3097 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/
DSLPVectorizer.cpp3520 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost() local
3521 FMF = FPMO->getFastMathFlags(); in getEntryCost()
DLoopVectorize.cpp3307 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local
3308 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()