Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp259 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
261 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
265 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
285 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
306 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
307 FM &= FP->getFastMathFlags(); in andIRFlags()
H A DIRBuilder.cpp820 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp()
853 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPCast()
/netbsd-src/external/apache2/llvm/dist/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()
1321 I.getFastMathFlags(), in visitFDiv()
1386 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1591 I.getFastMathFlags(), in visitFRem()
H A DInstCombineAddSub.cpp695 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1523 I.getFastMathFlags(), in visitFAdd()
2173 if (Value *V = SimplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg()
2195 Builder.setFastMathFlags(I.getFastMathFlags()); in visitFNeg()
2202 Builder.setFastMathFlags(I.getFastMathFlags()); in visitFNeg()
2214 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()
2834 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
2959 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
H A DInstructionCombining.cpp301 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
502 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
503 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
504 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
833 FMF = I.getFastMathFlags(); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineCalls.cpp1372 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
1382 II->getFastMathFlags(), in visitCallInst()
1413 II->getFastMathFlags(), in visitCallInst()
1425 II->getFastMathFlags().noSignedZeros())) in visitCallInst()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp87 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
H A DIVDescriptors.cpp335 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
342 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
H A DInstructionSimplify.cpp5829 Result = SimplifyFNegInst(I->getOperand(0), I->getFastMathFlags(), Q); in SimplifyInstruction()
5833 I->getFastMathFlags(), Q); in SimplifyInstruction()
5843 I->getFastMathFlags(), Q); in SimplifyInstruction()
5853 I->getFastMathFlags(), Q); in SimplifyInstruction()
5866 I->getFastMathFlags(), Q); in SimplifyInstruction()
5876 I->getFastMathFlags(), Q); in SimplifyInstruction()
5908 I->getOperand(1), I->getFastMathFlags(), Q); in SimplifyInstruction()
H A DInlineCost.cpp1675 FI->getFastMathFlags(), DL); in visitBinaryOperator()
1709 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
H A DTargetTransformInfo.cpp63 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DIVDescriptors.h184 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function
1426 FMFSource->getFastMathFlags());
1451 FMFSource->getFastMathFlags());
1476 FMFSource->getFastMathFlags());
1501 FMFSource->getFastMathFlags());
1526 FMFSource->getFastMathFlags());
1591 FMFSource->getFastMathFlags()),
H A DInstruction.h469 FastMathFlags getFastMathFlags() const;
H A DOperator.h367 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
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.cpp935 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
941 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
H A DGVN.cpp1690 Cmp->getFastMathFlags().noNaNs())) { in impliesEquivalanceIfTrue()
1715 Cmp->getFastMathFlags().noNaNs()) || in impliesEquivalanceIfFalse()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp619 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
755 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
912 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24Impl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1236 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1309 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1345 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1373 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1682 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1836 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax()
2047 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2460 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in widenIntOrFpInduction()
3515 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValues()
3750 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers()
3895 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
4451 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction()
4767 RK, VecTy->getScalarType(), RdxDesc->getFastMathFlags()); in widenPHIInstruction()
5003 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in widenInstruction()
9466 Kind, VecTy->getElementType(), RdxDesc->getFastMathFlags()); in execute()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp890 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()

12