/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 139 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/ |
D | InstCombineMulDivRem.cpp | 545 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 …]
|
D | InstCombineSelect.cpp | 933 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()
|
D | InstCombineAddSub.cpp | 491 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()
|
D | InstructionCombining.cpp | 164 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()
|
D | InstCombineCompares.cpp | 4091 I.getFastMathFlags(), DL, TLI, DT, AC, &I)) in visitFCmpInst()
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 184 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 186 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 191 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
|
D | Instructions.cpp | 2210 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 2223 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 2224 FM &= FP->getFastMathFlags(); in andIRFlags()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 325 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()
|
D | LoopUnrollPass.cpp | 386 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | GVN.cpp | 1833 CmpI->getFastMathFlags().noNaNs())) { in processAssumeIntrinsic()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 286 FastMathFlags getFastMathFlags() const;
|
D | Operator.h | 298 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
D | IRBuilder.h | 171 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3954 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()
|
D | InlineCost.cpp | 647 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | ValueTracking.cpp | 4060 FMF = CmpI->getFastMathFlags(); in matchSelectPattern()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1433 B.SetFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2319 FMF = FPOp->getFastMathFlags(); in visitBinary()
|