Home
last modified time | relevance | path

Searched refs:getMulExpr (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp491 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints()
492 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints()
1368 const SCEV *ML = SE->getMulExpr(SE->getMulExpr(ConstCoeff, UpperBound), in weakCrossingSIVtest()
2072 const SCEV *A1N1 = SE->getMulExpr(A1, N1); in symbolicRDIVtest()
2081 const SCEV *A2N2 = SE->getMulExpr(A2, N2); in symbolicRDIVtest()
2093 const SCEV *A1N1 = SE->getMulExpr(A1, N1); in symbolicRDIVtest()
2094 const SCEV *A2N2 = SE->getMulExpr(A2, N2); in symbolicRDIVtest()
2114 const SCEV *A1N1 = SE->getMulExpr(A1, N1); in symbolicRDIVtest()
2115 const SCEV *A2N2 = SE->getMulExpr(A2, N2); in symbolicRDIVtest()
3198 Src = SE->getMulExpr(Src, A); in propagateLine()
[all …]
H A DDelinearization.cpp155 Terms.push_back(SE.getMulExpr(Operands)); in follow()
214 Step = SE.getMulExpr(Qs); in findArrayDimensionsRec()
273 return SE.getMulExpr(Factors); in removeConstantFactors()
H A DLoopCacheAnalysis.cpp302 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost()
327 RefCost = SE.getMulExpr(SE.getNoopOrAnyExtend(RefCost, WiderType), in computeRefCost()
489 Stride = SE.getMulExpr(SE.getNoopOrSignExtend(Coeff, WiderType), in isConsecutive()
H A DScalarEvolution.cpp1021 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient()
1264 return getMulExpr(Operands); in getTruncateExpr()
1877 return getMulExpr( in getZeroExtendExpr()
2301 Operation = &ScalarEvolution::getMulExpr; in willNotOverflow()
2720 Ops.push_back(getMulExpr( in getAddExpr()
3447 return getMulExpr(Operands); in getUDivExpr()
3536 return getMulExpr(Operands); in getUDivExactExpr()
3551 LHS = getMulExpr(Operands); in getUDivExactExpr()
3565 return getMulExpr(Operands); in getUDivExactExpr()
7527 return getMulExpr(MulOps); in createSCEV()
[all …]
H A DScalarEvolutionDivision.cpp208 Quotient = SE.getMulExpr(Qs); in visitMulExpr()
H A DLoopAccessAnalysis.cpp872 const SCEV *Scaled1 = SE->getMulExpr( in findForkedSCEVs()
874 const SCEV *Scaled2 = SE->getMulExpr( in findForkedSCEVs()
1708 const SCEV *Product = SE.getMulExpr(&BackedgeTakenCount, Step); in isSafeDependenceDistance()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp253 EXPECT_EQ(SE.getMulExpr(A, B), SE.getMulExpr(B, A)); in TEST_F()
254 EXPECT_EQ(SE.getMulExpr(B, C), SE.getMulExpr(C, B)); in TEST_F()
255 EXPECT_EQ(SE.getMulExpr(A, C), SE.getMulExpr(C, A)); in TEST_F()
264 auto *Mul0 = SE.getMulExpr(Ops0); in TEST_F()
265 auto *Mul1 = SE.getMulExpr(Ops1); in TEST_F()
266 auto *Mul2 = SE.getMulExpr(Ops2); in TEST_F()
267 auto *Mul3 = SE.getMulExpr(Ops3); in TEST_F()
268 auto *Mul4 = SE.getMulExpr(Ops4); in TEST_F()
269 auto *Mul5 = SE.getMulExpr(Ops5); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolution.h583 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops,
586 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS,
590 return getMulExpr(Ops, Flags, Depth);
592 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
596 return getMulExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h827 return !Changed ? Expr : SE.getMulExpr(Operands); in visitMulExpr()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp299 SE->getUDivExpr(SE->getAddExpr(SE->getMulExpr(Ceil, VW), in IsSafeActiveMask()
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVValidator.cpp723 ConstPart = cast<SCEVConstant>(SE.getMulExpr(ConstPart, Op)); in extractConstantFactor()
727 return std::make_pair(ConstPart, SE.getMulExpr(LeftOvers)); in extractConstantFactor()
H A DScopHelper.cpp368 return SE.getMulExpr(NewOps); in visitMulExpr()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp395 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
H A DLoopStrengthReduce.cpp440 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch()
448 Good.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch()
450 Bad.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch()
698 return SE.getMulExpr(LHS, RC); in getExactSDiv()
776 return Found ? SE.getMulExpr(Ops) : nullptr; in getExactSDiv()
3591 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3604 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3622 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs()
3626 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs()
4019 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales()
[all …]
H A DLoopRerollPass.cpp912 if (ADR->getStepRecurrence(*SE) != SE->getMulExpr(StepSCEV, ScaleSCEV)) in validateRootSet()
1479 auto ScaledTripCount = SE->getMulExpr( in replace()
H A DNaryReassociate.cpp545 return SE->getMulExpr(LHS, RHS); in getBinarySCEV()
H A DInductiveRangeCheckElimination.cpp1700 const SCEV *Begin = SE.getMulExpr(ClampedSubtract(Zero, M), EndIsNonNegative); in computeSafeIterationSpace()
1701 const SCEV *End = SE.getMulExpr(ClampedSubtract(REnd, M), EndIsNonNegative); in computeSafeIterationSpace()
H A DLoopIdiomRecognize.cpp1046 Index = SE->getMulExpr(Index, in getStartForNegStride()
1090 return SE->getMulExpr(TripCountSCEV, in getNumBytes()
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dlimit-depth.ll3 ; Check that depth set to 0 prevents getAddExpr and getMulExpr from making
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp169 if (UseInst->isExact() && LHS != SE->getMulExpr(FoldedExpr, RHS)) in foldIVUser()
1343 return SE->getMulExpr(LHS, RHS); in getSCEVByOpCode()
H A DScalarEvolutionExpander.cpp338 S = SE.getMulExpr(NewMulOps); in FactorOutConstant()
1620 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp2182 auto *MulSCEV = SE.getMulExpr(UDivSCEV, SizeSCEV); in isDivisible()
2276 Size = SE.getMulExpr(Size, SE.getConstant(Size->getType(), Int[0])); in foldSizeConstantsToRight()
H A DScopDetection.cpp914 Terms.push_back(SE.getMulExpr(Operands)); in getDelinearizationTerms()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2165 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize), in processCopyingStore()