Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp67 : ProcResourceDescIndex(Index), ResourceMask(Mask), in ResourceState()
68 BufferSize(Desc.BufferSize), IsAGroup(llvm::popcount(ResourceMask) > 1) { in ResourceState()
71 ResourceMask ^ 1ULL << getResourceStateIndex(ResourceMask); in ResourceState()
95 dbgs() << "MASK=" << format_hex(ResourceMask, 16) in dump()
159 uint64_t ResourceMask) { in setCustomStrategyImpl() argument
160 unsigned Index = getResourceStateIndex(ResourceMask); in setCustomStrategyImpl()
323 uint64_t ResourceMask = llvm::bit_floor(ReadyMask); in checkAvailability() local
325 auto it = AvailableUnits.find(ResourceMask); in checkAvailability()
327 unsigned Index = getResourceStateIndex(ResourceMask); in checkAvailability()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h62 virtual void used(uint64_t ResourceMask) {} in used() argument
141 /// Field ResourceMask only has one bit set if this resource state describes a
163 const uint64_t ResourceMask; variable
168 /// units. It is obtained from ResourceMask by clearing the highest set bit.
217 uint64_t getResourceMask() const { return ResourceMask; } in getResourceMask()
237 bool containsResource(uint64_t ID) const { return ResourceMask & ID; } in containsResource()
321 // its mask (see the description of field ResourceState::ResourceMask). In
383 uint64_t ResourceMask);
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp39 uint64_t ResourceMask = ProcResID2Mask[I]; in PressureTracker() local
40 ResIdx2ProcResID[getResourceStateIndex(ResourceMask)] = I; in PressureTracker()
48 void PressureTracker::getResourceUsers(uint64_t ResourceMask, in getResourceUsers() argument
50 unsigned Index = getResourceStateIndex(ResourceMask); in getResourceUsers()
113 const uint64_t ResourceMask = Event.ResourceMask; in handlePressureEvent() local
114 updateResourcePressureDistribution(Event.ResourceMask); in handlePressureEvent()
118 unsigned BusyResources = IS.getCriticalResourceMask() & ResourceMask; in handlePressureEvent()
508 uint64_t ResourceMask = IS.getCriticalResourceMask(); in onEvent() local
510 while (ResourceMask) { in onEvent()
511 uint64_t Current = ResourceMask & (-ResourceMask); in onEvent()
[all …]
H A DBottleneckAnalysis.h145 void getResourceUsers(uint64_t ResourceMask,
166 const char *resolveResourceName(uint64_t ResourceMask) const { in resolveResourceName() argument
167 unsigned Index = getResourceStateIndex(ResourceMask); in resolveResourceName()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp286 NfaStateTy ResourceMask = 1ULL << J; in emitForItineraries() local
287 if ((ResourceMask & Stage) == 0) in emitForItineraries()
290 NfaStateTy Combo = ComboBitToBitsMap[ResourceMask]; in emitForItineraries()
294 NfaStateTy ResultingResourceState = S | ResourceMask | Combo; in emitForItineraries()
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DHWEventListener.h151 : Reason(reason), AffectedInstructions(Insts), ResourceMask(Mask) {} in Reason()
160 const uint64_t ResourceMask; variable
H A DInstruction.h710 void setCriticalResourceMask(uint64_t ResourceMask) { in setCriticalResourceMask() argument
711 CriticalResourceMask = ResourceMask; in setCriticalResourceMask()