/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-project/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 472 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 482 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 508 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 509 EXPECT_TRUE(Builder.getFastMathFlags().all()); in TEST_F() 517 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 524 EXPECT_TRUE(Builder.getFastMathFlags().all()); in TEST_F() 543 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 544 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F() 561 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 562 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F() [all …]
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 207 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 209 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 214 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 234 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 251 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 252 FM &= FP->getFastMathFlags(); in andIRFlags()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instruction.cpp | 234 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 236 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 240 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 260 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 281 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 282 FM &= FP->getFastMathFlags(); in andIRFlags()
|
/external/llvm-project/llvm/lib/IR/ |
D | Instruction.cpp | 258 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 260 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 264 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 284 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 305 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 306 FM &= FP->getFastMathFlags(); in andIRFlags()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 548 SimplifyFMulInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFMul() 653 Builder->setFastMathFlags(Log2->getFastMathFlags()); in visitFMul() 669 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul() 710 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul() 1249 if (Value *V = SimplifyFDivInst(Op0, Op1, I.getFastMathFlags(), in visitFDiv() 1290 Res->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1325 R->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1342 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() 1343 Flags &= cast<Instruction>(Op0)->getFastMathFlags(); in visitFDiv() 1354 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() [all …]
|
D | InstCombineSelect.cpp | 882 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 883 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 901 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 902 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1027 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst() 1070 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst() 1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
|
D | InstCombineAddSub.cpp | 474 if (I0) Flags &= I->getFastMathFlags(); in performFactorization() 475 if (I1) Flags &= I->getFastMathFlags(); in performFactorization() 780 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc() 1303 SimplifyFAddInst(LHS, RHS, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFAdd() 1678 SimplifyFSubInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFSub() 1682 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 190 return !II->getFastMathFlags().allowReassoc(); in shouldExpandReduction() 195 return !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 178 if (!II->getFastMathFlags().allowReassoc()) in shouldExpandReduction() 188 !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_helper.cpp | 125 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_enable_signed_zeros() 139 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_disable_signed_zeros()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ExpandReductions.cpp | 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ExpandReductions.cpp | 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 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() 740 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 762 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree() 1946 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr() 1950 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 125 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 135 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 403 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps() 415 I.getFastMathFlags(), in visitFMul() 1265 I.getFastMathFlags(), in visitFDiv() 1330 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1531 I.getFastMathFlags(), in visitFRem()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 83 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 81 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 82 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | TargetTransformInfo.cpp | 64 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 72 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 87 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes() 102 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 154 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 164 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 395 I.getFastMathFlags(), in visitFMul() 1204 I.getFastMathFlags(), in visitFDiv() 1266 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1484 I.getFastMathFlags(), in visitFRem()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | IVDescriptors.h | 203 FastMathFlags getFastMathFlags() { return FMF; } in getFastMathFlags() function
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | IVDescriptors.h | 195 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 240 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 252 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 263 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg() 764 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 786 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree() 1823 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 310 FastMathFlags getFastMathFlags() const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 335 FastMathFlags getFastMathFlags() const;
|