Home
last modified time | relevance | path

Searched refs:MachineLoop (Results 1 – 25 of 113) sorted by relevance

12345

/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h42 class MachineLoop; variable
43 extern template class LoopBase<MachineBasicBlock, MachineLoop>;
45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> {
73 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>;
75 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop() function
76 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {} in MachineLoop()
78 MachineLoop() = default;
82 extern template class LoopInfoBase<MachineBasicBlock, MachineLoop>;
85 friend class LoopBase<MachineBasicBlock, MachineLoop>;
87 LoopInfoBase<MachineBasicBlock, MachineLoop> LI;
[all …]
DMachineLoopUtils.h13 class MachineLoop; variable
42 bool isRegLiveInExitBlocks(MachineLoop *Loop, int PhysReg);
DMachinePipeliner.h98 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()
DModuloSchedule.h81 MachineLoop *Loop;
105 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, in ModuloSchedule()
118 MachineLoop *getLoop() const { return Loop; } in getLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h42 class MachineLoop; variable
43 extern template class LoopBase<MachineBasicBlock, MachineLoop>;
45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> {
73 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>;
75 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop() function
76 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {} in MachineLoop()
78 MachineLoop() = default;
82 extern template class LoopInfoBase<MachineBasicBlock, MachineLoop>;
85 friend class LoopBase<MachineBasicBlock, MachineLoop>;
87 LoopInfoBase<MachineBasicBlock, MachineLoop> LI;
[all …]
DMachineLoopUtils.h13 class MachineLoop; variable
42 bool isRegLiveInExitBlocks(MachineLoop *Loop, int PhysReg);
DMachinePipeliner.h104 bool canPipelineLoop(MachineLoop &L);
105 bool scheduleLoop(MachineLoop &L);
106 bool swingModuloScheduler(MachineLoop &L);
107 void setPragmaPipelineOptions(MachineLoop &L);
120 MachineLoop &Loop;
200 SwingSchedulerDAG(MachinePipeliner &P, MachineLoop &L, LiveIntervals &lis, in SwingSchedulerDAG()
DModuloSchedule.h81 MachineLoop *Loop;
105 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, in ModuloSchedule()
118 MachineLoop *getLoop() const { return Loop; } in getLoop()
/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h40 class MachineLoop; variable
41 extern template class LoopBase<MachineBasicBlock, MachineLoop>;
43 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> {
45 MachineLoop();
60 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>;
61 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop() function
62 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {} in MachineLoop()
66 extern template class LoopInfoBase<MachineBasicBlock, MachineLoop>;
69 LoopInfoBase<MachineBasicBlock, MachineLoop> LI;
70 friend class LoopBase<MachineBasicBlock, MachineLoop>;
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineLoopInfo.cpp27 template class llvm::LoopBase<MachineBasicBlock, MachineLoop>;
28 template class llvm::LoopInfoBase<MachineBasicBlock, MachineLoop>;
58 MachineBasicBlock *MachineLoop::getTopBlock() { in getTopBlock()
73 MachineBasicBlock *MachineLoop::getBottomBlock() { in getBottomBlock()
88 MachineBasicBlock *MachineLoop::findLoopControlBlock() { in findLoopControlBlock()
98 DebugLoc MachineLoop::getStartLoc() const { in getStartLoc()
115 MachineLoopInfo::findLoopPreheader(MachineLoop *L, in findLoopPreheader()
142 MachineLoop *T = getLoopFor(S); in findLoopPreheader()
150 LLVM_DUMP_METHOD void MachineLoop::dump() const { in dump()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineLoopInfo.cpp27 template class llvm::LoopBase<MachineBasicBlock, MachineLoop>;
28 template class llvm::LoopInfoBase<MachineBasicBlock, MachineLoop>;
58 MachineBasicBlock *MachineLoop::getTopBlock() { in getTopBlock()
73 MachineBasicBlock *MachineLoop::getBottomBlock() { in getBottomBlock()
88 MachineBasicBlock *MachineLoop::findLoopControlBlock() { in findLoopControlBlock()
98 DebugLoc MachineLoop::getStartLoc() const { in getStartLoc()
115 MachineLoopInfo::findLoopPreheader(MachineLoop *L, in findLoopPreheader()
142 MachineLoop *T = getLoopFor(S); in findLoopPreheader()
150 LLVM_DUMP_METHOD void MachineLoop::dump() const { in dump()
/external/llvm/lib/CodeGen/
DMachineLoopInfo.cpp26 template class llvm::LoopBase<MachineBasicBlock, MachineLoop>;
27 template class llvm::LoopInfoBase<MachineBasicBlock, MachineLoop>;
50 MachineBasicBlock *MachineLoop::getTopBlock() { in getTopBlock()
65 MachineBasicBlock *MachineLoop::getBottomBlock() { in getBottomBlock()
81 LLVM_DUMP_METHOD void MachineLoop::dump() const { in dump()
DMachineBlockPlacement.cpp323 MachineBasicBlock *findBestLoopTop(MachineLoop &L,
325 MachineBasicBlock *findBestLoopExit(MachineLoop &L,
327 BlockFilterSet collectLoopBlockSet(MachineLoop &L);
328 void buildLoopChains(MachineLoop &L);
331 void rotateLoopWithProfile(BlockChain &LoopChain, MachineLoop &L,
902 MachineBlockPlacement::findBestLoopTop(MachineLoop &L, in findBestLoopTop()
956 MachineBlockPlacement::findBestLoopExit(MachineLoop &L, in findBestLoopExit()
1016 if (MachineLoop *ExitLoop = MLI->getLoopFor(Succ)) { in findBestLoopExit()
1120 BlockChain &LoopChain, MachineLoop &L, const BlockFilterSet &LoopBlockSet) { in rotateLoopWithProfile()
1257 MachineBlockPlacement::collectLoopBlockSet(MachineLoop &L) { in collectLoopBlockSet()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp75 static MachineBasicBlock *LoopBottom(const MachineLoop *Loop) { in LoopBottom()
118 const MachineLoop *Loop;
125 explicit Entry(const MachineLoop *L) in Entry()
142 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in SortBlocks()
165 const MachineLoop *L = MLI.getLoopFor(MBB); in SortBlocks()
184 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in SortBlocks()
246 SmallSetVector<MachineLoop *, 8> OnStack; in SortBlocks()
256 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks()
354 for (MachineLoop *Loop = MLI.getLoopFor(LayoutPred); in PlaceBlockMarker()
361 MachineLoop *HeaderLoop = MLI.getLoopFor(Header); in PlaceBlockMarker()
[all …]
DWebAssemblyFixIrreducibleControlFlow.cpp65 bool VisitLoop(MachineFunction &MF, MachineLoopInfo &MLI, MachineLoop *Loop);
92 explicit MetaBlock(MachineLoop *Loop) : Block(Loop->getHeader()) { in MetaBlock()
120 explicit SuccessorList(MachineLoop *Loop) in SuccessorList()
135 MachineLoop *Loop) { in VisitLoop()
159 MachineLoop *InnerLoop = MLI.getLoopFor(Next); in VisitLoop()
279 SmallVector<MachineLoop *, 8> Worklist(MLI.begin(), MLI.end()); in runOnMachineFunction()
281 MachineLoop *CurLoop = Worklist.pop_back_val(); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblySortRegion.h24 class MachineLoop; variable
67 DenseMap<const MachineLoop *, std::unique_ptr<SortRegion>> LoopMap;
83 MachineBasicBlock *getBottom(const MachineLoop *ML);
DWebAssemblySortRegion.cpp11 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp75 template <> bool ConcreteRegion<MachineLoop>::isLoop() const { return true; } in isLoop()
83 DenseMap<const MachineLoop *, std::unique_ptr<Region>> LoopMap;
100 LoopMap[ML] = std::make_unique<ConcreteRegion<MachineLoop>>(ML); in getRegionFor()
250 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks()
296 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp156 bool findInductionRegister(MachineLoop *L, unsigned &Reg,
168 CountValue *getLoopTripCount(MachineLoop *L,
178 CountValue *computeCount(MachineLoop *Loop, const MachineOperand *Start,
189 bool containsInvalidInstruction(MachineLoop *L, bool IsInnerHWLoop) const;
193 bool convertToHardwareLoop(MachineLoop *L, bool &L0used, bool &L1used);
211 bool isLoopFeeder(MachineLoop *L, MachineBasicBlock *A, MachineInstr *MI,
218 MachineBasicBlock *MBB, MachineLoop *L,
225 MachineBasicBlock *MBB, MachineLoop *L,
271 bool fixupInductionVariable(MachineLoop *L);
275 MachineBasicBlock *createPreheaderForLoop(MachineLoop *L);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp183 bool findInductionRegister(MachineLoop *L, unsigned &Reg,
195 CountValue *getLoopTripCount(MachineLoop *L,
205 CountValue *computeCount(MachineLoop *Loop, const MachineOperand *Start,
216 bool containsInvalidInstruction(MachineLoop *L, bool IsInnerHWLoop) const;
220 bool convertToHardwareLoop(MachineLoop *L, bool &L0used, bool &L1used);
238 bool isLoopFeeder(MachineLoop *L, MachineBasicBlock *A, MachineInstr *MI,
245 MachineBasicBlock *MBB, MachineLoop *L,
252 MachineBasicBlock *MBB, MachineLoop *L,
298 bool fixupInductionVariable(MachineLoop *L);
302 MachineBasicBlock *createPreheaderForLoop(MachineLoop *L);
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp183 bool findInductionRegister(MachineLoop *L, unsigned &Reg,
195 CountValue *getLoopTripCount(MachineLoop *L,
205 CountValue *computeCount(MachineLoop *Loop, const MachineOperand *Start,
216 bool containsInvalidInstruction(MachineLoop *L, bool IsInnerHWLoop) const;
220 bool convertToHardwareLoop(MachineLoop *L, bool &L0used, bool &L1used);
238 bool isLoopFeeder(MachineLoop *L, MachineBasicBlock *A, MachineInstr *MI,
245 MachineBasicBlock *MBB, MachineLoop *L,
252 MachineBasicBlock *MBB, MachineLoop *L,
298 bool fixupInductionVariable(MachineLoop *L);
302 MachineBasicBlock *createPreheaderForLoop(MachineLoop *L);
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp121 using LoopLandInfoMap = std::map<MachineLoop *, MachineBasicBlock *>;
197 for (MachineLoop::iterator iter = LoopInfo.begin(), in PrintLoopinfo()
205 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
271 int mergeLoop(MachineLoop *LoopRep);
311 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
336 std::map<MachineLoop *, bool> Visited;
352 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
361 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
376 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
721 MachineLoop *LoopRep = (*It); in prepare()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp127 typedef std::map<MachineLoop *, MachineBasicBlock *> LoopLandInfoMap;
204 for (MachineLoop::iterator iter = LoopInfo.begin(), in PrintLoopinfo()
212 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
273 int mergeLoop(MachineLoop *LoopRep);
312 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
336 std::map<MachineLoop *, bool> Visited;
348 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
357 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
372 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
721 MachineLoop *LoopRep = (*It); in prepare()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp121 using LoopLandInfoMap = std::map<MachineLoop *, MachineBasicBlock *>;
197 for (MachineLoop::iterator iter = LoopInfo.begin(), in PrintLoopinfo()
205 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
271 int mergeLoop(MachineLoop *LoopRep);
311 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
336 std::map<MachineLoop *, bool> Visited;
352 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
361 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
376 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
721 MachineLoop *LoopRep = (*It); in prepare()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DMVEVPTOptimisationsPass.cpp62 bool RevertLoopWithCall(MachineLoop *ML);
63 bool ConvertTailPredLoop(MachineLoop *ML, MachineDominatorTree *DT);
97 static bool findLoopComponents(MachineLoop *ML, MachineRegisterInfo *MRI, in findLoopComponents()
162 bool MVEVPTOptimisations::RevertLoopWithCall(MachineLoop *ML) { in RevertLoopWithCall()
191 bool MVEVPTOptimisations::ConvertTailPredLoop(MachineLoop *ML, in ConvertTailPredLoop()
789 for (MachineLoop *ML : MLI->getBase().getLoopsInPreorder()) { in runOnMachineFunction()

12345