Home
last modified time | relevance | path

Searched refs:getFastMathFlags (Results 1 – 19 of 19) sorted by relevance

/external/llvm/unittests/IR/
DIRBuilderTest.cpp139 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F()
148 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F()
154 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F()
161 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F()
167 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F()
168 EXPECT_TRUE(Builder.getFastMathFlags().UnsafeAlgebra); in TEST_F()
185 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F()
186 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
203 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F()
204 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp545 SimplifyFMulInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFMul()
639 Builder->SetFastMathFlags(Log2->getFastMathFlags()); in visitFMul()
655 Builder->SetFastMathFlags(I.getFastMathFlags()); in visitFMul()
696 Builder->SetFastMathFlags(I.getFastMathFlags()); in visitFMul()
1219 if (Value *V = SimplifyFDivInst(Op0, Op1, I.getFastMathFlags(), in visitFDiv()
1260 Res->setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1295 R->setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1312 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
1313 Flags &= cast<Instruction>(Op0)->getFastMathFlags(); in visitFDiv()
1324 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
[all …]
DInstCombineSelect.cpp933 Builder->SetFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
976 Builder->SetFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1033 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
1034 Flags &= SubOp->getFastMathFlags(); in visitSelectInst()
1053 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
1054 Flags &= SubOp->getFastMathFlags(); in visitSelectInst()
1084 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
DInstCombineAddSub.cpp491 if (I0) Flags &= I->getFastMathFlags(); in performFactorization()
492 if (I1) Flags &= I->getFastMathFlags(); in performFactorization()
798 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1323 SimplifyFAddInst(LHS, RHS, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFAdd()
1698 SimplifyFSubInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFSub()
1702 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
DInstructionCombining.cpp164 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
311 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
312 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
313 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
DInstCombineCompares.cpp4091 I.getFastMathFlags(), DL, TLI, DT, AC, &I)) in visitFCmpInst()
/external/llvm/lib/IR/
DInstruction.cpp184 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
186 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
191 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
DInstructions.cpp2210 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
2223 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
2224 FM &= FP->getFastMathFlags(); in andIRFlags()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp325 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
337 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
348 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg()
841 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
863 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
2012 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
2016 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
DLoopUnrollPass.cpp386 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
DGVN.cpp1833 CmpI->getFastMathFlags().noNaNs())) { in processAssumeIntrinsic()
/external/llvm/include/llvm/IR/
DInstruction.h286 FastMathFlags getFastMathFlags() const;
DOperator.h298 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
DIRBuilder.h171 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3954 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
3964 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
3974 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
3990 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
4002 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
4040 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
DInlineCost.cpp647 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
DValueTracking.cpp4060 FMF = CmpI->getFastMathFlags(); in matchSelectPattern()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1433 B.SetFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2319 FMF = FPOp->getFastMathFlags(); in visitBinary()