| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 138 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 147 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 153 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 160 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 166 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 167 EXPECT_TRUE(Builder.getFastMathFlags().UnsafeAlgebra); in TEST_F() 184 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 185 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F() 196 EXPECT_FALSE(FDiv->getFastMathFlags().any()); in TEST_F() 257 EXPECT_FALSE(Builder.getFastMathFlags().allowReciprocal()); in TEST_F() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 534 SimplifyFMulInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFMul() 628 Builder->SetFastMathFlags(Log2->getFastMathFlags()); in visitFMul() 644 Builder->SetFastMathFlags(I.getFastMathFlags()); in visitFMul() 685 Builder->SetFastMathFlags(I.getFastMathFlags()); in visitFMul() 1249 Res->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1284 R->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1301 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() 1302 Flags &= cast<Instruction>(Op0)->getFastMathFlags(); in visitFDiv() 1313 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() 1314 Flags &= cast<Instruction>(Op1)->getFastMathFlags(); in visitFDiv() [all …]
|
| H A D | InstCombineAddSub.cpp | 490 if (I0) Flags &= I->getFastMathFlags(); in performFactorization() 491 if (I1) Flags &= I->getFastMathFlags(); in performFactorization() 798 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc() 1332 SimplifyFAddInst(LHS, RHS, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFAdd() 1699 SimplifyFSubInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFSub() 1703 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
|
| H A D | InstCombineSelect.cpp | 1054 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst() 1055 Flags &= SubOp->getFastMathFlags(); in visitSelectInst() 1074 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst() 1075 Flags &= SubOp->getFastMathFlags(); in visitSelectInst()
|
| H A D | InstructionCombining.cpp | 181 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() 329 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative() 330 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 331 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Instruction.cpp | 173 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 175 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 180 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
|
| H A D | Instructions.cpp | 2044 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 2057 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 2058 FM &= FP->getFastMathFlags(); in andIRFlags()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 359 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 371 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 382 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg() 876 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 898 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree() 2043 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr() 2047 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 262 FastMathFlags getFastMathFlags() const;
|
| H A D | Operator.h | 299 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
| H A D | IRBuilder.h | 180 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 3576 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 3586 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 3596 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1194 B.SetFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|