Home
last modified time | relevance | path

Searched refs:setFastMathFlags (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp114 Builder.setFastMathFlags(FMF); in expandReductions()
H A DExpandVectorPredication.cpp110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
H A DComplexDeinterleavingPass.cpp1914 cast<Instruction>(I)->setFastMathFlags(*Flags); in replaceSymmetricNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp753 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
921 Builder.setFastMathFlags(DivFMF | SqrtFMF); in optimizeWithRsq()
1120 Builder.setFastMathFlags(DivFMF); in visitFDiv()
1376 Builder.setFastMathFlags(FMF); in expandDivRem32()
1701 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in visitSelectInst()
2104 Builder.setFastMathFlags(FMF); in visitMinNum()
H A DAMDGPULibCalls.cpp668 B.setFastMathFlags(FMF); in fold()
1395 B.setFastMathFlags(FMF); in fold_sincos()
H A DAMDGPUInstCombineIntrinsic.cpp501 II.setFastMathFlags(InnerFMF); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp446 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in generateInstruction()
508 State.Builder.setFastMathFlags(getFastMathFlags()); in execute()
821 Builder.setFastMathFlags(I->getFastMathFlags()); in execute()
978 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in execute()
1111 State.Builder.setFastMathFlags(getFastMathFlags()); in execute()
H A DLoopVectorize.cpp3084 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValue()
3308 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers()
9329 State.Builder.setFastMathFlags(FPBinOp->getFastMathFlags()); in execute()
9362 State.Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in execute()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp255 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
267 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
799 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
827 ExpressionChangedStart->setFastMathFlags(Flags); in RewriteExprTree()
1962 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
H A DLowerMatrixIntrinsics.cpp1458 cast<Instruction>(Result)->setFastMathFlags(FMF); in lowerDotProduct()
1494 Builder.setFastMathFlags(FMF); in emitMatrixMultiply()
2018 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator()
2064 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
H A DLICM.cpp924 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
930 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp370 NewSelI->setFastMathFlags(FMF); in foldSelectOpOp()
372 NewFNeg->setFastMathFlags(FMF); in foldSelectOpOp()
412 NewLdexp->setFastMathFlags(FMF); in foldSelectOpOp()
543 cast<Instruction>(NewSel)->setFastMathFlags(FMF); in foldSelectIntoOp()
1921 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
1940 RI->setFastMathFlags(Flags); in foldAddSubSelect()
2770 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs()
3448 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3609 Builder.setFastMathFlags(FMF); in visitSelectInst()
H A DInstCombineMulDivRem.cpp126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
564 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
1782 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
H A DInstCombineAddSub.cpp686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
2721 Builder.setFastMathFlags(FMF); in hoistFNegAboveFMulFDiv()
2768 S->setFastMathFlags(FMF); in visitFNeg()
2799 Builder.setFastMathFlags(FMF); in visitFNeg()
H A DInstructionCombining.cpp310 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
547 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
1271 Builder.setFastMathFlags(FMF); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineCalls.cpp2358 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
2543 II->setFastMathFlags(InnerFlags); // Or the inner flags. in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1775 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1849 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1888 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1917 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
2222 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
2344 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeExp2()
2376 B.setFastMathFlags(FMF); in optimizeFMinFMax()
2490 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2592 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
H A DLoopUtils.cpp1142 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h229 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
H A DInstruction.h554 void setFastMathFlags(FastMathFlags FMF);
H A DIRBuilder.h305 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() function
1281 I->setFastMathFlags(FMF); in setFPAttrs()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp484 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
486 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp432 Builder.setFastMathFlags(Call->getFastMathFlags()); in foldSqrt()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4879 I->setFastMathFlags(FMF); in parseFunctionBody()
4921 I->setFastMathFlags(FMF); in parseFunctionBody()
5175 I->setFastMathFlags(FMF); in parseFunctionBody()
5280 I->setFastMathFlags(FMF); in parseFunctionBody()
5873 I->setFastMathFlags(FMF); in parseFunctionBody()
6456 I->setFastMathFlags(FMF); in parseFunctionBody()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6465 Inst->setFastMathFlags(FMF); in parseInstruction()
6494 Inst->setFastMathFlags(FMF); in parseInstruction()
6533 Inst->setFastMathFlags(FMF); in parseInstruction()
6570 Inst->setFastMathFlags(FMF); in parseInstruction()
6591 Inst->setFastMathFlags(FMF); in parseInstruction()
7639 CI->setFastMathFlags(FMF); in parseCall()

12