Home
last modified time | relevance | path

Searched refs:RegionEnd (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DR600Packetizer.cpp375 for(MachineBasicBlock::iterator RegionEnd = MBB->end(); in runOnMachineFunction() local
376 RegionEnd != MBB->begin();) { in runOnMachineFunction()
379 MachineBasicBlock::iterator I = RegionEnd; in runOnMachineFunction()
387 if (I == RegionEnd) { in runOnMachineFunction()
388 RegionEnd = std::prev(RegionEnd); in runOnMachineFunction()
393 if (I == std::prev(RegionEnd)) { in runOnMachineFunction()
394 RegionEnd = std::prev(RegionEnd); in runOnMachineFunction()
398 Packetizer.PacketizeMIs(&*MBB, &*I, RegionEnd); in runOnMachineFunction()
399 RegionEnd = I; in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600Packetizer.cpp374 for(MachineBasicBlock::iterator RegionEnd = MBB->end(); in runOnMachineFunction() local
375 RegionEnd != MBB->begin();) { in runOnMachineFunction()
378 MachineBasicBlock::iterator I = RegionEnd; in runOnMachineFunction()
386 if (I == RegionEnd) { in runOnMachineFunction()
387 RegionEnd = std::prev(RegionEnd); in runOnMachineFunction()
392 if (I == std::prev(RegionEnd)) { in runOnMachineFunction()
393 RegionEnd = std::prev(RegionEnd); in runOnMachineFunction()
397 Packetizer.PacketizeMIs(&*MBB, &*I, RegionEnd); in runOnMachineFunction()
398 RegionEnd = I; in runOnMachineFunction()
DGCNSchedStrategy.cpp308 Regions.push_back(std::make_pair(RegionBegin, RegionEnd)); in schedule()
331 Regions[RegionIdx] = std::make_pair(RegionBegin, RegionEnd); in schedule()
379 RegionEnd = RegionBegin; in schedule()
384 if (MI->getIterator() != RegionEnd) { in schedule()
386 BB->insert(RegionEnd, MI); in schedule()
406 RegionEnd = MI->getIterator(); in schedule()
407 ++RegionEnd; in schedule()
411 Regions[RegionIdx] = std::make_pair(RegionBegin, RegionEnd); in schedule()
512 RegionEnd = Region.second; in finalizeSchedule()
535 if (RegionEnd != MBB->end()) dbgs() << *RegionEnd; in finalizeSchedule()
DGCNIterativeScheduler.cpp203 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End); in schedule()
209 Sch.RegionEnd = Rgn.End; in schedule()
216 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End); in restoreOrder()
315 LLVM_DEBUG(printLivenessInfo(dbgs(), RegionBegin, RegionEnd, LIS); in schedule()
375 assert(RegionBegin == R.Begin && RegionEnd == R.End); in scheduleRegion()
413 RegionEnd = R.End; in scheduleRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPostRASchedulerList.cpp397 AntiDepBreak->BreakAntiDependencies(SUnits, RegionBegin, RegionEnd, in schedule()
677 RegionBegin = RegionEnd; in EmitSchedule()
681 BB->splice(RegionEnd, BB, FirstDbgValue); in EmitSchedule()
686 BB->splice(RegionEnd, BB, SU->getInstr()); in EmitSchedule()
689 TII->insertNoop(*BB, RegionEnd); in EmitSchedule()
694 RegionBegin = std::prev(RegionEnd); in EmitSchedule()
DMachineScheduler.cpp449 MachineBasicBlock::iterator RegionEnd; member
454 RegionBegin(B), RegionEnd(E), NumRegionInstrs(N) {} in SchedRegion()
468 for(MachineBasicBlock::iterator RegionEnd = MBB->end(); in getSchedRegions() local
469 RegionEnd != MBB->begin(); RegionEnd = I) { in getSchedRegions()
472 if (RegionEnd != MBB->end() || in getSchedRegions()
473 isSchedBoundary(&*std::prev(RegionEnd), &*MBB, MF, TII)) { in getSchedRegions()
474 --RegionEnd; in getSchedRegions()
480 I = RegionEnd; in getSchedRegions()
491 Regions.push_back(SchedRegion(I, RegionEnd, NumRegionInstrs)); in getSchedRegions()
537 MachineBasicBlock::iterator RegionEnd = R->RegionEnd; in scheduleRegions() local
[all …]
DScheduleDAGInstrs.cpp193 RegionEnd = end; in enterRegion()
202 MachineInstr *ExitMI = RegionEnd != BB->end() ? &*RegionEnd : nullptr; in addSchedBarrierDeps()
536 for (MachineInstr &MI : make_range(RegionBegin, RegionEnd)) { in initSUnits()
756 for (MachineBasicBlock::iterator MII = RegionEnd, MIE = RegionBegin; in buildSchedGraph()
784 if (RPTracker->getPos() == RegionEnd || &*RPTracker->getPos() != &MI) in buildSchedGraph()
/external/llvm/lib/CodeGen/
DPostRASchedulerList.cpp397 AntiDepBreak->BreakAntiDependencies(SUnits, RegionBegin, RegionEnd, in schedule()
675 RegionBegin = RegionEnd; in EmitSchedule()
679 BB->splice(RegionEnd, BB, FirstDbgValue); in EmitSchedule()
684 BB->splice(RegionEnd, BB, SU->getInstr()); in EmitSchedule()
687 TII->insertNoop(*BB, RegionEnd); in EmitSchedule()
692 RegionBegin = std::prev(RegionEnd); in EmitSchedule()
DMachineScheduler.cpp447 for(MachineBasicBlock::iterator RegionEnd = MBB->end(); in scheduleRegions() local
448 RegionEnd != MBB->begin(); RegionEnd = Scheduler.begin()) { in scheduleRegions()
451 if (RegionEnd != MBB->end() || in scheduleRegions()
452 isSchedBoundary(&*std::prev(RegionEnd), &*MBB, MF, TII)) { in scheduleRegions()
453 --RegionEnd; in scheduleRegions()
459 MachineBasicBlock::iterator I = RegionEnd; in scheduleRegions()
468 Scheduler.enterRegion(&*MBB, I, RegionEnd, NumRegionInstrs); in scheduleRegions()
471 if (I == RegionEnd || I == std::prev(RegionEnd)) { in scheduleRegions()
481 if (RegionEnd != MBB->end()) dbgs() << *RegionEnd; in scheduleRegions()
499 RegionEnd = Scheduler.begin(); in scheduleRegions()
[all …]
DScheduleDAGInstrs.cpp231 RegionEnd = end; in enterRegion()
250 MachineInstr *ExitMI = RegionEnd != BB->end() ? &*RegionEnd : nullptr; in addSchedBarrierDeps()
648 for (MachineInstr &MI : llvm::make_range(RegionBegin, RegionEnd)) { in initSUnits()
913 for (MachineBasicBlock::iterator MII = RegionEnd, MIE = RegionBegin; in buildSchedGraph()
/external/llvm/include/llvm/CodeGen/
DScheduleDAGInstrs.h132 MachineBasicBlock::iterator RegionEnd; variable
256 MachineBasicBlock::iterator end() const { return RegionEnd; } in end()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DScheduleDAGInstrs.h151 MachineBasicBlock::iterator RegionEnd; variable
270 MachineBasicBlock::iterator end() const { return RegionEnd; } in end()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp403 if (Function *RegionEnd = M->getFunction("llvm.dbg.region.end")) { in CheckDebugInfoIntrinsics() local
404 while (!RegionEnd->use_empty()) in CheckDebugInfoIntrinsics()
405 cast<CallInst>(RegionEnd->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics()
406 RegionEnd->eraseFromParent(); in CheckDebugInfoIntrinsics()