Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp68 Builder.setFastMathFlags(FMF); in expandReductions()
H A DExpandVectorPredication.cpp110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
H A DComplexDeinterleavingPass.cpp1913 cast<Instruction>(I)->setFastMathFlags(*Flags); in replaceSymmetricNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.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()
H A DAMDGPULibCalls.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()
H A DAMDGPUInstCombineIntrinsic.cpp497 II.setFastMathFlags(InnerFMF); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.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()
H A DLoopUtils.cpp1272 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.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()
H A DLowerMatrixIntrinsics.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()
H A DLICM.cpp933 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
940 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.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()
H A DInstCombineMulDivRem.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()
H A DInstCombineAddSub.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()
H A DInstructionCombining.cpp328 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
565 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
1294 Builder.setFastMathFlags(FMF); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineAndOrXor.cpp1372 Builder.setFastMathFlags(FMF); in matchIsFiniteTest()
1413 Builder.setFastMathFlags(FMF); in foldLogicOfFCmps()
1494 Builder.setFastMathFlags(LHS->getFastMathFlags() | in foldLogicOfFCmps()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h261 void setFastMathFlags(FastMathFlags FMF) {
H A DInstruction.h589 void setFastMathFlags(FastMathFlags FMF);
H A DIRBuilder.h308 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() function
1292 I->setFastMathFlags(FMF); in setFPAttrs()
H A DInstrTypes.h259 BO->setFastMathFlags(FMF);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp560 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
562 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp435 Builder.setFastMathFlags(Call->getFastMathFlags()); in foldSqrt()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.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/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.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