/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instruction.cpp | 149 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setFast() 150 cast<FPMathOperator>(this)->setFast(B); in setFast() 154 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasAllowReassoc() 155 cast<FPMathOperator>(this)->setHasAllowReassoc(B); in setHasAllowReassoc() 159 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoNaNs() 160 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs() 164 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoInfs() 165 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs() 169 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoSignedZeros() 170 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros() [all …]
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 127 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasUnsafeAlgebra() 128 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B); in setHasUnsafeAlgebra() 134 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoNaNs() 135 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs() 141 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoInfs() 142 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs() 149 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoSignedZeros() 150 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros() 157 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasAllowReciprocal() 158 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); in setHasAllowReciprocal() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 131 (!isa<FPMathOperator>(V) || in isReassociableOp() 142 (!isa<FPMathOperator>(V) || in isReassociableOp() 224 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 236 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 247 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg() 552 || (isa<FPMathOperator>(Op) && in LinearizeExprTree() 761 if (isa<FPMathOperator>(I)) { in RewriteExprTree() 1946 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr() 1950 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
|
D | Float2Int.cpp | 315 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 150 if (!isa<FPMathOperator>(I) || I->isFast()) in isReassociableOp() 160 if (!isa<FPMathOperator>(I) || I->isFast()) in isReassociableOp() 239 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 251 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 262 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg() 568 || (isa<FPMathOperator>(Op) && in LinearizeExprTree() 778 if (isa<FPMathOperator>(I)) { in RewriteExprTree() 1806 if (auto FPI = dyn_cast<FPMathOperator>(I)) in OptimizeMul() 1993 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr() 1997 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
|
D | Float2Int.cpp | 300 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 166 friend class FPMathOperator; 216 class FPMathOperator : public Operator {
|
D | IRBuilder.h | 1004 if (isa<FPMathOperator>(BinOp)) 1556 if (isa<FPMathOperator>(CI)) 1565 if (isa<FPMathOperator>(CI))
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 320 return InductionBinOp && !cast<FPMathOperator>(InductionBinOp)->isFast(); in hasUnsafeAlgebra() 326 if (!InductionBinOp || cast<FPMathOperator>(InductionBinOp)->isFast()) in getUnsafeAlgebraInst()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 397 TEST(InstructionsTest, FPMathOperator) { in TEST() argument 404 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST() 405 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Operator.h | 162 friend class FPMathOperator; 240 class FPMathOperator : public Operator {
|
D | IRBuilder.h | 1251 if (isa<FPMathOperator>(BinOp)) 1882 if (isa<FPMathOperator>(CI)) 1891 if (isa<FPMathOperator>(CI))
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 80 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
|
D | ValueTracking.cpp | 2706 if (auto *FPO = dyn_cast<FPMathOperator>(Op)) in CannotBeNegativeZero() 2786 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs())) in cannotBeOrderedLessThanZeroImpl() 2870 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs()) && in cannotBeOrderedLessThanZeroImpl() 2892 if (auto *FPMathOp = dyn_cast<FPMathOperator>(V)) in isKnownNeverNaN() 4821 if (isa<FPMathOperator>(CmpI)) in matchSelectPattern()
|
D | TargetTransformInfo.cpp | 1134 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionThroughput()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 81 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
|
D | CostModel.cpp | 508 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionCost()
|
D | InlineCost.cpp | 767 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 409 TEST(InstructionsTest, FPMathOperator) { in TEST() argument 416 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST() 417 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 221 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() 416 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative() 728 if (isa<FPMathOperator>(&I)) in SimplifySelectsFeedingBinaryOp() 804 if (FPInst && isa<FPMathOperator>(FPInst)) in foldOperationIntoSelectOperand() 876 if (FPInst && isa<FPMathOperator>(FPInst)) in foldOperationIntoPhiValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 424 const FPMathOperator *FPOp = cast<const FPMathOperator>(&FDiv); in visitFDiv()
|
D | AMDGPULibCalls.cpp | 489 if (auto Op = dyn_cast<FPMathOperator>(CI)) in isUnsafeMath() 659 if (const FPMathOperator *FPOp = dyn_cast<const FPMathOperator>(CI)) in fold()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 154 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() 306 if (isa<FPMathOperator>(New)) { in SimplifyAssociativeOrCommutative() 719 if (FPInst && isa<FPMathOperator>(FPInst)) in FoldOperationIntoSelectOperand()
|
D | InstCombineSelect.cpp | 1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
|
D | InstCombineVectorOps.cpp | 743 if (isa<FPMathOperator>(BO)) in buildNew()
|