Home
last modified time | relevance | path

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

/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVAffinator.cpp516 auto *DivisorSCEV = SE.getSCEVAtScope(Divisor, Scope); in visitSDivInstruction()
522 auto *DividendSCEV = SE.getSCEVAtScope(Dividend, Scope); in visitSDivInstruction()
533 auto *DivisorSCEV = SE.getSCEVAtScope(Divisor, Scope); in visitSRemInstruction()
539 auto *DividendSCEV = SE.getSCEVAtScope(Dividend, Scope); in visitSRemInstruction()
549 return visit(SE.getSCEVAtScope(I->getOperand(0), getScope())); in visitUnknown()
H A DScopHelper.cpp508 const SCEV *PtrSCEV = SE.getSCEVAtScope(Val, L); in hasVariantIndex()
539 const SCEV *PtrSCEV = SE.getSCEVAtScope(Ptr, L); in isHoistableLoad()
609 if (const SCEV *Scev = SE->getSCEVAtScope(const_cast<Value *>(V), Scope)) in canSynthesize()
H A DVirtualInstruction.cpp68 auto *ScevExpr = SE->getSCEVAtScope(Val, UserScope); in create()
H A DSCEVValidator.cpp443 return visit(SE.getSCEVAtScope(I->getOperand(0), Scope)); in visitUnknown()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp881 const SCEV *LSCEV = SE->getSCEVAtScope(PtrValue, L); in collectCandidates()
1169 const SCEV *PHISCEV = SE->getSCEVAtScope(CurrentPHINode, L); in getNodeForInc()
1197 if (SE->getSCEVAtScope(StrippedI->getOperand(0), L) == BasePtrIncSCEV) in getNodeForInc()
1199 if (SE->getSCEVAtScope(StrippedI->getOperand(1), L) == BasePtrIncSCEV) in getNodeForInc()
1235 const SCEV *PHISCEV = SE->getSCEVAtScope(CurrentPHINode, L); in alreadyPrepared()
1323 const SCEV *LSCEV = SE->getSCEVAtScope(const_cast<Value *>(PtrValue), L); in runOnLoop()
1370 cast<SCEVAddRecExpr>(SE->getSCEVAtScope(PtrValue, L)); in runOnLoop()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp519 auto *PtrSCEV = SE.getSCEVAtScope(V, Scope); in involvesMultiplePtrs()
554 const SCEV *ConditionSCEV = SE.getSCEVAtScope(Condition, L); in isValidSwitch()
620 const SCEV *LHS = SE.getSCEVAtScope(ICmp->getOperand(0), L); in isValidBranch()
621 const SCEV *RHS = SE.getSCEVAtScope(ICmp->getOperand(1), L); in isValidBranch()
734 auto *ArgSCEV = SE.getSCEVAtScope(Arg, LI.getLoopFor(CI.getParent())); in isValidCallInst()
779 AF = SE.getSCEVAtScope(cast<MemTransferInst>(II).getSource(), L); in isValidIntrinsicInst()
788 AF = SE.getSCEVAtScope(cast<MemIntrinsic>(II).getDest(), L); in isValidIntrinsicInst()
797 if (!isAffine(SE.getSCEVAtScope(cast<MemIntrinsic>(II).getLength(), L), L, in isValidIntrinsicInst()
1206 const SCEV *AccessFunction = SE.getSCEVAtScope(Ptr, L); in isValidMemoryAccess()
H A DScopBuilder.cpp399 LHS = getPwAff(BB, InvalidDomainMap, SE.getSCEVAtScope(Condition, L)); in buildConditionSets()
436 const SCEV *LHSSCEV = SE.getSCEVAtScope(Load, L); in buildConditionSets()
495 const SCEV *LeftOperand = SE.getSCEVAtScope(ICond->getOperand(0), L), in buildConditionSets()
496 *RightOperand = SE.getSCEVAtScope(ICond->getOperand(1), L); in buildConditionSets()
1446 SE.getSCEVAtScope(Address, LI.getLoopFor(Inst->getParent())); in buildAccessMultiDimFixed()
1515 SE.getSCEVAtScope(Address, LI.getLoopFor(Inst->getParent())); in buildAccessMultiDimParam()
1561 auto *LengthVal = SE.getSCEVAtScope(MemIntr->getLength(), L); in buildAccessMemIntrinsic()
1580 auto *DestAccFunc = SE.getSCEVAtScope(DestPtrVal, L); in buildAccessMemIntrinsic()
1610 auto *SrcAccFunc = SE.getSCEVAtScope(SrcPtrVal, L); in buildAccessMemIntrinsic()
1667 auto *ArgSCEV = SE.getSCEVAtScope(Arg, L); in buildAccessCallInst()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp210 const SCEV *S = SE->getSCEVAtScope(ICmp->getOperand(IVOperIdx), ICmpLoop); in makeIVComparisonInvariant()
211 const SCEV *X = SE->getSCEVAtScope(ICmp->getOperand(1 - IVOperIdx), ICmpLoop); in makeIVComparisonInvariant()
281 const SCEV *S = SE->getSCEVAtScope(ICmp->getOperand(IVOperIdx), ICmpLoop); in eliminateIVComparison()
282 const SCEV *X = SE->getSCEVAtScope(ICmp->getOperand(1 - IVOperIdx), ICmpLoop); in eliminateIVComparison()
321 N = SE->getSCEVAtScope(N, L); in eliminateSDiv()
322 D = SE->getSCEVAtScope(D, L); in eliminateSDiv()
394 N = SE->getSCEVAtScope(N, ICmpLoop); in simplifyIVRemainder()
403 D = SE->getSCEVAtScope(D, ICmpLoop); in simplifyIVRemainder()
H A DLoopUtils.cpp1357 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in rewriteLoopExitValues()
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Dbbi-63564.ll9 ; When we delete %c.promoted, we need to ensure we clear the getSCEVAtScope
H A Dloop_evaluate9.ll8 ; such as this, by making getSCEVAtScope() sensitive to a particular
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIVUsers.cpp65 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting()
H A DDelinearization.cpp595 const SCEV *AccessFn = SE->getSCEVAtScope(getPointerOperand(&Inst), L); in printDelinearization()
H A DLoopCacheAnalysis.cpp378 SE.getSCEVAtScope(getPointerOperand(&StoreOrLoadInst), L); in delinearize()
H A DScalarEvolution.cpp8870 LHS = getSCEVAtScope(LHS, L); in computeExitLimitFromICmp()
8871 RHS = getSCEVAtScope(RHS, L); in computeExitLimitFromICmp()
8996 const SCEV *LHS = getSCEVAtScope(Switch->getCondition(), L); in computeExitLimitFromSingleExitSwitch()
9639 const SCEV *InputAtScope = getSCEVAtScope(Input, L); in computeSCEVAtScope()
9666 const SCEV *OpV = getSCEVAtScope(OrigV, L); in computeSCEVAtScope()
9708 OpAtScope = getSCEVAtScope(Comm->getOperand(i), L); in computeSCEVAtScope()
9727 const SCEV *LHS = getSCEVAtScope(Div->getLHS(), L); in computeSCEVAtScope()
9728 const SCEV *RHS = getSCEVAtScope(Div->getRHS(), L); in computeSCEVAtScope()
9781 const SCEV *Op = getSCEVAtScope(Cast->getOperand(), L); in computeSCEVAtScope()
9791 return getSCEVAtScope(getSCEV(V), L); in getSCEVAtScope()
[all …]
H A DDependenceAnalysis.cpp3295 const SCEV *SrcAccessFn = SE->getSCEVAtScope(SrcPtr, SrcLoop); in tryDelinearize()
3296 const SCEV *DstAccessFn = SE->getSCEVAtScope(DstPtr, DstLoop); in tryDelinearize()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopUnrollAndJamPass.cpp267 const SCEV *LSCEV = SE.getSCEVAtScope(V, L); in computeUnrollAndJamCount()
H A DLoopFuse.cpp1071 const SCEV *SCEVPtr0 = SE.getSCEVAtScope(Ptr0, &L0); in accessDiffIsPositive()
1072 const SCEV *SCEVPtr1 = SE.getSCEVAtScope(Ptr1, &L1); in accessDiffIsPositive()
H A DIndVarSimplify.cpp1385 const SCEV *LHSS = SE->getSCEVAtScope(LHS, L); in optimizeLoopExitWithUnknownExitCount()
1386 const SCEV *RHSS = SE->getSCEVAtScope(RHS, L); in optimizeLoopExitWithUnknownExitCount()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolution.h758 const SCEV *getSCEVAtScope(const SCEV *S, const Loop *L);
761 const SCEV *getSCEVAtScope(Value *V, const Loop *L);
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp787 const SCEV *ARAtLoopExit = SE.getSCEVAtScope(AR, nullptr); in TEST_F()
805 const SCEV *NewARAtLoopExit = SE.getSCEVAtScope(AR, nullptr); in TEST_F()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DBlockGenerators.cpp70 const SCEV *Scev = SE.getSCEVAtScope(Old, L); in trySynthesizeNewValue()
/llvm-project-15.0.7/llvm/docs/
H A DLoopTerminology.rst450 `getSCEVAtScope() <https://llvm.org/doxygen/classllvm_1_1ScalarEvolution.html#a21d6ee82eed29080d911…
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp8081 return SE->getSCEVAtScope(S, LI->getLoopFor(I->getParent())); in getSCEV()