Home
last modified time | relevance | path

Searched refs:HazardRec (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp27 dump(SystemZHazardRecognizer &HazardRec) const { in dump()
30 HazardRec.dumpSU(SU, dbgs()); in dump()
62 MachineBasicBlock::iterator LastEmittedMI = HazardRec->getLastEmittedMI(); in advanceTo()
70 HazardRec->emitInstruction(&*I); in advanceTo()
75 LLVM_DEBUG(HazardRec->dumpState();); in initialize()
87 HazardRec = SchedStates[MBB] = new SystemZHazardRecognizer(TII, &SchedModel); in enterMBB()
103 HazardRec->copyState(SchedStates[SinglePredMBB]); in enterMBB()
104 LLVM_DEBUG(HazardRec->dumpState();); in enterMBB()
114 HazardRec->emitInstruction(&*I, TakenBranch); in enterMBB()
133 MBB(nullptr), HazardRec(nullptr) { in SystemZPostRASchedStrategy()
[all …]
DSystemZMachineScheduler.h52 Candidate(SUnit *SU_, SystemZHazardRecognizer &HazardRec);
92 void dump(SystemZHazardRecognizer &HazardRec) const;
109 SystemZHazardRecognizer *HazardRec; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPostRAHazardRecognizer.cpp71 std::unique_ptr<ScheduleHazardRecognizer> HazardRec( in runOnMachineFunction() local
75 if (!HazardRec.get()) in runOnMachineFunction()
84 unsigned NumPreNoops = HazardRec->PreEmitNoops(&MI); in runOnMachineFunction()
86 HazardRec->EmitNoop(); in runOnMachineFunction()
91 HazardRec->EmitInstruction(&MI); in runOnMachineFunction()
92 if (HazardRec->atIssueLimit()) { in runOnMachineFunction()
93 HazardRec->AdvanceCycle(); in runOnMachineFunction()
DPostRASchedulerList.cpp126 ScheduleHazardRecognizer *HazardRec; member in __anone97cb04d0111::SchedulePostRATDList
215 HazardRec = in SchedulePostRATDList()
231 delete HazardRec; in ~SchedulePostRATDList()
384 HazardRec->Reset(); in startBlock()
520 HazardRec->EmitNoop(); in emitNoop()
534 HazardRec->Reset(); in ListScheduleTopDown()
580 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in ListScheduleTopDown()
582 if (HazardRec->ShouldPreferAnother(CurSUnit)) { in ListScheduleTopDown()
627 unsigned NumPreNoops = HazardRec->PreEmitNoops(FoundSUnit); in ListScheduleTopDown()
633 HazardRec->EmitInstruction(FoundSUnit); in ListScheduleTopDown()
[all …]
DMachineScheduler.cpp1819 SchedBoundary::~SchedBoundary() { delete HazardRec; } in ~SchedBoundary()
1832 if (HazardRec && HazardRec->isEnabled()) { in reset()
1833 delete HazardRec; in reset()
1834 HazardRec = nullptr; in reset()
1937 if (HazardRec->isEnabled() in checkHazard()
1938 && HazardRec->getHazardType(SU) != ScheduleHazardRecognizer::NoHazard) { in checkHazard()
2070 if (!HazardRec->isEnabled()) { in bumpCycle()
2077 HazardRec->AdvanceCycle(); in bumpCycle()
2079 HazardRec->RecedeCycle(); in bumpCycle()
2138 if (HazardRec->isEnabled()) { in bumpNode()
[all …]
/external/llvm/lib/CodeGen/
DPostRAHazardRecognizer.cpp71 std::unique_ptr<ScheduleHazardRecognizer> HazardRec( in runOnMachineFunction() local
75 if (!HazardRec.get()) in runOnMachineFunction()
84 unsigned NumPreNoops = HazardRec->PreEmitNoops(&MI); in runOnMachineFunction()
86 HazardRec->EmitNoop(); in runOnMachineFunction()
91 HazardRec->EmitInstruction(&MI); in runOnMachineFunction()
92 if (HazardRec->atIssueLimit()) { in runOnMachineFunction()
93 HazardRec->AdvanceCycle(); in runOnMachineFunction()
DPostRASchedulerList.cpp126 ScheduleHazardRecognizer *HazardRec; member in __anon160cd3b50111::SchedulePostRATDList
215 HazardRec = in SchedulePostRATDList()
231 delete HazardRec; in ~SchedulePostRATDList()
384 HazardRec->Reset(); in startBlock()
521 HazardRec->EmitNoop(); in emitNoop()
535 HazardRec->Reset(); in ListScheduleTopDown()
580 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in ListScheduleTopDown()
582 if (HazardRec->ShouldPreferAnother(CurSUnit)) { in ListScheduleTopDown()
626 unsigned NumPreNoops = HazardRec->PreEmitNoops(FoundSUnit); in ListScheduleTopDown()
632 HazardRec->EmitInstruction(FoundSUnit); in ListScheduleTopDown()
[all …]
DMachineScheduler.cpp1750 SchedBoundary::~SchedBoundary() { delete HazardRec; } in ~SchedBoundary()
1756 if (HazardRec && HazardRec->isEnabled()) { in reset()
1757 delete HazardRec; in reset()
1758 HazardRec = nullptr; in reset()
1863 if (HazardRec->isEnabled() in checkHazard()
1864 && HazardRec->getHazardType(SU) != ScheduleHazardRecognizer::NoHazard) { in checkHazard()
2000 if (!HazardRec->isEnabled()) { in bumpCycle()
2007 HazardRec->AdvanceCycle(); in bumpCycle()
2009 HazardRec->RecedeCycle(); in bumpCycle()
2067 if (HazardRec->isEnabled()) { in bumpNode()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGVLIW.cpp65 ScheduleHazardRecognizer *HazardRec; member in __anonc8155c5d0111::ScheduleDAGVLIW
76 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGVLIW()
80 delete HazardRec; in ~ScheduleDAGVLIW()
220 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in listScheduleTopDown()
241 HazardRec->EmitInstruction(FoundSUnit); in listScheduleTopDown()
251 HazardRec->AdvanceCycle(); in listScheduleTopDown()
259 HazardRec->EmitNoop(); in listScheduleTopDown()
DScheduleDAGRRList.cpp128 ScheduleHazardRecognizer *HazardRec; member in __anon9dff47db0111::ScheduleDAGRRList
171 HazardRec = new ScheduleHazardRecognizer(); in ScheduleDAGRRList()
173 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGRRList()
177 delete HazardRec; in ~ScheduleDAGRRList()
183 ScheduleHazardRecognizer *getHazardRec() { return HazardRec; } in getHazardRec()
345 HazardRec->Reset(); in Schedule()
606 if (!HazardRec->isEnabled()) { in AdvanceToCycle()
612 HazardRec->RecedeCycle(); in AdvanceToCycle()
652 HazardRec->getHazardType(SU, -Stalls); in AdvancePastStalls()
665 if (!HazardRec->isEnabled()) in EmitNode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGVLIW.cpp65 ScheduleHazardRecognizer *HazardRec; member in __anon6362e3f50111::ScheduleDAGVLIW
76 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGVLIW()
80 delete HazardRec; in ~ScheduleDAGVLIW()
219 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in listScheduleTopDown()
240 HazardRec->EmitInstruction(FoundSUnit); in listScheduleTopDown()
250 HazardRec->AdvanceCycle(); in listScheduleTopDown()
258 HazardRec->EmitNoop(); in listScheduleTopDown()
DScheduleDAGRRList.cpp154 ScheduleHazardRecognizer *HazardRec; member in __anon42cd15730111::ScheduleDAGRRList
198 HazardRec = new ScheduleHazardRecognizer(); in ScheduleDAGRRList()
200 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGRRList()
204 delete HazardRec; in ~ScheduleDAGRRList()
210 ScheduleHazardRecognizer *getHazardRec() { return HazardRec; } in getHazardRec()
373 HazardRec->Reset(); in Schedule()
630 if (!HazardRec->isEnabled()) { in AdvanceToCycle()
636 HazardRec->RecedeCycle(); in AdvanceToCycle()
676 HazardRec->getHazardType(SU, -Stalls); in AdvancePastStalls()
689 if (!HazardRec->isEnabled()) in EmitNode()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.cpp214 delete Top.HazardRec; in initialize()
215 delete Bot.HazardRec; in initialize()
216 Top.HazardRec = TII->CreateTargetMIHazardRecognizer(Itin, DAG); in initialize()
217 Bot.HazardRec = TII->CreateTargetMIHazardRecognizer(Itin, DAG); in initialize()
278 if (HazardRec->isEnabled()) in checkHazard()
279 return HazardRec->getHazardType(SU) != ScheduleHazardRecognizer::NoHazard; in checkHazard()
310 if (!HazardRec->isEnabled()) { in bumpCycle()
317 HazardRec->AdvanceCycle(); in bumpCycle()
319 HazardRec->RecedeCycle(); in bumpCycle()
333 if (HazardRec->isEnabled()) { in bumpNode()
[all …]
DHexagonMachineScheduler.h140 ScheduleHazardRecognizer *HazardRec; member
157 CheckPending(false), HazardRec(nullptr), ResourceModel(nullptr), in VLIWSchedBoundary()
163 delete HazardRec; in ~VLIWSchedBoundary() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.cpp265 delete Top.HazardRec; in initialize()
266 delete Bot.HazardRec; in initialize()
267 Top.HazardRec = TII->CreateTargetMIHazardRecognizer(Itin, DAG); in initialize()
268 Bot.HazardRec = TII->CreateTargetMIHazardRecognizer(Itin, DAG); in initialize()
337 if (HazardRec->isEnabled()) in checkHazard()
338 return HazardRec->getHazardType(SU) != ScheduleHazardRecognizer::NoHazard; in checkHazard()
370 if (!HazardRec->isEnabled()) { in bumpCycle()
377 HazardRec->AdvanceCycle(); in bumpCycle()
379 HazardRec->RecedeCycle(); in bumpCycle()
393 if (HazardRec->isEnabled()) { in bumpNode()
[all …]
DHexagonMachineScheduler.h142 ScheduleHazardRecognizer *HazardRec = nullptr; member
163 delete HazardRec; in ~VLIWSchedBoundary() local
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h587 ScheduleHazardRecognizer *HazardRec; variable
653 HazardRec(nullptr) { in SchedBoundary()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineScheduler.h628 ScheduleHazardRecognizer *HazardRec = nullptr; variable