[llvm] r282221 - [RegisterBankInfo] Mark the dump methods with LLVM_DUMP_METHOD.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 22 17:59:13 PDT 2016
Author: qcolombet
Date: Thu Sep 22 19:59:12 2016
New Revision: 282221
URL: http://llvm.org/viewvc/llvm-project?rev=282221&view=rev
Log:
[RegisterBankInfo] Mark the dump methods with LLVM_DUMP_METHOD.
NFC
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp?rev=282221&r1=282220&r2=282221&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp Thu Sep 22 19:59:12 2016
@@ -400,7 +400,7 @@ unsigned RegisterBankInfo::getSizeInBits
//------------------------------------------------------------------------------
// Helper classes implementation.
//------------------------------------------------------------------------------
-void RegisterBankInfo::PartialMapping::dump() const {
+LLVM_DUMP_METHOD void RegisterBankInfo::PartialMapping::dump() const {
print(dbgs());
dbgs() << '\n';
}
@@ -451,7 +451,7 @@ bool RegisterBankInfo::ValueMapping::ver
return true;
}
-void RegisterBankInfo::ValueMapping::dump() const {
+LLVM_DUMP_METHOD void RegisterBankInfo::ValueMapping::dump() const {
print(dbgs());
dbgs() << '\n';
}
@@ -499,7 +499,7 @@ bool RegisterBankInfo::InstructionMappin
return true;
}
-void RegisterBankInfo::InstructionMapping::dump() const {
+LLVM_DUMP_METHOD void RegisterBankInfo::InstructionMapping::dump() const {
print(dbgs());
dbgs() << '\n';
}
@@ -615,7 +615,7 @@ RegisterBankInfo::OperandsMapper::getVRe
return Res;
}
-void RegisterBankInfo::OperandsMapper::dump() const {
+LLVM_DUMP_METHOD void RegisterBankInfo::OperandsMapper::dump() const {
print(dbgs(), true);
dbgs() << '\n';
}
More information about the llvm-commits
mailing list