Home
last modified time | relevance | path

Searched refs:FPMathOperator (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/IR/
DInstruction.cpp93 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 …]
DInstructions.cpp1940 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()
DAsmWriter.cpp1003 if (const FPMathOperator *FPO = dyn_cast<const FPMathOperator>(U)) { in WriteOptimizationInfo()
/external/llvm/unittests/IR/
DInstructionsTest.cpp393 TEST(InstructionsTest, FPMathOperator) { in TEST() argument
400 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST()
401 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
/external/llvm/include/llvm/IR/
DOperator.h167 friend class FPMathOperator;
217 class FPMathOperator : public Operator {
DIRBuilder.h920 if (isa<FPMathOperator>(BinOp))
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp241 (!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()
DFloat2Int.cpp320 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
DLoopUnrollPass.cpp362 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp148 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation()
301 if (isa<FPMathOperator>(New)) { in SimplifyAssociativeOrCommutative()
677 if (FPInst && isa<FPMathOperator>(FPInst)) in FoldOperationIntoSelectOperand()
DInstCombineVectorOps.cpp703 if (isa<FPMathOperator>(BO)) in BuildNew()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp604 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
/external/llvm/lib/Analysis/
DValueTracking.cpp2237 if (const FPMathOperator *FPO = dyn_cast<FPMathOperator>(I)) in CannotBeNegativeZero()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp742 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in GetOptimizationFlags()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3425 } else if (isa<FPMathOperator>(I)) { in ParseFunctionBody()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2631 if (isa<FPMathOperator>(V)){ in addFastMathFlag()