Searched refs:FPMathOperator (Results 1 – 22 of 22) sorted by relevance
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 …]
1096 if (const FPMathOperator *FPO = dyn_cast<const FPMathOperator>(U)) { in WriteOptimizationInfo()
2312 float FPMathOperator::getFPAccuracy() const { in getFPAccuracy()
166 friend class FPMathOperator;216 class FPMathOperator : public Operator {
1004 if (isa<FPMathOperator>(BinOp))1556 if (isa<FPMathOperator>(CI))1565 if (isa<FPMathOperator>(CI))
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()
315 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
397 TEST(InstructionsTest, FPMathOperator) { in TEST() argument404 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST()405 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
81 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
508 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionCost()
767 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
2426 if (const FPMathOperator *FPO = dyn_cast<FPMathOperator>(I)) in CannotBeNegativeZero()3913 if (isa<FPMathOperator>(CmpI)) in matchSelectPattern()
154 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation()306 if (isa<FPMathOperator>(New)) { in SimplifyAssociativeOrCommutative()719 if (FPInst && isa<FPMathOperator>(FPInst)) in FoldOperationIntoSelectOperand()
743 if (isa<FPMathOperator>(BO)) in buildNew()
1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
2485 if (const FPMathOperator *FPOp = dyn_cast<const FPMathOperator>(Inst)) in isVectorReductionOp()2531 if (const FPMathOperator *FPOp = dyn_cast<const FPMathOperator>(Inst)) in isVectorReductionOp()2608 if (const FPMathOperator *FPOp = dyn_cast<const FPMathOperator>(&I)) in visitBinary()
3241 if (isa<FPMathOperator>(V)) { in addFastMathFlag()3336 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost()4282 if (isa<FPMathOperator>(V)) in vectorizeBlockInLoop()
1128 if (auto *FPMOCI = dyn_cast<FPMathOperator>(CI)) in areInstsCompatible()1140 if (auto *FPMOCJ = dyn_cast<FPMathOperator>(CJ)) in areInstsCompatible()
1711 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost()
1966 else if (isa<FPMathOperator>(CI) && CI->hasUnsafeAlgebra()) in optimizeCall()
4545 } else if (isa<FPMathOperator>(I)) { in parseFunctionBody()5550 if (!isa<FPMathOperator>(I)) in parseFunctionBody()
1289 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags()