Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h63 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
136 SCEVExpander *SE;
142 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
170 friend struct SCEVVisitor<SCEVExpander, Value *>;
174 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
187 ~SCEVExpander() {
506 SCEVExpander &Expander;
515 SCEVExpanderCleaner(SCEVExpander &Expander, DominatorTree &DT)
H A DSimplifyIndVar.h30 class SCEVExpander; variable
54 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
78 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
H A DLoopUtils.h42 class SCEVExpander; variable
414 SCEVExpander &Rewriter, DominatorTree *DT,
474 SCEVExpander &Expander);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp284 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
299 SCEVExpander &Expander, Instruction *Guard);
300 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
308 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
400 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck()
565 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop()
614 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckDecrementingLoop()
741 SCEVExpander &Expander, in collectChecks()
794 SCEVExpander &Expander) { in widenGuardConditions()
819 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions()
[all …]
H A DIndVarSimplify.cpp157 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
159 bool optimizeLoopExits(Loop *L, SCEVExpander &Rewriter);
162 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
168 PHINode *IndVar, SCEVExpander &Rewriter);
596 SCEVExpander &Rewriter, in simplifyAndExtend()
975 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit()
1066 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace()
1332 ScalarEvolution *SE, SCEVExpander &Rewriter, in optimizeLoopExitWithUnknownExitCount()
1397 bool IndVarSimplify::optimizeLoopExits(Loop *L, SCEVExpander &Rewriter) { in optimizeLoopExits()
1552 bool IndVarSimplify::predicateLoopExits(Loop *L, SCEVExpander &Rewriter) { in predicateLoopExits()
[all …]
H A DLoopLoadElimination.cpp413 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
582 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(), in processLoop()
H A DLoopDataPrefetch.cpp395 SCEVExpander SCEVE(*SE, BB->getModule()->getDataLayout(), "prefaddr"); in runOnLoop()
H A DLoopBoundSplit.cpp361 SCEVExpander Expander( in splitLoopBound()
H A DLoopStrengthReduce.cpp1996 void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
2072 SCEVExpander &Rewriter) const;
2075 BasicBlock::iterator IP, SCEVExpander &Rewriter,
2078 const Formula &F, SCEVExpander &Rewriter,
2081 SCEVExpander &Rewriter,
3183 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter, in GenerateIVChain()
5173 SCEVExpander &Rewriter) const { in AdjustInsertPositionForExpand()
5236 SCEVExpander &Rewriter, in Expand()
5415 SCEVExpander &Rewriter, SmallVectorImpl<WeakTrackingVH> &DeadInsts) const { in RewriteForPHI()
5530 const Formula &F, SCEVExpander &Rewriter, in Rewrite()
[all …]
H A DLoopRerollPass.cpp1479 SCEVExpander Expander(*SE, DL, "reroll"); in replace()
1517 SCEVExpander Expander(*SE, DL, "reroll"); in replaceIV()
H A DNaryReassociate.cpp625 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax()
H A DLoopFlatten.cpp607 SCEVExpander Rewriter(*SE, DL, "loopflatten"); in CanWidenIV()
H A DLoopIdiomRecognize.cpp1050 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
1206 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
2712 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in recognizeShiftUntilZero()
H A DInductiveRangeCheckElimination.cpp1025 SCEVExpander Expander(SE, DL, "irce"); in parseLoopStructure()
1424 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce"); in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp50 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
100 SCEVExpander::findInsertPointAfter(Instruction *I, in findInsertPointAfter()
157 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
672 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
742 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
814 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
1041 void SCEVExpander::fixupInsertPoints(Instruction *I) { in fixupInsertPoints()
1902 SCEVExpander::FindValueInExprValueMap(const SCEV *S, in FindValueInExprValueMap()
1936 Value *SCEVExpander::expand(const SCEV *S) { in expand()
2033 void SCEVExpander::rememberInstruction(Value *I) { in rememberInstruction()
[all …]
H A DSimplifyIndVar.cpp58 SCEVExpander &Rewriter;
66 SCEVExpander &Rewriter, in SimplifyIndvar()
919 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
931 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()
1040 PHINode *createWideIV(SCEVExpander &Rewriter);
1065 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1650 Instruction *WidenIV::widenIVUse(WidenIV::NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1830 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
2043 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter, in createWideIV()
H A DLoopVersioning.cpp64 SCEVExpander Exp2(*RtPtrChecking.getSE(), in versionLoop()
70 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
H A DLoopUtils.cpp1236 SCEVExpander &Rewriter, DominatorTree *DT, in rewriteLoopExitValues()
1526 SCEVExpander &Exp) { in expandBounds()
1542 Instruction *Loc, SCEVExpander &Exp) { in expandBounds()
1560 SCEVExpander &Exp) { in addRuntimeChecks()
H A DLoopUnrollRuntime.cpp672 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp383 SCEVExpander SCEVE(SE, DL, "loopcnt"); in InitLoopCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp552 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), "pistart"); in rewriteLoadStores()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1251 friend class SCEVExpander;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1936 SCEVExpander SCEVExp;
1937 SCEVExpander MemCheckExp;
2428 SCEVExpander Exp(*PSE.getSE(), DL, "induction"); in widenIntOrFpInduction()
3152 SCEVExpander Exp(*SE, DL, "induction"); in getOrCreateTripCount()
3367 SCEVExpander Exp(*SE, DL, "induction"); in emitTransformedIndex()
4809 SCEVExpander Exp(*PSE.getSE(), DL, "induction"); in widenPHIInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2052 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore()