Lines Matching defs:ResourceManager
1 //===--------------------- ResourceManager.cpp ------------------*- C++ -*-===//
15 #include "llvm/MCA/HardwareUnits/ResourceManager.h"
111 ResourceManager::ResourceManager(const MCSchedModel &SM)
158 void ResourceManager::setCustomStrategyImpl(std::unique_ptr<ResourceStrategy> S,
166 unsigned ResourceManager::resolveResourceMask(uint64_t Mask) const {
170 unsigned ResourceManager::getNumUnits(uint64_t ResourceID) const {
177 ResourceRef ResourceManager::selectPipe(uint64_t ResourceID) {
194 void ResourceManager::use(const ResourceRef &RR) {
224 void ResourceManager::release(const ResourceRef &RR) {
245 ResourceManager::canBeDispatched(uint64_t ConsumedBuffers) const {
253 void ResourceManager::reserveBuffers(uint64_t ConsumedBuffers) {
270 void ResourceManager::releaseBuffers(uint64_t ConsumedBuffers) {
282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const {
347 void ResourceManager::issueInstruction(
374 void ResourceManager::cycleEvent(SmallVectorImpl<ResourceRef> &ResourcesFreed) {
393 void ResourceManager::reserveResource(uint64_t ResourceID) {
402 void ResourceManager::releaseResource(uint64_t ResourceID) {