Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.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.h51 Candidate(SUnit *SU_, SystemZHazardRecognizer &HazardRec);
91 void dump(SystemZHazardRecognizer &HazardRec) const;
108 SystemZHazardRecognizer *HazardRec; variable
/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 __anonaa0758ef0111::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/swiftshader/third_party/llvm-10.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 __anon8e00ae110111::SchedulePostRATDList
215 HazardRec = in SchedulePostRATDList()
231 delete HazardRec; in ~SchedulePostRATDList()
384 HazardRec->Reset(); in startBlock()
516 HazardRec->EmitNoop(); in emitNoop()
530 HazardRec->Reset(); in ListScheduleTopDown()
576 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in ListScheduleTopDown()
578 if (HazardRec->ShouldPreferAnother(CurSUnit)) { in ListScheduleTopDown()
623 unsigned NumPreNoops = HazardRec->PreEmitNoops(FoundSUnit); in ListScheduleTopDown()
629 HazardRec->EmitInstruction(FoundSUnit); in ListScheduleTopDown()
[all …]
DMachineScheduler.cpp1836 SchedBoundary::~SchedBoundary() { delete HazardRec; } in ~SchedBoundary()
1855 if (HazardRec && HazardRec->isEnabled()) { in reset()
1856 delete HazardRec; in reset()
1857 HazardRec = nullptr; in reset()
1993 if (HazardRec->isEnabled() in checkHazard()
1994 && HazardRec->getHazardType(SU) != ScheduleHazardRecognizer::NoHazard) { in checkHazard()
2137 if (!HazardRec->isEnabled()) { in bumpCycle()
2144 HazardRec->AdvanceCycle(); in bumpCycle()
2146 HazardRec->RecedeCycle(); in bumpCycle()
2207 if (HazardRec->isEnabled()) { in bumpNode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGVLIW.cpp64 ScheduleHazardRecognizer *HazardRec; member in __anon54ca9e390111::ScheduleDAGVLIW
74 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGVLIW()
78 delete HazardRec; in ~ScheduleDAGVLIW()
217 HazardRec->getHazardType(CurSUnit, 0/*no stalls*/); in listScheduleTopDown()
238 HazardRec->EmitInstruction(FoundSUnit); in listScheduleTopDown()
248 HazardRec->AdvanceCycle(); in listScheduleTopDown()
256 HazardRec->EmitNoop(); in listScheduleTopDown()
DScheduleDAGRRList.cpp153 ScheduleHazardRecognizer *HazardRec; member in __anon2d0c70b70111::ScheduleDAGRRList
197 HazardRec = new ScheduleHazardRecognizer(); in ScheduleDAGRRList()
199 HazardRec = STI.getInstrInfo()->CreateTargetHazardRecognizer(&STI, this); in ScheduleDAGRRList()
203 delete HazardRec; in ~ScheduleDAGRRList()
209 ScheduleHazardRecognizer *getHazardRec() { return HazardRec; } in getHazardRec()
378 HazardRec->Reset(); in Schedule()
635 if (!HazardRec->isEnabled()) { in AdvanceToCycle()
641 HazardRec->RecedeCycle(); in AdvanceToCycle()
681 HazardRec->getHazardType(SU, -Stalls); in AdvancePastStalls()
694 if (!HazardRec->isEnabled()) in EmitNode()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGVLIW.cpp65 ScheduleHazardRecognizer *HazardRec; member in __anondd1a62d70111::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 __anon085fd4d50111::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/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-10.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.h141 ScheduleHazardRecognizer *HazardRec = nullptr; member
162 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-10.0/llvm/include/llvm/CodeGen/
DMachineScheduler.h620 ScheduleHazardRecognizer *HazardRec = nullptr; variable