| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 533 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 569 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 570 EXPECT_TRUE(Builder.getFastMathFlags().all()); in TEST_F() 578 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 585 EXPECT_TRUE(Builder.getFastMathFlags().all()); in TEST_F() 604 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 622 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 641 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 686 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 691 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 289 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 291 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 295 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 315 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 336 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 337 FM &= FP->getFastMathFlags(); in andIRFlags()
|
| H A D | IRBuilder.cpp | 906 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp() 939 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPCast()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 107 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| H A D | ExpandVectorPredication.cpp | 109 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations() 298 FastMathFlags Flags = VPI.getFastMathFlags(); in getNeutralReductionElement()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 90 simplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
| H A D | InstructionSimplify.cpp | 6168 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6174 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6180 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6186 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6192 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6310 Result = simplifyFNegInst(NewOps[0], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6313 Result = simplifyFAddInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6321 Result = simplifyFSubInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6329 Result = simplifyFMulInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6341 Result = simplifyFDivInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() [all …]
|
| H A D | IVDescriptors.cpp | 387 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar() 394 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 125 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 135 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 452 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps() 464 I.getFastMathFlags(), in visitFMul() 1335 I.getFastMathFlags(), in visitFDiv() 1403 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1623 I.getFastMathFlags(), in visitFRem()
|
| H A D | InstCombineSelect.cpp | 322 FastMathFlags FMF = TI->getFastMathFlags(); in foldSelectOpOp() 323 FMF &= FI->getFastMathFlags(); in foldSelectOpOp() 324 FMF |= SI.getFastMathFlags(); in foldSelectOpOp() 460 FMF = SI.getFastMathFlags(); in foldSelectIntoOp() 1802 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1803 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1821 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1822 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 2561 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs() 2878 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst() [all …]
|
| H A D | InstCombineAddSub.cpp | 687 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc() 1533 I.getFastMathFlags(), in visitFAdd() 2267 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant() 2268 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant() 2300 if (Value *V = simplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg() 2352 I.getFastMathFlags(), in visitFSub()
|
| H A D | InstructionCombining.cpp | 318 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() 540 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative() 541 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 542 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 871 FMF = I.getFastMathFlags(); in SimplifySelectsFeedingBinaryOp()
|
| H A D | InstCombineCalls.cpp | 1836 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst() 1846 II->getFastMathFlags(), in visitCallInst() 1877 II->getFastMathFlags(), in visitCallInst() 1889 II->getFastMathFlags().noSignedZeros())) in visitCallInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 408 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getFastMathFlags() function in __anon8ba1aee70111::LowerMatrixIntrinsics 412 FMF = Inst->getFastMathFlags(); in getFastMathFlags() 1451 getFastMathFlags(MatMul)); in createTiledLoops() 1511 getFastMathFlags(MatMul)); in emitSIMDTiling() 1579 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused() 1655 getFastMathFlags(MatMul)); in LowerMultiply() 1740 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator() 1786 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
|
| H A D | Reassociate.cpp | 248 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() 1937 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
|
| H A D | LICM.cpp | 920 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion() 926 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 199 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 570 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in execute() 831 O << getUnderlyingInstr()->getFastMathFlags(); in print() 1134 RdxDesc.getFastMathFlags()); in execute()
|
| H A D | LoopVectorize.cpp | 3134 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValues() 3333 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers() 3482 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost() 3894 Sel->setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction() 3955 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction() 6521 RdxDesc.getOpcode(), VectorTy, RdxDesc.getFastMathFlags(), CostKind); in getReductionPatternCost() 9146 FMulRecipe->setFastMathFlags(R->getFastMathFlags()); in adjustRecipesForReductions() 9248 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in execute() 9438 IndDesc.getInductionBinOp()->getFastMathFlags()); in execute() 9502 State.Builder.setFastMathFlags(RdxDesc->getFastMathFlags()); in execute() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 277 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function 279 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function 1426 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1453 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1480 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1532 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1601 FastMathFlags FMF = FMFSource->getFastMathFlags();
|
| H A D | Operator.h | 285 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
| H A D | Instruction.h | 467 FastMathFlags getFastMathFlags() const;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 641 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect() 777 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv() 959 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24Impl()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1552 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall() 1626 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP() 1665 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs() 1694 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections() 1994 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow() 2139 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax() 2353 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 460 Builder.setFastMathFlags(Call->getFastMathFlags()); in foldSqrt()
|