#ifndef NDEBUG
void ResourceState::dump() const {
- dbgs() << "MASK=" << format_hex(ResourceMask, 8)
- << ", SZMASK=" << format_hex(ResourceSizeMask, 8)
- << ", RDYMASK=" << format_hex(ReadyMask, 8)
+ dbgs() << "MASK=" << format_hex(ResourceMask, 16)
+ << ", SZMASK=" << format_hex(ResourceSizeMask, 16)
+ << ", RDYMASK=" << format_hex(ReadyMask, 16)
<< ", BufferSize=" << BufferSize
<< ", AvailableSlots=" << AvailableSlots
<< ", Reserved=" << Unavailable << '\n';
LLVM_DEBUG({
for (const std::pair<uint64_t, ResourceUsage> &R : ID.Resources)
- dbgs() << "\t\tMask=" << R.first << ", cy=" << R.second.size() << '\n';
+ dbgs() << "\t\tMask=" << format_hex(R.first, 16) << ", " <<
+ "cy=" << R.second.size() << '\n';
for (const uint64_t R : ID.Buffers)
- dbgs() << "\t\tBuffer Mask=" << R << '\n';
+ dbgs() << "\t\tBuffer Mask=" << format_hex(R, 16) << '\n';
});
}