Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDExpandReductions.cpp68 Builder.setFastMathFlags(FMF); in expandReductions()
HDExpandVectorPredication.cpp110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
HDComplexDeinterleavingPass.cpp1913 cast<Instruction>(I)->setFastMathFlags(*Flags); in replaceSymmetricNode()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUCodeGenPrepare.cpp755 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
923 Builder.setFastMathFlags(DivFMF | SqrtFMF); in optimizeWithRsq()
1122 Builder.setFastMathFlags(DivFMF); in visitFDiv()
1381 Builder.setFastMathFlags(FMF); in expandDivRem32()
1709 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in visitSelectInst()
2189 Builder.setFastMathFlags(FMF); in visitMinNum()
HDAMDGPULibCalls.cpp681 B.setFastMathFlags(FMF); in fold()
1232 Sqrt->setFastMathFlags(FMF); in fold_rootn()
1233 RSqrt->setFastMathFlags(FMF); in fold_rootn()
1437 B.setFastMathFlags(FMF); in fold_sincos()
HDAMDGPUInstCombineIntrinsic.cpp497 II.setFastMathFlags(InnerFMF); in instCombineIntrinsic()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDVPlanRecipes.cpp584 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in generatePerPart()
709 State.Builder.setFastMathFlags(getFastMathFlags()); in execute()
1114 Builder.setFastMathFlags(I->getFastMathFlags()); in execute()
1271 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in execute()
1403 State.Builder.setFastMathFlags(getFastMathFlags()); in execute()
1707 State.Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in execute()
1759 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in execute()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp1928 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1995 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
2007 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
2303 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
2440 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeExp2()
2471 B.setFastMathFlags(FMF); in optimizeFMinFMax()
2584 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2751 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
2891 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeSymmetricCall()
2906 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeSymmetricCall()
HDLoopUtils.cpp1272 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDReassociate.cpp256 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
269 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
704 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
732 ExpressionChangedStart->setFastMathFlags(Flags); in RewriteExprTree()
1879 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
HDLowerMatrixIntrinsics.cpp1505 cast<Instruction>(Result)->setFastMathFlags(FMF); in lowerDotProduct()
1541 Builder.setFastMathFlags(FMF); in emitMatrixMultiply()
2116 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator()
2162 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
HDLICM.cpp933 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
940 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineSelect.cpp377 NewSelI->setFastMathFlags(FMF); in foldSelectOpOp()
379 NewFNeg->setFastMathFlags(FMF); in foldSelectOpOp()
419 NewLdexp->setFastMathFlags(FMF); in foldSelectOpOp()
561 cast<Instruction>(NewSel)->setFastMathFlags(FMF); in foldSelectIntoOp()
2065 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
2084 RI->setFastMathFlags(Flags); in foldAddSubSelect()
2898 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs()
3669 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3829 Builder.setFastMathFlags(FMF); in visitSelectInst()
HDInstCombineMulDivRem.cpp126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
594 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
689 Builder.setFastMathFlags(FMF); in foldFMulReassoc()
744 Builder.setFastMathFlags(FMF); in foldFMulReassoc()
1947 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
HDInstCombineAddSub.cpp686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
2732 Builder.setFastMathFlags(FMF); in hoistFNegAboveFMulFDiv()
2779 S->setFastMathFlags(FMF); in visitFNeg()
2820 Builder.setFastMathFlags(FMF); in visitFNeg()
HDInstructionCombining.cpp328 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
565 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
1294 Builder.setFastMathFlags(FMF); in SimplifySelectsFeedingBinaryOp()
HDInstCombineAndOrXor.cpp1372 Builder.setFastMathFlags(FMF); in matchIsFiniteTest()
1413 Builder.setFastMathFlags(FMF); in foldLogicOfFCmps()
1494 Builder.setFastMathFlags(LHS->getFastMathFlags() | in foldLogicOfFCmps()
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDOperator.h261 void setFastMathFlags(FastMathFlags FMF) {
HDInstruction.h589 void setFastMathFlags(FastMathFlags FMF);
HDIRBuilder.h308 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() function
1292 I->setFastMathFlags(FMF); in setFPAttrs()
HDInstrTypes.h259 BO->setFastMathFlags(FMF);
/freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/
HDInstruction.cpp560 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
562 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
HDAggressiveInstCombine.cpp435 Builder.setFastMathFlags(Call->getFastMathFlags()); in foldSqrt()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp5045 I->setFastMathFlags(FMF); in parseFunctionBody()
5087 I->setFastMathFlags(FMF); in parseFunctionBody()
5352 I->setFastMathFlags(FMF); in parseFunctionBody()
5457 I->setFastMathFlags(FMF); in parseFunctionBody()
6050 I->setFastMathFlags(FMF); in parseFunctionBody()
6723 I->setFastMathFlags(FMF); in parseFunctionBody()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/AsmParser/
HDLLParser.cpp6888 Inst->setFastMathFlags(FMF); in parseInstruction()
6917 Inst->setFastMathFlags(FMF); in parseInstruction()
6956 Inst->setFastMathFlags(FMF); in parseInstruction()
7005 Inst->setFastMathFlags(FMF); in parseInstruction()
7026 Inst->setFastMathFlags(FMF); in parseInstruction()
8074 CI->setFastMathFlags(FMF); in parseCall()

12