Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp255 uint64_t CurrentBuffer = ConsumedBuffers & (-ConsumedBuffers); in reserveBuffers() local
256 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; in reserveBuffers()
257 ConsumedBuffers ^= CurrentBuffer; in reserveBuffers()
260 AvailableBuffers ^= CurrentBuffer; in reserveBuffers()
265 ReservedBuffers ^= CurrentBuffer; in reserveBuffers()
273 uint64_t CurrentBuffer = ConsumedBuffers & (-ConsumedBuffers); in releaseBuffers() local
274 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; in releaseBuffers()
275 ConsumedBuffers ^= CurrentBuffer; in releaseBuffers()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_logging.cpp221 static uint8_t *CurrentBuffer{nullptr}; in fdrIterator() local
231 if (CurrentBuffer != nullptr) { in fdrIterator()
232 deallocateBuffer(CurrentBuffer, SerializedBufferSize); in fdrIterator()
233 CurrentBuffer = nullptr; in fdrIterator()
252 CurrentBuffer = allocateBuffer(SerializedBufferSize); in fdrIterator()
253 if (CurrentBuffer == nullptr) in fdrIterator()
263 static_cast<char *>(internal_memcpy(CurrentBuffer, &ExtentsRecord, in fdrIterator()
269 Result.Data = CurrentBuffer; in fdrIterator()