Home
last modified time | relevance | path

Searched refs:ResourceMask (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DScheduler.h67 uint64_t ResourceMask; variable
165 uint64_t computeResourceSizeMaskForGroup(uint64_t ResourceMask) { in computeResourceSizeMaskForGroup() argument
166 assert(llvm::countPopulation(ResourceMask) > 1); in computeResourceSizeMaskForGroup()
167 return ResourceMask ^ llvm::PowerOf2Floor(ResourceMask); in computeResourceSizeMaskForGroup()
173 : ProcResourceDescIndex(Index), ResourceMask(Mask) { in ResourceState()
174 bool IsAGroup = llvm::countPopulation(ResourceMask) > 1; in ResourceState()
175 ResourceSizeMask = IsAGroup ? computeResourceSizeMaskForGroup(ResourceMask) in ResourceState()
186 uint64_t getResourceMask() const { return ResourceMask; } in getResourceMask()
209 return llvm::countPopulation(ResourceMask) > 1; in isAResourceGroup()
212 bool containsResource(uint64_t ID) const { return ResourceMask & ID; } in containsResource()
DScheduler.cpp37 dbgs() << "MASK: " << ResourceMask << ", SIZE_MASK: " << ResourceSizeMask in dump()