| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 280 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 D | IRBuilder.cpp | 860 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp() 893 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPCast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 125 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 D | InstCombineAddSub.cpp | 695 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 D | InstCombineSelect.cpp | 1760 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 D | InstructionCombining.cpp | 301 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 D | InstCombineCalls.cpp | 1413 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 D | ExpandReductions.cpp | 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| H A D | ExpandVectorPredication.cpp | 107 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 87 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
| H A D | InstructionSimplify.cpp | 5910 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 D | IVDescriptors.cpp | 335 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar() 342 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
|
| H A D | InlineCost.cpp | 1893 FI->getFastMathFlags(), DL); in visitBinaryOperator() 1927 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
|
| H A D | TargetTransformInfo.cpp | 63 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 407 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 D | Reassociate.cpp | 241 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 D | LICM.cpp | 963 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion() 969 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
|
| H A D | GVN.cpp | 1689 Cmp->getFastMathFlags().noNaNs())) { in impliesEquivalanceIfTrue() 1714 Cmp->getFastMathFlags().noNaNs()) || in impliesEquivalanceIfFalse()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 185 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 294 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 D | Instruction.h | 483 FastMathFlags getFastMathFlags() const;
|
| H A D | Operator.h | 368 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 621 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 D | SimplifyLibCalls.cpp | 1237 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 D | LoopVectorize.cpp | 2479 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()
|