Lines Matching refs:ResourceState
65 ResourceState::ResourceState(const MCProcResourceDesc &Desc, unsigned Index, in ResourceState() function in llvm::mca::ResourceState
80 bool ResourceState::isReady(unsigned NumUnits) const { in isReady()
85 ResourceStateEvent ResourceState::isBufferAvailable() const { in isBufferAvailable()
94 void ResourceState::dump() const { in dump()
105 getStrategyFor(const ResourceState &RS) { in getStrategyFor()
131 std::make_unique<ResourceState>(*SM.getProcResource(I), I, Mask); in ResourceManager()
138 const ResourceState &RS = *Resources[Index]; in ResourceManager()
180 ResourceState &RS = *Resources[Index]; in selectPipe()
197 ResourceState &RS = *Resources[RSID]; in use()
216 ResourceState &CurrentUser = *Resources[GroupIndex]; in use()
226 ResourceState &RS = *Resources[RSID]; in release()
238 ResourceState &CurrentUser = *Resources[GroupIndex]; in release()
256 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; in reserveBuffers()
274 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; in releaseBuffers()
345 ResourceState &Resource = *Resources[Index]; in reserveResource()
354 ResourceState &Resource = *Resources[Index]; in releaseResource()