Home
last modified time | relevance | path

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

/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 …]
DMachineTraceMetrics.h60 class MachineLoop; variable
322 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
DMachineRegionInfo.h42 typedef MachineLoop LoopT;
DAsmPrinter.h44 class MachineLoop; variable
/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()
64 MachineBasicBlock *MachineLoop::getBottomBlock() { in getBottomBlock()
80 void MachineLoop::dump() const { in dump()
DMachineBlockPlacement.cpp268 MachineBasicBlock *findBestLoopTop(MachineLoop &L,
270 MachineBasicBlock *findBestLoopExit(MachineFunction &F, MachineLoop &L,
272 BlockFilterSet collectLoopBlockSet(MachineFunction &F, MachineLoop &L);
273 void buildLoopChains(MachineFunction &F, MachineLoop &L);
276 void rotateLoopWithProfile(BlockChain &LoopChain, MachineLoop &L,
638 MachineBlockPlacement::findBestLoopTop(MachineLoop &L, in findBestLoopTop()
690 MachineBlockPlacement::findBestLoopExit(MachineFunction &F, MachineLoop &L, in findBestLoopExit()
750 if (MachineLoop *ExitLoop = MLI->getLoopFor(Succ)) { in findBestLoopExit()
855 BlockChain &LoopChain, MachineLoop &L, const BlockFilterSet &LoopBlockSet) { in rotateLoopWithProfile()
992 MachineBlockPlacement::collectLoopBlockSet(MachineFunction &F, MachineLoop &L) { in collectLoopBlockSet()
[all …]
DMachineTraceMetrics.cpp156 const MachineLoop*
293 static bool isExitingLoop(const MachineLoop *From, const MachineLoop *To) { in isExitingLoop()
316 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
342 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
436 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge()
572 const MachineLoop *Loop = getLoopFor(MBB); in verify()
580 const MachineLoop *Loop = getLoopFor(MBB); in verify()
581 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
1042 if (const MachineLoop *Loop = getLoopFor(MBB)) in computeInstrHeights()
DMachineLICM.cpp88 MachineLoop *CurLoop; // The current loop we are working on.
250 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { in INITIALIZE_PASS_DEPENDENCY()
255 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()
298 SmallVector<MachineLoop *, 8> Worklist(MLI->begin(), MLI->end()); in runOnMachineFunction()
456 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistRegionPostRA()
650 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistOutOfLoop()
DPHIElimination.cpp554 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
571 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
DCalcSpillWeights.cpp135 MachineLoop *loop = nullptr; in calculateSpillWeightAndHint()
DMachineBasicBlock.cpp949 if (MachineLoop *TIL = MLI->getLoopFor(this)) { in SplitCriticalEdge()
952 if (MachineLoop *DestLoop = MLI->getLoopFor(Succ)) { in SplitCriticalEdge()
969 if (MachineLoop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
DSplitKit.cpp672 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
680 const MachineLoop *Loop = Loops.getLoopFor(MBB); in findShallowDominator()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp114 static bool LoopContains(const MachineLoop *Loop, in LoopContains()
125 MachineLoop *Loop = MLI.getLoopFor(MBB); in POStackEntry()
159 static MachineBasicBlock *LoopBottom(const MachineLoop *Loop) { in LoopBottom()
217 SmallSetVector<MachineLoop *, 8> OnStack; in SortBlocks()
227 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks()
310 for (MachineLoop *Loop = MLI.getLoopFor(LayoutPred); in PlaceBlockMarker()
317 MachineLoop *HeaderLoop = MLI.getLoopFor(Header); in PlaceBlockMarker()
347 MachineLoop *Loop = MLI.getLoopFor(&MBB); in PlaceLoopMarker()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp129 typedef std::map<MachineLoop *, MachineBasicBlock *> LoopLandInfoMap;
206 for (MachineLoop::iterator iter = LoopInfo.begin(), in PrintLoopinfo()
214 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
216 static unsigned getLoopDepth(MachineLoop *LoopRep);
278 int mergeLoop(MachineLoop *LoopRep);
279 int loopcontPatternMatch(MachineLoop *LoopRep, MachineBasicBlock *LoopHeader);
282 MachineLoop *ContingLoop, MachineBasicBlock *ContMBB,
283 MachineLoop *ContLoop);
321 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
340 void setLoopLandBlock(MachineLoop *LoopRep, MachineBasicBlock *MBB = nullptr);
[all …]
/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 …]
DHexagonEarlyIfConv.cpp158 bool matchFlowPattern(MachineBasicBlock *B, MachineLoop *L,
160 bool visitBlock(MachineBasicBlock *B, MachineLoop *L);
161 bool visitLoop(MachineLoop *L);
210 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader()
216 MachineLoop *L, FlowPattern &FP) { in matchFlowPattern()
554 MachineLoop *L) { in visitBlock()
599 bool HexagonEarlyIfConversion::visitLoop(MachineLoop *L) { in visitLoop()
605 for (MachineLoop::iterator I = L->begin(), E = L->end(); I != E; ++I) in visitLoop()
DHexagonSplitDouble.cpp73 typedef std::map<const MachineLoop*,USet> LoopRegMap;
82 void collectIndRegsForLoop(const MachineLoop *L, USet &Rs);
422 const MachineLoop *L = MLI->getLoopFor(PB); in isProfitable()
443 void HexagonSplitDoubleRegs::collectIndRegsForLoop(const MachineLoop *L, in collectIndRegsForLoop()
540 typedef std::vector<MachineLoop*> LoopVector; in collectIndRegs()
552 MachineLoop *L = WorkQ[i]; in collectIndRegs()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h44 class MachineLoop; variable
510 typedef MachineLoop LoopT;
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2347 static void PrintParentLoopComment(raw_ostream &OS, const MachineLoop *Loop, in PrintParentLoopComment()
2360 static void PrintChildLoopComment(raw_ostream &OS, const MachineLoop *Loop, in PrintChildLoopComment()
2363 for (const MachineLoop *CL : *Loop) { in PrintChildLoopComment()
2377 const MachineLoop *Loop = LI->getLoopFor(&MBB); in emitBasicBlockLoopComments()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h509 unsigned getPrefLoopAlignment(MachineLoop *ML) const override;
DPPCISelLowering.cpp10794 unsigned PPCTargetLowering::getPrefLoopAlignment(MachineLoop *ML) const { in getPrefLoopAlignment()
/external/llvm/include/llvm/Target/
DTargetLowering.h54 class MachineLoop; variable
991 virtual unsigned getPrefLoopAlignment(MachineLoop *ML = nullptr) const {
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp2660 typedef MachineLoop LoopType;