Searched refs:FPMathOperator (Results 1 – 16 of 16) sorted by relevance
93 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasUnsafeAlgebra()94 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B); in setHasUnsafeAlgebra()100 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoNaNs()101 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs()107 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoInfs()108 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs()115 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasNoSignedZeros()116 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros()123 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op"); in setHasAllowReciprocal()124 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); in setHasAllowReciprocal()[all …]
1940 if (auto *FP = dyn_cast<FPMathOperator>(V)) in copyIRFlags()1953 if (auto *FP = dyn_cast<FPMathOperator>(V)) { in andIRFlags()1968 float FPMathOperator::getFPAccuracy() const { in getFPAccuracy()
1003 if (const FPMathOperator *FPO = dyn_cast<const FPMathOperator>(U)) { in WriteOptimizationInfo()
393 TEST(InstructionsTest, FPMathOperator) { in TEST() argument400 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST()401 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
167 friend class FPMathOperator;217 class FPMathOperator : public Operator {
920 if (isa<FPMathOperator>(BinOp))
241 (!isa<FPMathOperator>(V) || in isReassociableOp()252 (!isa<FPMathOperator>(V) || in isReassociableOp()357 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()369 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()380 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg()686 || (isa<FPMathOperator>(Op) && in LinearizeExprTree()895 if (isa<FPMathOperator>(I)) { in RewriteExprTree()2044 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()2048 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
320 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
362 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
148 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation()301 if (isa<FPMathOperator>(New)) { in SimplifyAssociativeOrCommutative()677 if (FPInst && isa<FPMathOperator>(FPInst)) in FoldOperationIntoSelectOperand()
703 if (isa<FPMathOperator>(BO)) in BuildNew()
604 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
2237 if (const FPMathOperator *FPO = dyn_cast<FPMathOperator>(I)) in CannotBeNegativeZero()
742 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in GetOptimizationFlags()
3425 } else if (isa<FPMathOperator>(I)) { in ParseFunctionBody()
2631 if (isa<FPMathOperator>(V)){ in addFastMathFlag()