reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/MCA/HardwareUnits/ResourceManager.h
  355   SmallDenseMap<ResourceRef, unsigned> BusyResources;
  374   ResourceRef selectPipe(uint64_t ResourceID);
  376   void use(const ResourceRef &RR);
  377   void release(const ResourceRef &RR);
  434       SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &Pipes);
  436   void cycleEvent(SmallVectorImpl<ResourceRef> &ResourcesFreed);
include/llvm/MCA/HardwareUnits/Scheduler.h
  139       SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &Pipes);
  205       SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &Used,
  225   void cycleEvent(SmallVectorImpl<ResourceRef> &Freed,
include/llvm/MCA/Stages/ExecuteStage.h
   77       MutableArrayRef<std::pair<ResourceRef, ResourceCycles>> Used) const;
   81   void notifyResourceAvailable(const ResourceRef &RR) const;
include/llvm/MCA/Stages/InstructionTables.h
   30   SmallVector<std::pair<ResourceRef, ResourceCycles>, 4> UsedResources;
lib/MCA/HardwareUnits/ResourceManager.cpp
  177 ResourceRef ResourceManager::selectPipe(uint64_t ResourceID) {
  194 void ResourceManager::use(const ResourceRef &RR) {
  224 void ResourceManager::release(const ResourceRef &RR) {
  299     SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &Pipes) {
  309       ResourceRef Pipe = selectPipe(R.first);
  324 void ResourceManager::cycleEvent(SmallVectorImpl<ResourceRef> &ResourcesFreed) {
  325   for (std::pair<ResourceRef, unsigned> &BR : BusyResources) {
  330       const ResourceRef &RR = BR.first;
  339   for (const ResourceRef &RF : ResourcesFreed)
lib/MCA/HardwareUnits/Scheduler.cpp
   72     SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &UsedResources) {
  101     SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &UsedResources,
  264 void Scheduler::cycleEvent(SmallVectorImpl<ResourceRef> &Freed,
lib/MCA/Stages/ExecuteStage.cpp
   54   SmallVector<std::pair<ResourceRef, ResourceCycles>, 4> Used;
   94   SmallVector<ResourceRef, 8> Freed;
  103   for (const ResourceRef &RR : Freed)
  245 void ExecuteStage::notifyResourceAvailable(const ResourceRef &RR) const {
  254     MutableArrayRef<std::pair<ResourceRef, ResourceCycles>> Used) const {
  266   for (std::pair<ResourceRef, ResourceCycles> &Use : Used)
lib/MCA/Stages/InstructionTables.cpp
   39         ResourceRef ResourceUnit = std::make_pair(Index, 1U << I);
   54         ResourceRef ResourceUnit = std::make_pair(SubUnitIdx, 1U << I2);