Home
last modified time | relevance | path

Searched refs:MCSchedModel (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSchedule.cpp23 static_assert(std::is_pod<MCSchedModel>::value,
25 const MCSchedModel MCSchedModel::Default = {DefaultIssueWidth,
41 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency()
57 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency()
63 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency()
68 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency()
83 return MCSchedModel::computeInstrLatency(STI, *SCDesc); in computeInstrLatency()
89 MCSchedModel::getReciprocalThroughput(const MCSubtargetInfo &STI, in getReciprocalThroughput()
92 const MCSchedModel &SM = STI.getSchedModel(); in getReciprocalThroughput()
129 return MCSchedModel::getReciprocalThroughput(STI, *SCDesc); in getReciprocalThroughput()
[all …]
H A DMCSubtargetInfo.cpp35 CPUSchedModel = &MCSchedModel::GetDefaultSchedModel(); in InitMCProcessorInfo()
86 const MCSchedModel &MCSubtargetInfo::getSchedModelForCPU(StringRef CPU) const { in getSchedModelForCPU()
105 return MCSchedModel::GetDefaultSchedModel(); in getSchedModelForCPU()
108 return *(const MCSchedModel *)Found->Value; in getSchedModelForCPU()
113 const MCSchedModel &SchedModel = getSchedModelForCPU(CPU); in getInstrItineraryForCPU()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp23 const MCSchedModel &SM = STI.getSchedModel(); in printView()
46 unsigned Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in printView()
48 MCSchedModel::getReciprocalThroughput(STI, SCDesc); in printView()
H A DSummaryView.h42 const llvm::MCSchedModel &SM;
66 SummaryView(const llvm::MCSchedModel &Model, llvm::ArrayRef<llvm::MCInst> S,
H A DResourcePressureView.cpp28 const MCSchedModel &SM = STI.getSchedModel(); in ResourcePressureView()
69 const MCSchedModel &SM) { in printColumnNames()
109 const MCSchedModel &SM = STI.getSchedModel(); in printResourcePressurePerIter()
H A DRetireControlUnitStatistics.h51 RetireControlUnitStatistics(const MCSchedModel &SM);
H A DSchedulerStatistics.h49 const llvm::MCSchedModel &SM;
H A DRetireControlUnitStatistics.cpp21 RetireControlUnitStatistics::RetireControlUnitStatistics(const MCSchedModel &SM) in RetireControlUnitStatistics()
H A DSummaryView.cpp26 SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S, in SummaryView()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h35 MCSchedModel SchedModel;
47 TargetSchedModel() : SchedModel(MCSchedModel::GetDefaultSchedModel()) {} in TargetSchedModel()
72 const MCSchedModel *getMCSchedModel() const { return &SchedModel; } in getMCSchedModel()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCInstrItineraries.h109 MCSchedModel SchedModel =
110 MCSchedModel::GetDefaultSchedModel(); ///< Basic machine properties.
118 InstrItineraryData(const MCSchedModel &SM, const InstrStage *S, in InstrItineraryData()
H A DMCSubtargetInfo.h47 const MCSchedModel *CPUSchedModel;
113 const MCSchedModel &getSchedModelForCPU(StringRef CPU) const;
116 const MCSchedModel &getSchedModel() const { return *CPUSchedModel; } in getSchedModel()
H A DMCSchedule.h244 struct MCSchedModel { struct
374 static const MCSchedModel &GetDefaultSchedModel() { return Default; } in GetDefaultSchedModel() argument
375 static const MCSchedModel Default; argument
/freebsd-12.1/contrib/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h30 const MCSchedModel &SM;
35 InstructionTables(const MCSchedModel &Model) in InstructionTables()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp258 return capLatency(MCSchedModel::computeInstrLatency(*STI, SCDesc)); in computeInstrLatency()
329 return MCSchedModel::getReciprocalThroughput(SchedClass, in computeReciprocalThroughput()
334 return MCSchedModel::getReciprocalThroughput(*STI, *resolveSchedClass(MI)); in computeReciprocalThroughput()
343 return MCSchedModel::getReciprocalThroughput(SchedClass, in computeReciprocalThroughput()
348 return MCSchedModel::getReciprocalThroughput(*STI, SCDesc); in computeReciprocalThroughput()
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DSupport.cpp24 void computeProcResourceMasks(const MCSchedModel &SM, in computeProcResourceMasks()
66 double computeBlockRThroughput(const MCSchedModel &SM, unsigned DispatchWidth, in computeBlockRThroughput()
H A DInstrBuilder.cpp34 const MCSchedModel &SM = STI.getSchedModel(); in InstrBuilder()
43 const MCSchedModel &SM = STI.getSchedModel(); in initializeUsedResources()
200 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency()
237 const MCSchedModel &SM = STI.getSchedModel(); in populateWrites()
504 const MCSchedModel &SM = STI.getSchedModel(); in createInstrDescImpl()
H A DContext.cpp33 const MCSchedModel &SM = STI.getSchedModel(); in createDefaultPipeline()
/freebsd-12.1/contrib/llvm/include/llvm/MCA/
H A DSupport.h106 void computeProcResourceMasks(const MCSchedModel &SM,
113 double computeBlockRThroughput(const MCSchedModel &SM, unsigned DispatchWidth,
/freebsd-12.1/contrib/llvm/include/llvm/MCA/HardwareUnits/
H A DRegisterFile.h185 void initialize(const MCSchedModel &SM, unsigned NumRegs);
188 RegisterFile(const MCSchedModel &SM, const MCRegisterInfo &mri,
H A DScheduler.h120 Scheduler(const MCSchedModel &Model, LSUnit &Lsu) in Scheduler()
123 Scheduler(const MCSchedModel &Model, LSUnit &Lsu, in Scheduler()
H A DRetireControlUnit.h66 RetireControlUnit(const MCSchedModel &SM);
H A DLSUnit.h165 LSUnit(const MCSchedModel &SM, unsigned LQ = 0, unsigned SQ = 0,
/freebsd-12.1/contrib/llvm/lib/MCA/HardwareUnits/
H A DRetireControlUnit.cpp23 RetireControlUnit::RetireControlUnit(const MCSchedModel &SM) in RetireControlUnit()
H A DRegisterFile.cpp26 RegisterFile::RegisterFile(const MCSchedModel &SM, const MCRegisterInfo &mri, in RegisterFile()
34 void RegisterFile::initialize(const MCSchedModel &SM, unsigned NumRegs) { in initialize()

12