32#ifndef __REGISTER_MANAGER_HH__
33#define __REGISTER_MANAGER_HH__
52struct RegisterManagerParams;
Register Manager Policy abstract class.
int mapVgpr(Wavefront *w, int vgprIndex)
RegisterManager(const RegisterManagerParams ¶ms)
void allocateRegisters(Wavefront *w, int vectorDemand, int scalarDemand)
void freeRegisters(Wavefront *w)
std::vector< PoolManager * > vrfPoolMgrs
RegisterManagerPolicy * policy
int mapSgpr(Wavefront *w, int sgprIndex)
ComputeUnit * computeUnit
bool canAllocateSgprs(int simdId, int nWfs, int demandPerWf)
std::vector< PoolManager * > srfPoolMgrs
bool canAllocateVgprs(int simdId, int nWfs, int demandPerWf)
void setParent(ComputeUnit *cu)
const Params & params() const
SimObject(const Params &p)
Copyright (c) 2024 Arm Limited All rights reserved.