/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetSchedule.cpp | 41 return EnableSchedModel && SchedModel.hasInstrSchedModel(); in hasInstrSchedModel() 66 SchedModel = TSInfo->getSchedModel(); in init() 70 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init() 72 ResourceLCM = SchedModel.IssueWidth; in init() 74 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() 78 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init() 80 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() 137 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 148 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 190 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency() [all …]
|
D | MachineScheduler.cpp | 1209 if (SchedModel.mustBeginGroup(SU.getInstr()) && in schedule() 1210 SchedModel.mustEndGroup(SU.getInstr())) in schedule() 1861 init(ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel) { in init() argument 1863 if (!SchedModel->hasInstrSchedModel()) in init() 1865 RemainingCounts.resize(SchedModel->getNumProcResourceKinds()); in init() 1868 RemIssueCount += SchedModel->getNumMicroOps(SU.getInstr(), SC) in init() 1869 * SchedModel->getMicroOpFactor(); in init() 1871 PI = SchedModel->getWriteProcResBegin(SC), in init() 1872 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in init() 1874 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() [all …]
|
D | MachineTraceMetrics.cpp | 73 SchedModel.init(&ST); in runOnMachineFunction() 76 SchedModel.getNumProcResourceKinds()); in runOnMachineFunction() 109 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() 120 if (!SchedModel.hasInstrSchedModel()) in getResources() 122 const MCSchedClassDesc *SC = SchedModel.resolveSchedClass(&MI); in getResources() 127 PI = SchedModel.getWriteProcResBegin(SC), in getResources() 128 PE = SchedModel.getWriteProcResEnd(SC); PI != PE; ++PI) { in getResources() 139 PRCycles[K] * SchedModel.getResourceFactor(K); in getResources() 148 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcResourceCycles() 160 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | TargetSchedule.h | 35 MCSchedModel SchedModel; variable 47 …TargetSchedModel(): SchedModel(MCSchedModel::GetDefaultSchedModel()), STI(nullptr), TII(nullptr) {} in TargetSchedModel() 70 const MCSchedModel *getMCSchedModel() const { return &SchedModel; } in getMCSchedModel() 91 unsigned getProcessorID() const { return SchedModel.getProcessorID(); } in getProcessorID() 94 unsigned getIssueWidth() const { return SchedModel.IssueWidth; } in getIssueWidth() 102 return SchedModel.getNumProcResourceKinds(); in getNumProcResourceKinds() 107 return SchedModel.getProcResource(PIdx); in getProcResource() 114 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 149 unsigned getMicroOpBufferSize() const { return SchedModel.MicroOpBufferSize; } in getMicroOpBufferSize() 154 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
D | ScheduleDAGInstrs.h | 106 TargetSchedModel SchedModel; variable 243 const TargetSchedModel *getSchedModel() const { return &SchedModel; } in getSchedModel() 247 if (!SU->SchedClass && SchedModel.hasInstrSchedModel()) in getSchedClass() 248 SU->SchedClass = SchedModel.resolveSchedClass(SU->getInstr()); in getSchedClass()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetSchedule.h | 35 MCSchedModel SchedModel; variable 47 TargetSchedModel() : SchedModel(MCSchedModel::GetDefaultSchedModel()) {} in TargetSchedModel() 72 const MCSchedModel *getMCSchedModel() const { return &SchedModel; } in getMCSchedModel() 93 unsigned getProcessorID() const { return SchedModel.getProcessorID(); } in getProcessorID() 96 unsigned getIssueWidth() const { return SchedModel.IssueWidth; } in getIssueWidth() 111 return SchedModel.getNumProcResourceKinds(); in getNumProcResourceKinds() 116 return SchedModel.getProcResource(PIdx); in getProcResource() 123 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 158 unsigned getMicroOpBufferSize() const { return SchedModel.MicroOpBufferSize; } in getMicroOpBufferSize() 163 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
/external/llvm/lib/CodeGen/ |
D | TargetSchedule.cpp | 31 return EnableSchedModel && SchedModel.hasInstrSchedModel(); in hasInstrSchedModel() 56 SchedModel = sm; in init() 61 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init() 63 ResourceLCM = SchedModel.IssueWidth; in init() 65 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() 69 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init() 71 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() 106 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 117 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 159 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency() [all …]
|
D | MachineScheduler.cpp | 1786 init(ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel) { in init() argument 1788 if (!SchedModel->hasInstrSchedModel()) in init() 1790 RemainingCounts.resize(SchedModel->getNumProcResourceKinds()); in init() 1794 RemIssueCount += SchedModel->getNumMicroOps(I->getInstr(), SC) in init() 1795 * SchedModel->getMicroOpFactor(); in init() 1797 PI = SchedModel->getWriteProcResBegin(SC), in init() 1798 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in init() 1800 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() 1810 SchedModel = smodel; in init() 1812 if (SchedModel->hasInstrSchedModel()) { in init() [all …]
|
D | MachineTraceMetrics.cpp | 60 SchedModel.init(ST.getSchedModel(), &ST, TII); in runOnMachineFunction() 63 SchedModel.getNumProcResourceKinds()); in runOnMachineFunction() 96 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() 107 if (!SchedModel.hasInstrSchedModel()) in getResources() 109 const MCSchedClassDesc *SC = SchedModel.resolveSchedClass(&MI); in getResources() 114 PI = SchedModel.getWriteProcResBegin(SC), in getResources() 115 PE = SchedModel.getWriteProcResEnd(SC); PI != PE; ++PI) { in getResources() 126 PRCycles[K] * SchedModel.getResourceFactor(K); in getResources() 135 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcResourceCycles() 148 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZHazardRecognizer.cpp | 149 for (unsigned i = 0; i < SchedModel->getNumProcResourceKinds(); ++i) in nextGroup() 172 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() 173 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU() 175 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU() 222 for (unsigned i = 0; i < SchedModel->getNumProcResourceKinds(); ++i) in dumpProcResourceCounters() 232 for (unsigned i = 0; i < SchedModel->getNumProcResourceKinds(); ++i) in dumpProcResourceCounters() 234 dbgs() << SchedModel->getProcResource(i)->Name in dumpProcResourceCounters() 240 << SchedModel->getProcResource(CriticalResourceIdx)->Name in dumpProcResourceCounters() 256 ProcResourceCounters.assign(SchedModel->getNumProcResourceKinds(), 0); in clearProcResCounters() 293 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() [all …]
|
D | SystemZHazardRecognizer.h | 49 const TargetSchedModel *SchedModel; variable 113 : TII(tii), SchedModel(SM) { in SystemZHazardRecognizer() 123 if (!SU->SchedClass && SchedModel->hasInstrSchedModel()) in getSchedClass() 124 SU->SchedClass = SchedModel->resolveSchedClass(SU->getInstr()); in getSchedClass()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonMachineScheduler.h | 46 const TargetSchedModel *SchedModel; variable 57 : SchedModel(SM), TotalPackets(0) { in VLIWResourceModel() 64 Packet.resize(SchedModel->getIssueWidth()); in VLIWResourceModel() 134 const TargetSchedModel *SchedModel; member 155 DAG(nullptr), SchedModel(nullptr), Available(ID, Name+".A"), in VLIWSchedBoundary() 168 SchedModel = smodel; in init() 191 const TargetSchedModel *SchedModel; variable 206 : DAG(nullptr), SchedModel(nullptr), Top(TopQID, "TopQ"), in ConvergingVLIWScheduler()
|
D | HexagonMachineScheduler.cpp | 130 if (Packet.size() >= SchedModel->getIssueWidth()) { in reserveResources() 204 SchedModel = DAG->getSchedModel(); in initialize() 206 Top.init(DAG, SchedModel); in initialize() 207 Bot.init(DAG, SchedModel); in initialize() 281 unsigned uops = SchedModel->getNumMicroOps(SU->getInstr()); in checkHazard() 282 if (IssueCount + uops > SchedModel->getIssueWidth()) in checkHazard() 304 unsigned Width = SchedModel->getIssueWidth(); in bumpCycle() 347 IssueCount += SchedModel->getNumMicroOps(SU->getInstr()); in bumpNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonMachineScheduler.h | 42 const TargetSchedModel *SchedModel; variable 53 : SchedModel(SM) { in VLIWResourceModel() 60 Packet.resize(SchedModel->getIssueWidth()); in VLIWResourceModel() 136 const TargetSchedModel *SchedModel = nullptr; member 168 SchedModel = smodel; in init() 176 CriticalPathLength = DAG->getBBSize() / SchedModel->getIssueWidth(); in init() 219 const TargetSchedModel *SchedModel = nullptr; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86PfmCounters.td | 14 let SchedModel = SandyBridgeModel in { 25 let SchedModel = HaswellModel in { 37 let SchedModel = BroadwellModel in { 49 let SchedModel = SkylakeClientModel in { 61 let SchedModel = SkylakeServerModel in { 73 let SchedModel = BtVer2Model in {
|
/external/llvm/include/llvm/Target/ |
D | TargetSchedule.td | 177 // SchedModel ties these units to a processor for any stand-alone defs 179 // attached to a processor, so SchedModel is not needed. 185 SchedMachineModel SchedModel = ?; 200 SchedMachineModel SchedModel = ?; 238 // SchedModel silences warnings but is ignored. 242 SchedMachineModel SchedModel = ?; 247 // SchedModel ties these resources to a processor. 258 SchedMachineModel SchedModel = ?; 301 // type at the same time. This class is unaware of its SchedModel so 308 // SchedModel ties these resources to a processor. [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64StorePairSuppress.cpp | 33 TargetSchedModel SchedModel; member in __anon2d5b16900111::AArch64StorePairSuppress 83 SchedModel.getMCSchedModel()->getSchedClassDesc(SCIdx); in shouldAddSTPToBlock() 125 SchedModel.init(ST.getSchedModel(), &ST, TII); in runOnMachineFunction() 131 if (!SchedModel.hasInstrSchedModel()) { in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64StorePairSuppress.cpp | 35 TargetSchedModel SchedModel; member in __anon5694fee80111::AArch64StorePairSuppress 88 SchedModel.getMCSchedModel()->getSchedClassDesc(SCIdx); in shouldAddSTPToBlock() 130 SchedModel.init(&ST); in runOnMachineFunction() 136 if (!SchedModel.hasInstrSchedModel()) { in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenSubtargetInfo.inc | 10975 …nsigned SchedClass, const MachineInstr *DefMI, const TargetSchedModel *SchedModel) const override; 11002 ::resolveSchedClass(unsigned SchedClass, const MachineInstr *MI, const TargetSchedModel *SchedModel… 11005 static_cast<const AArch64InstrInfo*>(SchedModel->getInstrInfo()); 11010 if (SchedModel->getProcessorID() == 1) { // CortexA53Model 11016 if (SchedModel->getProcessorID() == 8) { // ThunderXT8XModel 11024 if (SchedModel->getProcessorID() == 1) { // CortexA53Model 11030 if (SchedModel->getProcessorID() == 8) { // ThunderXT8XModel 11038 if (SchedModel->getProcessorID() == 3) { // CycloneModel 11044 if (SchedModel->getProcessorID() == 4) { // ExynosM1Model 11054 if (SchedModel->getProcessorID() == 5) { // ExynosM3Model [all …]
|
/external/llvm/include/llvm/MC/ |
D | MCInstrItineraries.h | 111 MCSchedModel SchedModel; ///< Basic machine properties. 118 InstrItineraryData() : SchedModel(MCSchedModel::GetDefaultSchedModel()), in InstrItineraryData() 124 : SchedModel(SM), Stages(S), OperandCycles(OS), Forwardings(F), in InstrItineraryData() 125 Itineraries(SchedModel.InstrItineraries) {} in InstrItineraryData()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/ |
D | TargetSchedule.td | 183 // SchedModel ties these units to a processor for any stand-alone defs 191 SchedMachineModel SchedModel = ?; 206 SchedMachineModel SchedModel = ?; 244 // SchedModel silences warnings but is ignored. 248 SchedMachineModel SchedModel = ?; 253 // SchedModel ties these resources to a processor. 267 SchedMachineModel SchedModel = ?; 309 // type at the same time. This class is unaware of its SchedModel so 316 // SchedModel ties these resources to a processor. 323 SchedMachineModel SchedModel = ?; [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SISchedule.td | 16 static_cast<const SIInstrInfo*>(SchedModel->getInstrInfo()); 112 let SchedModel = SIFullSpeedModel in { 122 } // End SchedModel = SIFullSpeedModel 124 let SchedModel = SIQuarterSpeedModel in { 134 } // End SchedModel = SIQuarterSpeedModel
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SISchedule.td | 16 static_cast<const SIInstrInfo*>(SchedModel->getInstrInfo()); 121 let SchedModel = SIFullSpeedModel in { 131 } // End SchedModel = SIFullSpeedModel 133 let SchedModel = SIQuarterSpeedModel in { 143 } // End SchedModel = SIQuarterSpeedModel
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | Uops.cpp | 203 const auto &SchedModel = State.getSubtargetInfo().getSchedModel(); in runMeasurements() local 207 ProcResIdx < SchedModel.getNumProcResourceKinds(); ++ProcResIdx) { in runMeasurements() 208 const char *const PfmCounters = SchedModel.getExtraProcessorInfo() in runMeasurements() 230 SchedModel.getProcResource(ProcResIdx)->Name}); in runMeasurements()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCInstrItineraries.h | 109 MCSchedModel SchedModel = 120 : SchedModel(SM), Stages(S), OperandCycles(OS), Forwardings(F), in InstrItineraryData() 121 Itineraries(SchedModel.InstrItineraries) {} in InstrItineraryData()
|