mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Introduce register dump helper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222379 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -502,6 +502,10 @@ public:
|
||||
return composeSubRegIndicesImpl(a, b);
|
||||
}
|
||||
|
||||
/// Debugging helper: dump register in human readable form to dbgs() stream.
|
||||
static void dumpReg(unsigned Reg, unsigned SubRegIndex = 0,
|
||||
const TargetRegisterInfo* TRI = nullptr);
|
||||
|
||||
protected:
|
||||
/// Overridden by TableGen in targets that have sub-registers.
|
||||
virtual unsigned composeSubRegIndicesImpl(unsigned, unsigned) const {
|
||||
|
Reference in New Issue
Block a user