Home
last modified time | relevance | path

Searched refs:SCEVExpander (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp49 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
99 SCEVExpander::findInsertPointAfter(Instruction *I, in findInsertPointAfter()
454 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
709 void SCEVExpander::fixupInsertPoints(Instruction *I) { in fixupInsertPoints()
1346 Value *SCEVExpander::visitVScale(const SCEVVScale *S) { in visitVScale()
1369 Value *SCEVExpander::FindValueInExprValueMap( in FindValueInExprValueMap()
1409 Value *SCEVExpander::expand(const SCEV *S) { in expand()
1507 void SCEVExpander::rememberInstruction(Value *I) { in rememberInstruction()
1868 bool SCEVExpander::isHighCostExpansionHelper( in isHighCostExpansionHelper()
2150 Value *SCEVExpander::fixupLCSSAFormFor(Value *V) { in fixupLCSSAFormFor()
[all …]
H A DLoopVersioning.cpp64 SCEVExpander Exp2(*RtPtrChecking.getSE(), in versionLoop()
70 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
H A DSimplifyIndVar.cpp58 SCEVExpander &Rewriter;
66 SCEVExpander &Rewriter, in SimplifyIndvar()
987 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
999 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()
1109 PHINode *createWideIV(SCEVExpander &Rewriter);
1134 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1734 Instruction *WidenIV::widenIVUse(WidenIV::NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1917 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
2130 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter, in createWideIV()
H A DLoopUtils.cpp1347 SCEVExpander &Rewriter, DominatorTree *DT, in rewriteLoopExitValues()
1663 SCEVExpander &Exp, bool HoistRuntimeChecks) { in expandBounds()
1731 Instruction *Loc, SCEVExpander &Exp, bool HoistRuntimeChecks) { in expandBounds()
1751 SCEVExpander &Exp, bool HoistRuntimeChecks) { in addRuntimeChecks()
1809 Instruction *Loc, ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander, in addDiffRuntimeChecks()
H A DLoopConstrainer.cpp395 SCEVExpander Expander(SE, DL, "loop-constrainer"); in parseLoopStructure()
730 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "loop-constrainer"); in run()
H A DLoopUnrollRuntime.cpp674 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h50 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
123 SCEVExpander *SE;
129 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
157 friend struct SCEVVisitor<SCEVExpander, Value *>;
161 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
174 ~SCEVExpander() {
507 SCEVExpander &Expander;
514 SCEVExpanderCleaner(SCEVExpander &Expander)
H A DSimplifyIndVar.h29 class SCEVExpander; variable
53 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
77 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
H A DLoopUtils.h41 class SCEVExpander; variable
467 SCEVExpander &Rewriter, DominatorTree *DT,
523 SCEVExpander &Expander, bool HoistRuntimeChecks = false);
526 Instruction *Loc, ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp295 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
300 SCEVExpander &Expander,
304 SCEVExpander &Expander,
308 SCEVExpander &Expander,
312 SCEVExpander &Expander, Instruction *Guard);
321 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
375 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck()
541 LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, in widenICmpRangeCheckIncrementingLoop()
729 SCEVExpander &Expander) { in widenGuardConditions()
759 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions()
[all …]
H A DIndVarSimplify.cpp143 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
149 bool optimizeLoopExits(Loop *L, SCEVExpander &Rewriter);
152 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
158 PHINode *IndVar, SCEVExpander &Rewriter);
587 SCEVExpander &Rewriter, in simplifyAndExtend()
906 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit()
941 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace()
1236 SCEVExpander &Rewriter) { in createInvariantCond()
1255 ScalarEvolution *SE, SCEVExpander &Rewriter) { in createReplacement()
1312 bool SkipLastIter, ScalarEvolution *SE, SCEVExpander &Rewriter, in optimizeLoopExitWithUnknownExitCount()
[all …]
H A DLoopLoadElimination.cpp421 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
604 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(), in processLoop()
H A DLoopDataPrefetch.cpp394 SCEVExpander SCEVE(*SE, BB->getModule()->getDataLayout(), "prefaddr"); in runOnLoop()
H A DLoopBoundSplit.cpp407 SCEVExpander Expander( in splitLoopBound()
H A DLoopRerollPass.cpp1438 SCEVExpander Expander(*SE, DL, "reroll"); in replace()
1476 SCEVExpander Expander(*SE, DL, "reroll"); in replaceIV()
H A DNaryReassociate.cpp634 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax()
H A DLoopIdiomRecognize.cpp1021 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
1255 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
2790 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in recognizeShiftUntilZero()
H A DLoopFlatten.cpp852 SCEVExpander Rewriter(*SE, DL, "loopflatten"); in CanWidenIV()
H A DLoopStrengthReduce.cpp1966 mutable SCEVExpander Rewriter;
6818 SCEVExpander Expander(SE, DL, "lsr_fold_term_cond"); in canFoldTermCondOfLoop()
6945 SCEVExpander Rewriter(SE, DL, "lsr", false); in ReduceLoopStrength()
6965 SCEVExpander Rewriter(SE, DL, "lsr", true); in ReduceLoopStrength()
7014 SCEVExpander Expander(SE, DL, "lsr_fold_term_cond"); in ReduceLoopStrength()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp328 SCEVExpander &SCEVE, SmallPtrSet<Value *, 16> &DeletedPtrs);
560 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), in rewriteLoadStoresForCommoningChains()
651 PrepForm Form, SCEVExpander &SCEVE, in rewriteForBase()
1023 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), in rewriteLoadStores()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp439 SCEVExpander Expander(*SE, L->getHeader()->getModule()->getDataLayout(), in TryConvertActiveLaneMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp448 SCEVExpander SCEVE(SE, DL, "loopcnt"); in InitLoopCount()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1362 friend class SCEVExpander;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1628 SCEVExpander Exp(SE, DL, "induction"); in execute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2046 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore()

12