llvm.org GIT mirror llvm / 9b284bb
[llvm-mca] Dump mask in hex Dump the resources masks as hexadecimal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349536 91177308-0d34-0410-b5e6-96231b3b80d8 Evandro Menezes 1 year, 11 months ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9090
9191 #ifndef NDEBUG
9292 void ResourceState::dump() const {
93 dbgs() << "MASK: " << ResourceMask << ", SIZE_MASK: " << ResourceSizeMask
94 << ", RDYMASK: " << ReadyMask << ", BufferSize=" << BufferSize
93 dbgs() << "MASK=" << format_hex(ResourceMask, 8)
94 << ", SZMASK=" << format_hex(ResourceSizeMask, 8)
95 << ", RDYMASK=" << format_hex(ReadyMask, 8)
96 << ", BufferSize=" << BufferSize
9597 << ", AvailableSlots=" << AvailableSlots
9698 << ", Reserved=" << Unavailable << '\n';
9799 }