Lines Matching refs:Blocks
117 SmallSetVector<MachineBasicBlock *, 2> &Blocks,
185 SmallSetVector<MachineBasicBlock *, 16> &Blocks) const { in collectElseRegionBlocks()
192 if (Pred != Flow && !Blocks.contains(Pred)) in collectElseRegionBlocks()
193 Blocks.insert(Pred); in collectElseRegionBlocks()
196 if (Cur < Blocks.size()) in collectElseRegionBlocks()
197 MBB = Blocks[Cur++]; in collectElseRegionBlocks()
204 for (auto *MBB : Blocks) in collectElseRegionBlocks()
333 SmallSetVector<MachineBasicBlock *, 2> &Blocks, in collectWaterfallCandidateRegisters() argument
339 Blocks.insert(MBB); in collectWaterfallCandidateRegisters()
372 if (!Blocks.contains(DefMBB) && !CandidateRegs.contains(MOReg)) { in collectWaterfallCandidateRegisters()
379 if (!Blocks.contains(Succ) && in collectWaterfallCandidateRegisters()
402 SetVector<MachineBasicBlock *> Blocks; in updateLiveRangeInThenRegion() local
410 if (Succ != Flow && !Blocks.contains(Succ)) { in updateLiveRangeInThenRegion()
412 Blocks.insert(Succ); in updateLiveRangeInThenRegion()
418 for (MachineBasicBlock *MBB : Blocks) { in updateLiveRangeInThenRegion()
432 if (Blocks.contains(UseMI->getParent())) in updateLiveRangeInThenRegion()
437 for (MachineBasicBlock *MBB : Blocks) { in updateLiveRangeInThenRegion()
464 if (Blocks.contains(MI->getParent())) in updateLiveRangeInThenRegion()
545 SmallSetVector<MachineBasicBlock *, 2> &Blocks, in optimizeWaterfallLiveRange() argument
559 if (Blocks.contains(UseBlock)) in optimizeWaterfallLiveRange()
567 if (Blocks.contains(Pred)) in optimizeWaterfallLiveRange()
590 for (auto *Block : Blocks) { in optimizeWaterfallLiveRange()
681 SmallSetVector<MachineBasicBlock *, 2> Blocks; in runOnMachineFunction() local
684 Blocks, Instructions); in runOnMachineFunction()
688 optimizeWaterfallLiveRange(Reg, LoopHeader, Blocks, Instructions); in runOnMachineFunction()