Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/llvm/unittests/IR/
H A 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 …]
/aosp_15_r20/external/llvm/lib/IR/
H A DInstruction.cpp207 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()
/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp548 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 …]
H A DInstCombineSelect.cpp882 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()
H A DInstCombineAddSub.cpp474 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstruction.cpp234 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
H A DInstruction.cpp339 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
341 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
345 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
365 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
386 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
387 FM &= FP->getFastMathFlags(); in andIRFlags()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h190 return !II->getFastMathFlags().allowReassoc(); in shouldExpandReduction()
195 return !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h178 if (!II->getFastMathFlags().allowReassoc()) in shouldExpandReduction()
188 !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
/aosp_15_r20/external/mesa3d/src/amd/llvm/
H A Dac_llvm_helper.cpp141 FastMathFlags flags = b->getFastMathFlags(); in ac_enable_signed_zeros()
155 FastMathFlags flags = b->getFastMathFlags(); in ac_disable_signed_zeros()
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp224 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1645 I.getFastMathFlags(), in visitFAdd()
2424 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant()
2425 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant()
2458 if (Value *V = simplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg()
2488 FastMathFlags FMF = I.getFastMathFlags(); in visitFNeg()
2489 FMF |= OldSel->getFastMathFlags(); in visitFNeg()
2517 FastMathFlags FMF = I.getFastMathFlags(); in visitFNeg()
2518 FMF &= cast<FPMathOperator>(OneUse)->getFastMathFlags(); in visitFNeg()
2533 I.getFastMathFlags(), in visitFSub()
H A DInstCombineSelect.cpp363 FastMathFlags FMF = TI->getFastMathFlags(); in foldSelectOpOp()
364 FMF &= FI->getFastMathFlags(); in foldSelectOpOp()
365 FMF |= SI.getFastMathFlags(); in foldSelectOpOp()
488 FMF = SI.getFastMathFlags(); in foldSelectIntoOp()
1860 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1861 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1879 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1880 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
2633 FastMathFlags FMF = cast<FPMathOperator>(TrueVal)->getFastMathFlags(); in foldSelectWithFCmpToFabs()
2671 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs()
[all …]
H A DInstCombineMulDivRem.cpp126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
511 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
523 I.getFastMathFlags(), in visitFMul()
1568 I.getFastMathFlags(), in visitFDiv()
1636 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1866 I.getFastMathFlags(), in visitFRem()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp154 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp449 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getFastMathFlags() function in __anoned024af70111::LowerMatrixIntrinsics
453 FMF = Inst->getFastMathFlags(); in getFastMathFlags()
1575 getFastMathFlags(MatMul)); in createTiledLoops()
1635 getFastMathFlags(MatMul)); in emitSIMDTiling()
1703 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused()
1779 getFastMathFlags(MatMul)); in LowerMultiply()
1864 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator()
1910 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
H A DReassociate.cpp248 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
260 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
782 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
804 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
1925 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp240 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/IR/
DIRBuilder.h294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1547 FastMathFlags FMF = FMFSource->getFastMathFlags();
1574 FastMathFlags FMF = FMFSource->getFastMathFlags();
1601 FastMathFlags FMF = FMFSource->getFastMathFlags();
1628 FastMathFlags FMF = FMFSource->getFastMathFlags();
1654 FastMathFlags FMF = FMFSource->getFastMathFlags();
1741 FastMathFlags FMF = FMFSource->getFastMathFlags();
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
H A DIRBuilder.h286 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
288 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1468 FastMathFlags FMF = FMFSource->getFastMathFlags();
1495 FastMathFlags FMF = FMFSource->getFastMathFlags();
1522 FastMathFlags FMF = FMFSource->getFastMathFlags();
1549 FastMathFlags FMF = FMFSource->getFastMathFlags();
1575 FastMathFlags FMF = FMFSource->getFastMathFlags();
1657 FastMathFlags FMF = FMFSource->getFastMathFlags();
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/IR/
DIRBuilder.h294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1547 FastMathFlags FMF = FMFSource->getFastMathFlags();
1574 FastMathFlags FMF = FMFSource->getFastMathFlags();
1601 FastMathFlags FMF = FMFSource->getFastMathFlags();
1628 FastMathFlags FMF = FMFSource->getFastMathFlags();
1654 FastMathFlags FMF = FMFSource->getFastMathFlags();
1741 FastMathFlags FMF = FMFSource->getFastMathFlags();
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/IR/
DIRBuilder.h300 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
302 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1553 FastMathFlags FMF = FMFSource->getFastMathFlags();
1580 FastMathFlags FMF = FMFSource->getFastMathFlags();
1607 FastMathFlags FMF = FMFSource->getFastMathFlags();
1634 FastMathFlags FMF = FMFSource->getFastMathFlags();
1660 FastMathFlags FMF = FMFSource->getFastMathFlags();
1742 FastMathFlags FMF = FMFSource->getFastMathFlags();
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/IR/
DIRBuilder.h294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1547 FastMathFlags FMF = FMFSource->getFastMathFlags();
1574 FastMathFlags FMF = FMFSource->getFastMathFlags();
1601 FastMathFlags FMF = FMFSource->getFastMathFlags();
1628 FastMathFlags FMF = FMFSource->getFastMathFlags();
1654 FastMathFlags FMF = FMFSource->getFastMathFlags();
1741 FastMathFlags FMF = FMFSource->getFastMathFlags();
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DIRBuilder.h216 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();
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
301 FastMathFlags Flags = VPI.getFastMathFlags(); in getNeutralReductionElement()

12345