Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp88 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
138 SCEVExpander::findInsertPointAfter(Instruction *I, in findInsertPointAfter()
165 SCEVExpander::GetOptimalInsertionPointForCastOf(Value *V) const { in GetOptimalInsertionPointForCastOf()
195 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
251 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
350 Value *SCEVExpander::expandAddToGEP(const SCEV *Offset, Value *V) { in expandAddToGEP()
415 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
493 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
565 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
657 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
[all …]
H A DLoopVersioning.cpp64 SCEVExpander Exp2(*RtPtrChecking.getSE(), in versionLoop()
70 SCEVExpander Exp(*SE, RuntimeCheckBB->getDataLayout(), in versionLoop()
H A DSimplifyIndVar.cpp59 SCEVExpander &Rewriter;
68 SCEVExpander &Rewriter, in SimplifyIndvar()
1014 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
1026 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()
1137 PHINode *createWideIV(SCEVExpander &Rewriter);
1162 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter,
1836 SCEVExpander &Rewriter, PHINode *OrigPhi, in widenIVUse()
1939 !SCEVExpander::canReuseFlagsFromOriginalIVInc( in widenIVUse()
2033 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
2115 if (SCEVExpander::canReuseFlagsFromOriginalIVInc(OrigPhi, WidePhi, in createWideIV()
[all …]
H A DLoopUtils.cpp1492 SCEVExpander &Rewriter, DominatorTree *DT, in rewriteLoopExitValues()
1808 SCEVExpander &Exp, bool HoistRuntimeChecks) { in expandBounds()
1877 Instruction *Loc, SCEVExpander &Exp, bool HoistRuntimeChecks) { in expandBounds()
1897 SCEVExpander &Exp, bool HoistRuntimeChecks) { in addRuntimeChecks()
1954 Instruction *Loc, ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander, in addDiffRuntimeChecks()
H A DLoopConstrainer.cpp401 SCEVExpander Expander(SE, DL, "loop-constrainer"); in parseLoopStructure()
736 SCEVExpander Expander(SE, F.getDataLayout(), "loop-constrainer"); in run()
H A DLoopUnrollRuntime.cpp674 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h61 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
140 SCEVExpander *SE;
146 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
174 friend struct SCEVVisitor<SCEVExpander, Value *>;
178 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
191 ~SCEVExpander() {
542 SCEVExpander &Expander;
549 SCEVExpanderCleaner(SCEVExpander &Expander)
H A DSimplifyIndVar.h31 class SCEVExpander; variable
59 SCEVExpander &Rewriter,
84 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
H A DLoopUtils.h43 class SCEVExpander; variable
483 SCEVExpander &Rewriter, DominatorTree *DT,
539 SCEVExpander &Expander, bool HoistRuntimeChecks = false);
542 Instruction *Loc, ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp284 /// which is that an expression *can be made* invariant via SCEVExpander.
286 /// passed to SCEVExpander!
287 Instruction *findInsertPt(const SCEVExpander &Expander, Instruction *User,
295 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
300 SCEVExpander &Expander,
304 SCEVExpander &Expander,
308 SCEVExpander &Expander,
312 SCEVExpander &Expander, Instruction *Guard);
313 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
314 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander
[all...]
H A DIndVarSimplify.cpp146 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
152 bool optimizeLoopExits(Loop *L, SCEVExpander &Rewriter);
155 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
161 PHINode *IndVar, SCEVExpander &Rewriter);
597 SCEVExpander &Rewriter, in simplifyAndExtend()
918 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit()
953 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace()
1248 SCEVExpander &Rewriter) { in createInvariantCond()
1267 ScalarEvolution *SE, SCEVExpander &Rewriter) { in createReplacement()
1324 bool SkipLastIter, ScalarEvolution *SE, SCEVExpander &Rewriter, in optimizeLoopExitWithUnknownExitCount()
[all …]
H A DLoopLoadElimination.cpp425 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
620 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getDataLayout(), in processLoop()
H A DLoopDataPrefetch.cpp394 SCEVExpander SCEVE(*SE, BB->getDataLayout(), "prefaddr"); in runOnLoop()
H A DLoopBoundSplit.cpp407 SCEVExpander Expander( in splitLoopBound()
H A DNaryReassociate.cpp645 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax()
H A DLoopIdiomRecognize.cpp1026 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
1260 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
3007 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in recognizeShiftUntilZero()
H A DLoopFlatten.cpp865 SCEVExpander Rewriter(*SE, DL, "loopflatten"); in CanWidenIV()
H A DInductiveRangeCheckElimination.cpp
H A DLoopStrengthReduce.cpp2152 mutable SCEVExpander Rewriter;
7136 SCEVExpander Expander(SE, DL, "lsr_fold_term_cond"); in canFoldTermCondOfLoop()
7272 SCEVExpander Rewriter(SE, DL, "lsr", false); in ReduceLoopStrength()
7293 SCEVExpander Rewriter(SE, DL, "lsr", true); in ReduceLoopStrength()
7343 SCEVExpander Expander(SE, DL, "lsr_fold_term_cond"); in ReduceLoopStrength()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp328 SCEVExpander &SCEVE, SmallPtrSet<Value *, 16> &DeletedPtrs);
560 SCEVExpander SCEVE(*SE, Header->getDataLayout(), in rewriteLoadStoresForCommoningChains()
651 PrepForm Form, SCEVExpander &SCEVE, in rewriteForBase()
1028 SCEVExpander SCEVE(*SE, Header->getDataLayout(), in rewriteLoadStores()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp439 SCEVExpander Expander(*SE, L->getHeader()->getDataLayout(), in TryConvertActiveLaneMask()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp448 SCEVExpander SCEVE(SE, DL, "loopcnt"); in InitLoopCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1386 friend class SCEVExpander;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2040 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp2466 SCEVExpander Exp(SE, DL, "induction"); in execute()

12