Home
last modified time | relevance | path

Searched refs:SchedClass (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSchedule.cpp57 unsigned SchedClass) const { in computeInstrLatency()
71 const MCSchedClassDesc *SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency()
77 SchedClass = STI.resolveVariantSchedClass(SchedClass, &Inst, &MCII, CPUID); in computeInstrLatency()
78 SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency()
81 if (SchedClass) in computeInstrLatency()
123 SchedClass = STI.resolveVariantSchedClass(SchedClass, &Inst, &MCII, CPUID); in getReciprocalThroughput()
124 SCDesc = getSchedClassDesc(SchedClass); in getReciprocalThroughput()
127 if (SchedClass) in getReciprocalThroughput()
134 MCSchedModel::getReciprocalThroughput(unsigned SchedClass, in getReciprocalThroughput() argument
137 const InstrStage *I = IID.beginStage(SchedClass); in getReciprocalThroughput()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonDepTimingClasses.h19 inline bool is_TC1(unsigned SchedClass) { in is_TC1() argument
20 switch (SchedClass) { in is_TC1()
66 inline bool is_TC2(unsigned SchedClass) { in is_TC2() argument
67 switch (SchedClass) { in is_TC2()
98 inline bool is_TC2early(unsigned SchedClass) { in is_TC2early() argument
99 switch (SchedClass) { in is_TC2early()
108 inline bool is_TC3x(unsigned SchedClass) { in is_TC3x() argument
109 switch (SchedClass) { in is_TC3x()
139 inline bool is_TC4x(unsigned SchedClass) { in is_TC4x() argument
140 switch (SchedClass) { in is_TC4x()
H A DHexagonInstrInfo.cpp2656 unsigned SchedClass = MI.getDesc().getSchedClass(); in isTC1() local
2657 return is_TC1(SchedClass); in isTC1()
2661 unsigned SchedClass = MI.getDesc().getSchedClass(); in isTC2() local
2662 return is_TC2(SchedClass); in isTC2()
2666 unsigned SchedClass = MI.getDesc().getSchedClass(); in isTC2Early() local
2667 return is_TC2early(SchedClass); in isTC2Early()
2671 unsigned SchedClass = MI.getDesc().getSchedClass(); in isTC4x() local
2672 return is_TC4x(SchedClass); in isTC4x()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetSchedule.cpp134 unsigned SchedClass = MI->getDesc().getSchedClass(); in resolveSchedClass() local
135 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
145 SchedClass = STI->resolveSchedClass(SchedClass, MI, this); in resolveSchedClass()
146 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
326 unsigned SchedClass = MI->getDesc().getSchedClass(); in computeReciprocalThroughput() local
327 return MCSchedModel::getReciprocalThroughput(SchedClass, in computeReciprocalThroughput()
339 unsigned SchedClass = TII->get(Opcode).getSchedClass(); in computeReciprocalThroughput() local
341 return MCSchedModel::getReciprocalThroughput(SchedClass, in computeReciprocalThroughput()
344 const MCSchedClassDesc &SCDesc = *SchedModel.getSchedClassDesc(SchedClass); in computeReciprocalThroughput()
H A DMachinePipeliner.cpp998 unsigned SchedClass = Inst->getDesc().getSchedClass(); in minFuncUnits() local
1002 make_range(InstrItins->beginStage(SchedClass), in minFuncUnits()
1003 InstrItins->endStage(SchedClass))) { in minFuncUnits()
1015 STI->getSchedModel().getSchedClassDesc(SchedClass); in minFuncUnits()
1045 unsigned SchedClass = MI.getDesc().getSchedClass(); in calcCriticalResources() local
1048 make_range(InstrItins->beginStage(SchedClass), in calcCriticalResources()
1049 InstrItins->endStage(SchedClass))) { in calcCriticalResources()
1058 STI->getSchedModel().getSchedClassDesc(SchedClass); in calcCriticalResources()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.h122 if (!SU->SchedClass && SchedModel->hasInstrSchedModel()) in getSchedClass()
123 SU->SchedClass = SchedModel->resolveSchedClass(SU->getInstr()); in getSchedClass()
124 return SU->SchedClass; in getSchedClass()
H A DSystemZScheduleZ196.td103 // resources that it needs. These will be combined into a SchedClass.
H A DSystemZScheduleZEC12.td106 // resources that it needs. These will be combined into a SchedClass.
H A DSystemZScheduleZ13.td122 // resources that it needs. These will be combined into a SchedClass.
H A DSystemZScheduleZ16.td123 // resources that it needs. These will be combined into a SchedClass.
H A DSystemZScheduleZ15.td122 // resources that it needs. These will be combined into a SchedClass.
H A DSystemZScheduleZ14.td122 // resources that it needs. These will be combined into a SchedClass.
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DScheduleDAGInstrs.h266 if (!SU->SchedClass && SchedModel.hasInstrSchedModel()) in getSchedClass()
267 SU->SchedClass = SchedModel.resolveSchedClass(SU->getInstr()); in getSchedClass()
268 return SU->SchedClass; in getSchedClass()
H A DTargetSubtargetInfo.h141 virtual unsigned resolveSchedClass(unsigned SchedClass, in resolveSchedClass() argument
H A DScheduleDAG.h253 const MCSchedClassDesc *SchedClass = variable
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.cpp435 int SchedClass = HexagonMCInstrInfo::getDesc(MCII, MCI).getSchedClass(); in getCVIResources() local
436 int Size = II[SchedClass].LastStage - II[SchedClass].FirstStage; in getCVIResources()
442 unsigned Stage = II[SchedClass].LastStage - 1; in getCVIResources()
454 int SchedClass = HexagonMCInstrInfo::getDesc(MCII, MCI).getSchedClass(); in getUnits() local
455 return ((II[SchedClass].FirstStage + HexagonStages)->getUnits()); in getUnits()
465 int SchedClass = HexagonMCInstrInfo::getDesc(MCII, MCI).getSchedClass(); in getOtherReservedSlots() local
471 for (unsigned Stage = II[SchedClass].FirstStage + 1; in getOtherReservedSlots()
472 Stage < II[SchedClass].LastStage; ++Stage) { in getOtherReservedSlots()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInstrDesc.h203 unsigned short SchedClass; // enum identifying instr sched class variable
618 unsigned getSchedClass() const { return SchedClass; } in getSchedClass()
H A DMCSchedule.h367 getReciprocalThroughput(unsigned SchedClass, const InstrItineraryData &IID);
H A DMCSubtargetInfo.h220 virtual unsigned resolveVariantSchedClass(unsigned SchedClass, in resolveVariantSchedClass() argument
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp1349 const CodeGenSchedClass &SchedClass = SchedModels.getSchedClass(SCIdx); in EmitSchedClassTables() local
1350 OS << " {DBGFIELD(\"" << SchedClass.Name << "\") "; in EmitSchedClassTables()
1351 if (SchedClass.Name.size() < 18) in EmitSchedClassTables()
1352 OS.indent(18 - SchedClass.Name.size()); in EmitSchedClassTables()