Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp280 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
282 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
286 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
306 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
327 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
328 FM &= FP->getFastMathFlags(); in andIRFlags()
H A DIRBuilder.cpp860 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp()
893 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp125 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
135 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
418 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
430 I.getFastMathFlags(), in visitFMul()
1330 I.getFastMathFlags(), in visitFDiv()
1395 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1600 I.getFastMathFlags(), in visitFRem()
H A DInstCombineAddSub.cpp695 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1523 I.getFastMathFlags(), in visitFAdd()
2174 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant()
2175 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant()
2207 if (Value *V = SimplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg()
2258 I.getFastMathFlags(), in visitFSub()
H A DInstCombineSelect.cpp1760 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1761 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1779 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1780 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
2424 CopySign->setFastMathFlags(Sel.getFastMathFlags()); in foldSelectToCopysign()
2854 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3002 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
H A DInstructionCombining.cpp301 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
521 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
522 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
523 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
852 FMF = I.getFastMathFlags(); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineCalls.cpp1413 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
1423 II->getFastMathFlags(), in visitCallInst()
1454 II->getFastMathFlags(), in visitCallInst()
1466 II->getFastMathFlags().noSignedZeros())) in visitCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
H A DExpandVectorPredication.cpp107 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp87 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
H A DInstructionSimplify.cpp5910 FPI->getFastMathFlags(), Q, in simplifyIntrinsic()
5918 FPI->getFastMathFlags(), Q, in simplifyIntrinsic()
5926 FPI->getFastMathFlags(), Q, in simplifyIntrinsic()
5934 FPI->getFastMathFlags(), Q, in simplifyIntrinsic()
5942 FPI->getFastMathFlags(), Q, in simplifyIntrinsic()
6099 Result = SimplifyFNegInst(NewOps[0], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands()
6102 Result = SimplifyFAddInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands()
6110 Result = SimplifyFSubInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands()
6118 Result = SimplifyFMulInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands()
6130 Result = SimplifyFDivInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands()
[all …]
H A DIVDescriptors.cpp335 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
342 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
H A DInlineCost.cpp1893 FI->getFastMathFlags(), DL); in visitBinaryOperator()
1927 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
H A DTargetTransformInfo.cpp63 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp407 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getFastMathFlags() function in __anonf095cceb0111::LowerMatrixIntrinsics
411 FMF = Inst->getFastMathFlags(); in getFastMathFlags()
1443 getFastMathFlags(MatMul)); in createTiledLoops()
1503 getFastMathFlags(MatMul)); in emitSIMDTiling()
1571 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused()
1647 getFastMathFlags(MatMul)); in LowerMultiply()
1732 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator()
1778 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
H A DReassociate.cpp241 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
253 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
765 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
787 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
1921 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
H A DLICM.cpp963 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
969 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
H A DGVN.cpp1689 Cmp->getFastMathFlags().noNaNs())) { in impliesEquivalanceIfTrue()
1714 Cmp->getFastMathFlags().noNaNs()) || in impliesEquivalanceIfFalse()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h185 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1444 FMFSource->getFastMathFlags());
1469 FMFSource->getFastMathFlags());
1494 FMFSource->getFastMathFlags());
1519 FMFSource->getFastMathFlags());
1544 FMFSource->getFastMathFlags());
1609 FMFSource->getFastMathFlags()),
H A DInstruction.h483 FastMathFlags getFastMathFlags() const;
H A DOperator.h368 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp621 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
757 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
939 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24Impl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1237 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1310 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1346 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1374 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1685 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1839 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax()
2050 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2479 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in widenIntOrFpInduction()
3557 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValues()
3796 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers()
3941 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
4418 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction()
4925 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in widenInstruction()
7211 RdxDesc.getOpcode(), VectorTy, RdxDesc.getFastMathFlags(), CostKind); in getReductionPatternCost()
9662 Kind, VecTy->getElementType(), RdxDesc->getFastMathFlags()); in execute()

12