Home
last modified time | relevance | path

Searched refs:getFastMathFlags (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp610 FastMathFlags Instruction::getFastMathFlags() const { in getOpcodeName()
612 return cast<FPMathOperator>(this)->getFastMathFlags(); in getOpcodeName()
616 copyFastMathFlags(I->getFastMathFlags()); in getOpcodeName()
647 copyFastMathFlags(FP->getFastMathFlags()); in getOpcodeName()
684 FastMathFlags FM = getFastMathFlags(); in getOpcodeName()
685 FM &= FP->getFastMathFlags(); in getOpcodeName()
534 FastMathFlags Instruction::getFastMathFlags() const { getFastMathFlags() function in Instruction
H A DIRBuilder.cpp980 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp()
997 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPUnroundedBinOp()
1030 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPCast()
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp678 (!Real->getFastMathFlags().allowContract() || in identifyPartialMul()
679 !Imag->getFastMathFlags().allowContract())) { in identifyPartialMul()
878 Real->getFastMathFlags() != Imag->getFastMathFlags()) in identifySymmetricOperation()
885 Node->Flags = Real->getFastMathFlags(); in identifySymmetricOperation()
969 if (Real->getFastMathFlags() != Imag->getFastMathFlags()) { in identifyReassocNodes()
975 Flags = Real->getFastMathFlags(); in identifyReassocNodes()
1059 if (Flags && I->getFastMathFlags() != *Flags) { in identifyReassocNodes()
H A DExpandReductions.cpp59 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in getRK()
H A DExpandVectorPredication.cpp110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
398 FastMathFlags Flags = VPI.getFastMathFlags(); in getNeutralReductionElement()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp316 FastMathFlags VPRecipeWithIRFlags::getFastMathFlags() const { in generateInstruction()
584 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in execute()
709 State.Builder.setFastMathFlags(getFastMathFlags()); in FastMathFlagsTy()
1028 getFastMathFlags().print(O); in execute()
1114 Builder.setFastMathFlags(I->getFastMathFlags()); in execute()
1271 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in execute()
1403 State.Builder.setFastMathFlags(getFastMathFlags()); in print()
1707 State.Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in print()
1715 RdxDesc.getFastMathFlags());
1759 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in execute()
242 FastMathFlags VPRecipeWithIRFlags::getFastMathFlags() const { getFastMathFlags() function in VPRecipeWithIRFlags
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp371 FastMathFlags FMF = TI->getFastMathFlags(); in foldSelectOpOp()
372 FMF &= FI->getFastMathFlags(); in foldSelectOpOp()
373 FMF |= SI.getFastMathFlags(); in foldSelectOpOp()
410 FastMathFlags FMF = cast<FPMathOperator>(TII)->getFastMathFlags(); in foldSelectOpOp()
411 FMF &= cast<FPMathOperator>(FII)->getFastMathFlags(); in foldSelectOpOp()
412 FMF |= SelectFPOp->getFastMathFlags(); in foldSelectOpOp()
536 FMF = SI.getFastMathFlags(); in foldSelectIntoOp()
2063 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldOverflowingAddSubSelect()
2064 Flags &= SubOp->getFastMathFlags(); in foldOverflowingAddSubSelect()
2082 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldSelectExtConst()
[all...]
H A DInstCombineAddSub.cpp686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1889 I.getFastMathFlags(), in visitFAdd()
2699 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant()
2700 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant()
2730 FastMathFlags FMF = FMFSource.getFastMathFlags() | II->getFastMathFlags(); in hoistFNegAboveFMulFDiv()
2748 if (Value *V = simplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg()
2778 FastMathFlags FMF = I.getFastMathFlags() | OldSel->getFastMathFlags(); in visitFNeg()
2816 FastMathFlags FMF = I.getFastMathFlags(); in visitFSub()
[all...]
H A DInstCombineMulDivRem.cpp126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
594 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFMulReassoc()
687 FastMathFlags FMF = I.getFastMathFlags() & Op0BinOp->getFastMathFlags(); in foldFMulReassoc()
740 FastMathFlags FMF = I.getFastMathFlags() & DivOp->getFastMathFlags(); in foldFMulReassoc()
858 I.getFastMathFlags(), in simplifyDivRemOfSelectWithZeroOp()
917 SI->copyFastMathFlags(I.getFastMathFlags()); in multiplyOverflows()
923 SI->copyFastMathFlags(I.getFastMathFlags()); in isMultiple()
[all...]
H A DInstCombineCalls.cpp2472 II->getFastMathFlags(), in visitCallInst()
2503 II->getFastMathFlags(), in visitCallInst()
2515 II->getFastMathFlags().noSignedZeros())) in visitCallInst()
2577 FastMathFlags FMF1 = II->getFastMathFlags(); in visitCallInst()
2578 FastMathFlags FMF2 = cast<SelectInst>(Arg)->getFastMathFlags(); in visitCallInst()
2661 FastMathFlags FMF = II->getFastMathFlags(); in visitCallInst()
2662 FastMathFlags InnerFlags = cast<FPMathOperator>(Src)->getFastMathFlags(); in visitCallInst()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp755 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
1086 const FastMathFlags DivFMF = FPOp->getFastMathFlags(); in visitFDiv()
1099 SqrtFMF = SqrtOp->getFastMathFlags(); in visitFDiv()
1270 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24Impl()
1709 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in visitSelectInst()
2187 FastMathFlags FMF = I.getFastMathFlags(); in runOnFunction()
2211 FastMathFlags SqrtFMF = FPOp->getFastMathFlags(); in run()
2231 canOptimizeWithRsq(FPOp, FDiv->getFastMathFlags(), SqrtFMF) &&
H A DAMDGPULibCalls.cpp680 FastMathFlags FMF = FPOp->getFastMathFlags(); in fold()
779 FPOp->getFastMathFlags())) { in fold()
1098 if (!isKnownIntegral(opr1, M->getDataLayout(), FPOp->getFastMathFlags())) in fold_pow()
1226 FastMathFlags FMF = FPOp->getFastMathFlags(); in shouldReplaceLibcallWithIntrinsic()
1399 FastMathFlags FMF = FPOp->getFastMathFlags(); in fold_sincos()
1428 FMF &= OtherOp->getFastMathFlags(); in evaluateScalarMathFunc()
H A DAMDGPUInstCombineIntrinsic.cpp472 FastMathFlags FMF = cast<FPMathOperator>(II).getFastMathFlags(); in instCombineIntrinsic()
486 FastMathFlags InnerFMF = SqrtOp->getFastMathFlags(); in instCombineIntrinsic()
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp90 simplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
H A DInstructionSimplify.cpp6891 return simplifyFAddInst(Args[0], Args[1], FPI->getFastMathFlags(), Q, in simplifyCall()
6897 return simplifyFSubInst(Args[0], Args[1], FPI->getFastMathFlags(), Q, in simplifyCall()
6903 return simplifyFMulInst(Args[0], Args[1], FPI->getFastMathFlags(), Q, in simplifyCall()
6909 return simplifyFDivInst(Args[0], Args[1], FPI->getFastMathFlags(), Q, in simplifyCall()
6915 return simplifyFRemInst(Args[0], Args[1], FPI->getFastMathFlags(), Q, in simplifyConstrainedFPCall()
7077 return simplifyFNegInst(NewOps[0], I->getFastMathFlags(), Q, MaxRecurse); in simplifyInstructionWithOperands()
7079 return simplifyFAddInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q, in simplifyInstructionWithOperands()
7086 return simplifyFSubInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q, in simplifyInstructionWithOperands()
7093 return simplifyFMulInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q, in simplifyInstructionWithOperands()
7108 return simplifyFDivInst(NewOps[0], NewOps[1], I->getFastMathFlags(), in simplifyInstructionWithOperands()
[all...]
H A DIVDescriptors.cpp384 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
391 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp509 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getMatrix()
513 FMF = Inst->getFastMathFlags(); in getMatrix()
1013 lowerDotProduct(CI, FusedInsts, getFastMathFlags(CI)); in Visit()
1776 getFastMathFlags(MatMul)); in emitSIMDTiling()
1836 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused()
1906 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused()
2031 getFastMathFlags(MatMul)); in VisitBinaryOperator()
2116 Builder.setFastMathFlags(getFastMathFlags(Inst)); in ExprLinearizer()
2162 Builder.setFastMathFlags(getFastMathFlags(Inst)); in prettyPrintMatrixType()
447 static FastMathFlags getFastMathFlags(Instruction *Inst) { getFastMathFlags() function in __anonf1ff33490111::LowerMatrixIntrinsics
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()
730 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
1879 Builder.setFastMathFlags(FPI->getFastMathFlags());
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h201 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h297 FastMathFlags getFastMathFlags() const { return FMF; }
299 FastMathFlags &getFastMathFlags() { return FMF; } in clearFastMathFlags()
1558 FastMathFlags FMF = FMFSource->getFastMathFlags();
1585 FastMathFlags FMF = FMFSource->getFastMathFlags();
1612 FastMathFlags FMF = FMFSource->getFastMathFlags();
1639 FastMathFlags FMF = FMFSource->getFastMathFlags();
1665 FastMathFlags FMF = FMFSource->getFastMathFlags();
1747 FastMathFlags FMF = FMFSource->getFastMathFlags();
294 FastMathFlags getFastMathFlags() const { return FMF; } getFastMathFlags() function
296 FastMathFlags &getFastMathFlags() { return FMF; } getFastMathFlags() function
H A DOperator.h320 FastMathFlags getFastMathFlags() const { in classof()
288 FastMathFlags getFastMathFlags() const { getFastMathFlags() function
H A DInstruction.h623 FastMathFlags getFastMathFlags() const LLVM_READONLY;
/freebsd-src/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp276 [&Inst] { Inst.setFast(!Inst.getFastMathFlags().all()); }); in mutate()
279 [&Inst] { Inst.setFast(!Inst.getFastMathFlags().none()); }); in mutate()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1928 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeTrigReflections()
1995 B.setFastMathFlags(CI->getFastMathFlags()); in replacePowWithExp()
2007 B.setFastMathFlags(CI->getFastMathFlags()); in replacePowWithExp()
2303 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
2440 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeLog()
2469 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeLog()
2751 B.setFastMathFlags(I->getFastMathFlags()); in classifyArgUse()
2891 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeErrorReporting()
2906 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeErrorReporting()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp1269 static unsigned getFastMathFlags(const MachineInstr &I) {
1304 unsigned FMFlags = getFastMathFlags(I);
991 static unsigned getFastMathFlags(const MachineInstr &I) { getFastMathFlags() function

12