| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineLoopInfo.h | 42 class MachineLoop; variable 45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> { 81 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop() function 84 MachineLoop() = default; 93 LoopInfoBase<MachineBasicBlock, MachineLoop> LI; 167 inline void changeTopLevelLoop(MachineLoop *OldLoop, MachineLoop *NewLoop) { in changeTopLevelLoop() 172 inline void addTopLevelLoop(MachineLoop *New) { in addTopLevelLoop() 185 template <> struct GraphTraits<const MachineLoop*> { 186 using NodeRef = const MachineLoop *; 194 template <> struct GraphTraits<MachineLoop*> { [all …]
|
| H A D | MachinePipeliner.h | 98 bool canPipelineLoop(MachineLoop &L); 99 bool scheduleLoop(MachineLoop &L); 100 bool swingModuloScheduler(MachineLoop &L); 101 void setPragmaPipelineOptions(MachineLoop &L); 114 MachineLoop &Loop; 194 SwingSchedulerDAG(MachinePipeliner &P, MachineLoop &L, LiveIntervals &lis, in SwingSchedulerDAG()
|
| H A D | ModuloSchedule.h | 81 MachineLoop *Loop; 105 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, in ModuloSchedule() 118 MachineLoop *getLoop() const { return Loop; } in getLoop()
|
| H A D | MachineLoopUtils.h | 13 class MachineLoop; variable
|
| H A D | MachineTraceMetrics.h | 63 class MachineLoop; variable 345 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
|
| H A D | MachineRegionInfo.h | 41 using LoopT = MachineLoop;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineLoopInfo.cpp | 30 template class llvm::LoopBase<MachineBasicBlock, MachineLoop>; 31 template class llvm::LoopInfoBase<MachineBasicBlock, MachineLoop>; 61 MachineBasicBlock *MachineLoop::getTopBlock() { in getTopBlock() 76 MachineBasicBlock *MachineLoop::getBottomBlock() { in getBottomBlock() 91 MachineBasicBlock *MachineLoop::findLoopControlBlock() { in findLoopControlBlock() 101 DebugLoc MachineLoop::getStartLoc() const { in getStartLoc() 118 MachineLoopInfo::findLoopPreheader(MachineLoop *L, bool SpeculativePreheader, in findLoopPreheader() 146 MachineLoop *T = getLoopFor(S); in findLoopPreheader() 154 bool MachineLoop::isLoopInvariant(MachineInstr &I) const { in isLoopInvariant() 208 LLVM_DUMP_METHOD void MachineLoop::dump() const { in dump()
|
| H A D | MachineBlockPlacement.cpp | 510 const MachineLoop &L, const BlockFilterSet &LoopBlockSet, 512 BlockFilterSet collectLoopBlockSet(const MachineLoop &L); 513 void buildLoopChains(const MachineLoop &L); 518 BlockChain &LoopChain, const MachineLoop &L, 2045 const MachineLoop &L, in findBestLoopTopHelper() 2110 MachineBlockPlacement::findBestLoopTop(const MachineLoop &L, in findBestLoopTop() 2202 if (MachineLoop *ExitLoop = MLI->getLoopFor(Succ)) { in findBestLoopExit() 2386 BlockChain &LoopChain, const MachineLoop &L, in rotateLoopWithProfile() 2572 for (const MachineLoop *InnerLoop : L) in buildLoopChains() 2698 for (MachineLoop *L : *MLI) in buildCFGChains() [all …]
|
| H A D | MachineTraceMetrics.cpp | 168 const MachineLoop* 304 static bool isExitingLoop(const MachineLoop *From, const MachineLoop *To) { in isExitingLoop() 329 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred() 357 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() 460 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge() 597 const MachineLoop *Loop = getLoopFor(MBB); in verify() 605 const MachineLoop *Loop = getLoopFor(MBB); in verify() 606 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() 1070 if (const MachineLoop *Loop = getLoopFor(MBB)) in computeInstrHeights()
|
| H A D | MachineLICM.cpp | 133 MachineLoop *CurLoop; // The current loop we are working on. 316 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { in INITIALIZE_PASS_DEPENDENCY() 321 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY() 367 SmallVector<MachineLoop *, 8> Worklist(MLI->begin(), MLI->end()); in runOnMachineFunction() 529 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistRegionPostRA() 719 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistOutOfLoop()
|
| H A D | MachineSink.cpp | 233 void FindLoopSinkCandidates(MachineLoop *L, MachineBasicBlock *BB, 235 bool SinkIntoLoop(MachineLoop *L, MachineInstr &I); 379 void MachineSinking::FindLoopSinkCandidates(MachineLoop *L, MachineBasicBlock *BB, in FindLoopSinkCandidates() 465 SmallVector<MachineLoop *, 8> Loops(LI->begin(), LI->end()); in runOnMachineFunction() 773 MachineLoop *ML = LI->getLoopFor(MBB); in isProfitableToSinkTo() 1220 bool MachineSinking::SinkIntoLoop(MachineLoop *L, MachineInstr &I) { in SinkIntoLoop()
|
| H A D | PHIElimination.cpp | 643 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges() 660 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBlockPlacement.cpp | 42 bool fixBackwardsWLS(MachineLoop *ML); 43 bool processPostOrderLoops(MachineLoop *ML); 73 static MachineInstr *findWLS(MachineLoop *ML) { in findWLS() 91 bool ARMBlockPlacement::fixBackwardsWLS(MachineLoop *ML) { in fixBackwardsWLS() 144 bool ARMBlockPlacement::processPostOrderLoops(MachineLoop *ML) { in processPostOrderLoops()
|
| H A D | MVETPAndVPTOptimisationsPass.cpp | 67 bool LowerWhileLoopStart(MachineLoop *ML); 68 bool MergeLoopEnd(MachineLoop *ML); 69 bool ConvertTailPredLoop(MachineLoop *ML, MachineDominatorTree *DT); 106 static bool findLoopComponents(MachineLoop *ML, MachineRegisterInfo *MRI, in findLoopComponents() 223 bool MVETPAndVPTOptimisations::LowerWhileLoopStart(MachineLoop *ML) { in LowerWhileLoopStart() 315 bool MVETPAndVPTOptimisations::MergeLoopEnd(MachineLoop *ML) { in MergeLoopEnd() 422 bool MVETPAndVPTOptimisations::ConvertTailPredLoop(MachineLoop *ML, in ConvertTailPredLoop() 1039 for (MachineLoop *ML : MLI->getBase().getLoopsInPreorder()) { in runOnMachineFunction()
|
| H A D | ARMLowOverheadLoops.cpp | 109 MachineLoop &ML; 115 PostOrderLoopTraversal(MachineLoop &ML, MachineLoopInfo &MLI) in PostOrderLoopTraversal() 358 MachineLoop &ML; 377 LowOverheadLoop(MachineLoop &ML, MachineLoopInfo &MLI, in LowOverheadLoop() 502 bool ProcessLoop(MachineLoop *ML); 1028 ARMBasicBlockUtils *BBUtils, MachineLoop &ML) { in Validate() 1087 static bool ValidateMVEStore(MachineInstr *MI, MachineLoop *ML) { in ValidateMVEStore() 1270 bool ARMLowOverheadLoops::ProcessLoop(MachineLoop *ML) { in ProcessLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblySortRegion.cpp | 11 bool ConcreteSortRegion<MachineLoop>::isLoop() const { in isLoop() 33 LoopMap[ML] = std::make_unique<ConcreteSortRegion<MachineLoop>>(ML); in getRegionFor() 52 MachineBasicBlock *SortRegionInfo::getBottom(const MachineLoop *ML) { in getBottom()
|
| H A D | WebAssemblySortRegion.h | 24 class MachineLoop; variable 67 DenseMap<const MachineLoop *, std::unique_ptr<SortRegion>> LoopMap; 83 MachineBasicBlock *getBottom(const MachineLoop *ML);
|
| H A D | WebAssemblyCFGSort.cpp | 199 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks() 246 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonHardwareLoops.cpp | 183 bool findInductionRegister(MachineLoop *L, unsigned &Reg, 195 CountValue *getLoopTripCount(MachineLoop *L, 298 bool fixupInductionVariable(MachineLoop *L); 302 MachineBasicBlock *createPreheaderForLoop(MachineLoop *L); 402 bool HexagonHardwareLoops::findInductionRegister(MachineLoop *L, in findInductionRegister() 725 CountValue *HexagonHardwareLoops::computeCount(MachineLoop *Loop, in computeCount() 1123 bool HexagonHardwareLoops::convertToHardwareLoop(MachineLoop *L, in convertToHardwareLoop() 1386 MachineLoop *L, LoopFeederMap &LoopFeederPhi) const { in phiMayWrapOrUnderflow() 1414 MachineBasicBlock *MBB, MachineLoop *L, in loopCountMayWrapOrUnderFlow() 1847 MachineLoop *L) { in createPreheaderForLoop() [all …]
|
| H A D | HexagonEarlyIfConv.cpp | 177 bool matchFlowPattern(MachineBasicBlock *B, MachineLoop *L, 179 bool visitBlock(MachineBasicBlock *B, MachineLoop *L); 180 bool visitLoop(MachineLoop *L); 234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader() 239 MachineLoop *L, FlowPattern &FP) { in matchFlowPattern() 598 MachineLoop *L) { in visitBlock() 644 bool HexagonEarlyIfConversion::visitLoop(MachineLoop *L) { in visitLoop() 651 for (MachineLoop::iterator I = L->begin(), E = L->end(); I != E; ++I) in visitLoop()
|
| H A D | HexagonSplitDouble.cpp | 93 using LoopRegMap = std::map<const MachineLoop *, USet>; 103 void collectIndRegsForLoop(const MachineLoop *L, USet &Rs); 454 const MachineLoop *L = MLI->getLoopFor(PB); in isProfitable() 475 void HexagonSplitDoubleRegs::collectIndRegsForLoop(const MachineLoop *L, in collectIndRegsForLoop() 572 using LoopVector = std::vector<MachineLoop *>; in collectIndRegs() 582 MachineLoop *L = WorkQ[i]; in collectIndRegs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDILCFGStructurizer.cpp | 172 for (MachineLoop::iterator iter = LoopInfo.begin(), in PrintLoopinfo() 246 int mergeLoop(MachineLoop *LoopRep); 311 std::map<MachineLoop *, bool> Visited; 336 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge() 351 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead() 696 MachineLoop *LoopRep = (*It); in prepare() 990 std::deque<MachineLoop *> NestedLoops; in loopendPatternMatch() 992 for (MachineLoop *ML : depth_first(It)) in loopendPatternMatch() 1002 for (MachineLoop *ExaminedLoop : NestedLoops) { in loopendPatternMatch() 1046 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 225 SmallVector<MachineLoop *, 4> Loops(MLI->begin(), MLI->end()); in runOnMachineFunction() 229 for (MachineLoop *Child : Loops[i]->getSubLoops()) in runOnMachineFunction() 232 for (MachineLoop *CurrLoop : Loops) { in runOnMachineFunction() 854 if (MachineLoop *L = MLI->getLoopFor(MBB)) { in convertCmovInstsToBranches()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMachineScheduler.cpp | 41 const MachineLoop *Loop) { in getSingleSchedPred() 89 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB); in enterMBB()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FalkorHWPFFix.cpp | 204 void runOnLoop(MachineLoop &L, MachineFunction &Fn); 677 void FalkorHWPFFix::runOnLoop(MachineLoop &L, MachineFunction &Fn) { in runOnLoop() 830 for (MachineLoop *I : LI) in runOnMachineFunction()
|