Home
last modified time | relevance | path

Searched refs:LoopData (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h223 struct LoopData { struct
237 LoopData(LoopData *Parent, const BlockNode &Header) in LoopData() argument
241 LoopData(LoopData *Parent, It1 FirstHeader, It1 LastHeader, It2 FirstOther, in LoopData() argument
292 LoopData *getContainingLoop() const { in getContainingLoop()
318 LoopData *getPackagedLoop() const { in getPackagedLoop()
431 std::list<LoopData> Loops;
445 bool addLoopSuccessorsToDist(const LoopData *OuterLoop, LoopData &Loop,
487 void computeLoopScale(LoopData &Loop);
502 void packageLoop(LoopData &Loop);
1647 using LoopData = BlockFrequencyInfoImplBase::LoopData;
[all …]
H A DBranchProbabilityInfo.h285 using LoopData = std::pair<Loop *, int>; variable
294 LoopData getLoopData() const { return LD; } in getLoopData()
306 LoopData LD = {nullptr, -1};
332 SmallDenseMap<LoopData, uint32_t> EstimatedLoopWeight;
366 Optional<uint32_t> getEstimatedLoopWeight(const LoopData &L) const;
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp93 using LoopData = BlockFrequencyInfoImplBase::LoopData; typedef
374 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { in addLoopSuccessorsToDist()
421 void BlockFrequencyInfoImplBase::packageLoop(LoopData &Loop) { in packageLoop()
547 for (LoopData &Loop : Loops) in unwrapLoops()
716 LoopData::NodeList &Headers, LoopData::NodeList &Others) { in findIrreducibleHeaders()
783 LoopData *OuterLoop, std::list<LoopData>::iterator Insert, in createIrreducibleLoop()
788 LoopData::NodeList Headers; in createIrreducibleLoop()
789 LoopData::NodeList Others; in createIrreducibleLoop()
803 iterator_range<std::list<LoopData>::iterator>
805 const IrreducibleGraph &G, LoopData *OuterLoop, in analyzeIrreducible()
[all …]
H A DBranchProbabilityInfo.cpp664 BranchProbabilityInfo::getEstimatedLoopWeight(const LoopData &L) const { in getEstimatedLoopWeight()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp1263 auto LoopData = LoopStack.rbegin(); in buildSchedule() local
1269 LoopData->Schedule = combineInSequence(LoopData->Schedule, StmtSchedule); in buildSchedule()
1282 while (LoopData->L && in buildSchedule()
1283 LoopData->NumBlocksProcessed == getNumBlocksInLoop(LoopData->L)) { in buildSchedule()
1284 isl::schedule Schedule = LoopData->Schedule; in buildSchedule()
1285 auto NumBlocksProcessed = LoopData->NumBlocksProcessed; in buildSchedule()
1287 assert(std::next(LoopData) != LoopStack.rend()); in buildSchedule()
1288 Loop *L = LoopData->L; in buildSchedule()
1289 ++LoopData; in buildSchedule()
1313 LoopData->Schedule = combineInSequence(LoopData->Schedule, Schedule); in buildSchedule()
[all …]