/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/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/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/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/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ExpandReductions.cpp | 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
/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()
|
D | InstCombineSelect.cpp | 1719 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1720 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1738 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1739 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 2454 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst() 2577 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 83 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | CostModel.cpp | 509 FMF = FPMO->getFastMathFlags(); in getInstructionCost()
|
/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | IVDescriptors.h | 203 FastMathFlags getFastMathFlags() { 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;
|
D | Operator.h | 298 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 335 FastMathFlags getFastMathFlags() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 216 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function 1447 FMFSource->getFastMathFlags()); 1472 FMFSource->getFastMathFlags()); 1497 FMFSource->getFastMathFlags()); 1522 FMFSource->getFastMathFlags()); 1547 FMFSource->getFastMathFlags()); 1571 UseFMF = FMFSource->getFastMathFlags(); 1613 FMFSource->getFastMathFlags()), 2209 UseFMF = FMFSource->getFastMathFlags();
|
D | Instruction.h | 430 FastMathFlags getFastMathFlags() const;
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.cc | 97 if (b->getFastMathFlags().noNaNs() || enable_fast_min_max) { in EmitFloatMax() 111 if (b->getFastMathFlags().noNaNs() || enable_fast_min_max) { in EmitFloatMin()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 903 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeUnaryDoubleFP() 937 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeBinaryDoubleFP() 1027 B.setFastMathFlags(CI->getFastMathFlags()); in optimizePow() 1050 B.setFastMathFlags(CI->getFastMathFlags()); in optimizePow() 1297 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|