Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInstruction.cpp127 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 …]
DAsmWriter.cpp1096 if (const FPMathOperator *FPO = dyn_cast<const FPMathOperator>(U)) { in WriteOptimizationInfo()
DInstructions.cpp2312 float FPMathOperator::getFPAccuracy() const { in getFPAccuracy()
/external/llvm/include/llvm/IR/
DOperator.h166 friend class FPMathOperator;
216 class FPMathOperator : public Operator {
DIRBuilder.h1004 if (isa<FPMathOperator>(BinOp))
1556 if (isa<FPMathOperator>(CI))
1565 if (isa<FPMathOperator>(CI))
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp131 (!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()
DFloat2Int.cpp315 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) && in walkForwards()
/external/llvm/unittests/IR/
DInstructionsTest.cpp397 TEST(InstructionsTest, FPMathOperator) { in TEST() argument
404 EXPECT_TRUE(isa<FPMathOperator>(V1)); in TEST()
405 FPMathOperator *O1 = cast<FPMathOperator>(V1); in TEST()
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp81 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
DCostModel.cpp508 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getInstructionCost()
DInlineCost.cpp767 if (auto FI = dyn_cast<FPMathOperator>(&I)) in visitBinaryOperator()
DValueTracking.cpp2426 if (const FPMathOperator *FPO = dyn_cast<FPMathOperator>(I)) in CannotBeNegativeZero()
3913 if (isa<FPMathOperator>(CmpI)) in matchSelectPattern()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp154 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation()
306 if (isa<FPMathOperator>(New)) { in SimplifyAssociativeOrCommutative()
719 if (FPInst && isa<FPMathOperator>(FPInst)) in FoldOperationIntoSelectOperand()
DInstCombineVectorOps.cpp743 if (isa<FPMathOperator>(BO)) in buildNew()
DInstCombineSelect.cpp1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2485 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()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3241 if (isa<FPMathOperator>(V)) { in addFastMathFlag()
3336 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost()
4282 if (isa<FPMathOperator>(V)) in vectorizeBlockInLoop()
DBBVectorize.cpp1128 if (auto *FPMOCI = dyn_cast<FPMathOperator>(CI)) in areInstsCompatible()
1140 if (auto *FPMOCJ = dyn_cast<FPMathOperator>(CJ)) in areInstsCompatible()
DSLPVectorizer.cpp1711 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getEntryCost()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1966 else if (isa<FPMathOperator>(CI) && CI->hasUnsafeAlgebra()) in optimizeCall()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4545 } else if (isa<FPMathOperator>(I)) { in parseFunctionBody()
5550 if (!isa<FPMathOperator>(I)) in parseFunctionBody()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1289 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags()