diff --git a/llvm/include/llvm/MCA/HWEventListener.h b/llvm/include/llvm/MCA/HWEventListener.h --- a/llvm/include/llvm/MCA/HWEventListener.h +++ b/llvm/include/llvm/MCA/HWEventListener.h @@ -59,7 +59,10 @@ const InstRef &IR; }; +// ResourceRef::first is the index of the associated Resource. +// ResourceRef::second is a bitmask of the referenced sub-unit of the resource. using ResourceRef = std::pair; + using ResourceUse = std::pair; class HWInstructionIssuedEvent : public HWInstructionEvent {