| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 40 return EnableSchedModel && SchedModel.hasInstrSchedModel(); in hasInstrSchedModel() 65 SchedModel = TSInfo->getSchedModel(); in init() 69 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init() 71 ResourceLCM = SchedModel.IssueWidth; in init() 77 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init() 147 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 189 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency() 243 && SchedModel.isComplete()) { in computeOperandLatency() 286 return TII->defaultDefLatency(SchedModel, *MI); in computeInstrLatency() 292 if (!SchedModel.isOutOfOrder()) in computeOutputLatency() [all …]
|
| H A D | MachineScheduler.cpp | 2022 if (!SchedModel->hasInstrSchedModel()) in init() 2028 * SchedModel->getMicroOpFactor(); in init() 2043 SchedModel = smodel; in init() 2902 SchedModel = DAG->getSchedModel(); in initialize() 2908 Rem.init(DAG, SchedModel); in initialize() 2909 Top.init(DAG, SchedModel, &Rem); in initialize() 2910 Bot.init(DAG, SchedModel, &Rem); in initialize() 3014 SchedModel->getMicroOpBufferSize() * SchedModel->getMicroOpFactor(); in checkAcyclicLatency() 3515 SchedModel = DAG->getSchedModel(); in initialize() 3518 Rem.init(DAG, SchedModel); in initialize() [all …]
|
| H A D | MachineTraceMetrics.cpp | 73 SchedModel.init(&ST); in runOnMachineFunction() 109 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() 120 if (!SchedModel.hasInstrSchedModel()) in getResources() 127 PI = SchedModel.getWriteProcResBegin(SC), 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() 178 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources() 803 DepCycle += MTM.SchedModel in updateDepth() 1218 if (unsigned IW = TE.MTM.SchedModel.getIssueWidth()) in getResourceDepth() [all …]
|
| H A D | ScheduleDAGInstrs.cpp | 121 SchedModel.init(&ST); in ScheduleDAGInstrs() 272 Dep.setLatency(SchedModel.computeOperandLatency(SU->getInstr(), OperIdx, in addPhysRegDataDeps() 321 SchedModel.computeOutputLatency(MI, OperIdx, DefSU->getInstr())); in addPhysRegDeps() 447 Dep.setLatency(SchedModel.computeOperandLatency(MI, OperIdx, Use, in addVRegDefDeps() 491 SchedModel.computeOutputLatency(MI, OperIdx, DefSU->getInstr())); in addVRegDefDeps() 585 SU->Latency = SchedModel.computeInstrLatency(SU->getInstr()); in initSUnits() 595 if (SchedModel.hasInstrSchedModel()) { in initSUnits() 598 make_range(SchedModel.getWriteProcResBegin(SC), in initSUnits() 599 SchedModel.getWriteProcResEnd(SC))) { in initSUnits() 600 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
|
| H A D | EarlyIfConversion.cpp | 761 MCSchedModel SchedModel; member in __anon9918c95a0311::EarlyIfConverter 882 unsigned CritLimit = SchedModel.MispredictPenalty/2; in shouldConvertIf() 1056 SchedModel = STI.getSchedModel(); in runOnMachineFunction() 1085 TargetSchedModel SchedModel; member in __anon9918c95a0911::EarlyIfPredicator 1137 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf() 1151 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf() 1157 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf() 1191 SchedModel.init(&STI); in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 34 MCSchedModel SchedModel; variable 50 TargetSchedModel() : SchedModel(MCSchedModel::GetDefaultSchedModel()) {} in TargetSchedModel() 75 const MCSchedModel *getMCSchedModel() const { return &SchedModel; } in getMCSchedModel() 96 unsigned getProcessorID() const { return SchedModel.getProcessorID(); } in getProcessorID() 99 unsigned getIssueWidth() const { return SchedModel.IssueWidth; } in getIssueWidth() 114 return SchedModel.getNumProcResourceKinds(); in getNumProcResourceKinds() 119 return SchedModel.getProcResource(PIdx); in getProcResource() 126 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 161 unsigned getMicroOpBufferSize() const { return SchedModel.MicroOpBufferSize; } in getMicroOpBufferSize() 166 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
| H A D | ScheduleDAGInstrs.h | 125 TargetSchedModel SchedModel; variable 262 const TargetSchedModel *getSchedModel() const { return &SchedModel; } in getSchedModel() 266 if (!SU->SchedClass && SchedModel.hasInstrSchedModel()) in getSchedClass() 267 SU->SchedClass = SchedModel.resolveSchedClass(SU->getInstr()); in getSchedClass()
|
| H A D | MachineScheduler.h | 602 void init(ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel); 618 const TargetSchedModel *SchedModel = nullptr; variable 734 return RetiredMOps * SchedModel->getMicroOpFactor(); in getCriticalCount() 742 return std::max(CurrCycle * SchedModel->getLatencyFactor(), in getExecutedCount() 763 return SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin && in isUnbufferedGroup() 764 !SchedModel->getProcResource(PIdx)->BufferSize; in isUnbufferedGroup() 903 const TargetSchedModel *SchedModel); 908 const TargetSchedModel *SchedModel = nullptr; variable
|
| H A D | MachineTraceMetrics.h | 93 TargetSchedModel SchedModel; variable 416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZHazardRecognizer.cpp | 176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() 177 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU() 179 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU() 238 dbgs() << SchedModel->getProcResource(i)->Name in dumpProcResourceCounters() 244 << SchedModel->getProcResource(CriticalResourceIdx)->Name in dumpProcResourceCounters() 297 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() 298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction() 401 PI = SchedModel->getWriteProcResBegin(SC), in resourcesCost() 418 const MCSchedClassDesc *SC = SchedModel->resolveSchedClass(MI); in emitInstruction() 420 make_range(SchedModel->getWriteProcResBegin(SC), in emitInstruction() [all …]
|
| H A D | SystemZHazardRecognizer.h | 48 const TargetSchedModel *SchedModel; variable 112 : TII(tii), SchedModel(SM) { in SystemZHazardRecognizer() 122 if (!SU->SchedClass && SchedModel->hasInstrSchedModel()) in getSchedClass() 123 SU->SchedClass = SchedModel->resolveSchedClass(SU->getInstr()); in getSchedClass()
|
| H A D | SystemZMachineScheduler.cpp | 88 HazardRec = SchedStates[MBB] = new SystemZHazardRecognizer(TII, &SchedModel); in enterMBB() 136 SchedModel.init(ST); in SystemZPostRASchedStrategy()
|
| H A D | SystemZMachineScheduler.h | 38 TargetSchedModel SchedModel; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonMachineScheduler.h | 41 const TargetSchedModel *SchedModel; variable 52 : SchedModel(SM) { in VLIWResourceModel() 59 Packet.resize(SchedModel->getIssueWidth()); in VLIWResourceModel() 135 const TargetSchedModel *SchedModel = nullptr; member 167 SchedModel = smodel; in init() 175 CriticalPathLength = DAG->getBBSize() / SchedModel->getIssueWidth(); in init() 218 const TargetSchedModel *SchedModel = nullptr; variable
|
| H A D | HexagonMachineScheduler.cpp | 150 Packet.size() >= SchedModel->getIssueWidth()) { in reserveResources() 255 SchedModel = DAG->getSchedModel(); in initialize() 257 Top.init(DAG, SchedModel); in initialize() 258 Bot.init(DAG, SchedModel); in initialize() 340 unsigned uops = SchedModel->getNumMicroOps(SU->getInstr()); in checkHazard() 341 if (IssueCount + uops > SchedModel->getIssueWidth()) in checkHazard() 363 unsigned Width = SchedModel->getIssueWidth(); in bumpCycle() 407 IssueCount += SchedModel->getNumMicroOps(SU->getInstr()); in bumpNode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StorePairSuppress.cpp | 34 TargetSchedModel SchedModel; member in __anon492759390111::AArch64StorePairSuppress 87 SchedModel.getMCSchedModel()->getSchedClassDesc(SCIdx); in shouldAddSTPToBlock() 129 SchedModel.init(&ST); in runOnMachineFunction() 135 if (!SchedModel.hasInstrSchedModel()) { in runOnMachineFunction()
|
| H A D | AArch64SIMDInstrOpt.cpp | 71 TargetSchedModel SchedModel; member 222 std::string Subtarget = std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldReplaceInst() 230 SchedModel.getMCSchedModel()->getSchedClassDesc(SCIdx); in shouldReplaceInst() 242 SCDescRepl = SchedModel.getMCSchedModel()->getSchedClassDesc( in shouldReplaceInst() 254 ReplCost += SchedModel.computeInstrLatency(IDesc->getOpcode()); in shouldReplaceInst() 256 if (SchedModel.computeInstrLatency(InstDesc->getOpcode()) > ReplCost) in shouldReplaceInst() 293 std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldExitEarly() 705 SchedModel.init(&ST); in runOnMachineFunction() 706 if (!SchedModel.hasInstrSchedModel()) in runOnMachineFunction()
|
| H A D | AArch64SchedKryo.td | 40 let SchedModel = KryoModel in { 59 let SchedModel = KryoModel in { 138 } // SchedModel = KryoModel
|
| H A D | AArch64SchedFalkor.td | 36 let SchedModel = FalkorModel in { 67 let SchedModel = FalkorModel in {
|
| H A D | AArch64Schedule.td | 10 // const MachineInstr *MI and const TargetSchedModel *SchedModel 14 static_cast<const AArch64InstrInfo*>(SchedModel->getInstrInfo());
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SISchedule.td | 15 static_cast<const SIInstrInfo*>(SchedModel->getInstrInfo()); 181 let SchedModel = SIFullSpeedModel in { 195 } // End SchedModel = SIFullSpeedModel 197 let SchedModel = SIQuarterSpeedModel in { 215 } // End SchedModel = SIQuarterSpeedModel 217 let SchedModel = SIDPFullSpeedModel in { 237 } // End SchedModel = SIDPFullSpeedModel 239 let SchedModel = GFX10SpeedModel in { 265 } // End SchedModel = GFX10SpeedModel
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetSchedule.td | 187 SchedMachineModel SchedModel = ?; 202 SchedMachineModel SchedModel = ?; 244 SchedMachineModel SchedModel = ?; 267 SchedMachineModel SchedModel = ?; 323 SchedMachineModel SchedModel = ?; 364 SchedMachineModel SchedModel = ?; 374 SchedMachineModel SchedModel = ?; 401 SchedMachineModel SchedModel = ?; 431 SchedMachineModel SchedModel = ?; 444 SchedMachineModel SchedModel = ?; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCInstrItineraries.h | 111 MCSchedModel SchedModel = 122 : SchedModel(SM), Stages(S), OperandCycles(OS), Forwardings(F), in InstrItineraryData() 123 Itineraries(SchedModel.InstrItineraries) {} in InstrItineraryData()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSubtargetInfo.cpp | 323 assert(CPUEntry->SchedModel && "Missing processor SchedModel value"); in getSchedModelForCPU() 324 return *CPUEntry->SchedModel; in getSchedModelForCPU() 329 const MCSchedModel &SchedModel = getSchedModelForCPU(CPU); in getInstrItineraryForCPU() local 330 return InstrItineraryData(SchedModel, Stages, OperandCycles, ForwardingPaths); in getInstrItineraryForCPU()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 201 SchedModel = getSchedModelForCPU(CPUString); in initSubtargetFeatures() 376 return SchedModel.MispredictPenalty; in getMispredictionPenalty()
|