[polly] r308749 - Annotate dump() functions with LLVM_DUMP_METHOD. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 08:54:13 PDT 2017
Author: meinersbur
Date: Fri Jul 21 08:54:13 2017
New Revision: 308749
URL: http://llvm.org/viewvc/llvm-project?rev=308749&view=rev
Log:
Annotate dump() functions with LLVM_DUMP_METHOD. NFC.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
polly/trunk/lib/Support/VirtualInstruction.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=308749&r1=308748&r2=308749&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Fri Jul 21 08:54:13 2017
@@ -408,7 +408,7 @@ __isl_give isl_id *ScopArrayInfo::getBas
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void ScopArrayInfo::dump() const { print(errs()); }
+LLVM_DUMP_METHOD void ScopArrayInfo::dump() const { print(errs()); }
#endif
void ScopArrayInfo::print(raw_ostream &OS, bool SizeAsPwAff) const {
@@ -1102,7 +1102,7 @@ void MemoryAccess::print(raw_ostream &OS
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void MemoryAccess::dump() const { print(errs()); }
+LLVM_DUMP_METHOD void MemoryAccess::dump() const { print(errs()); }
#endif
__isl_give isl_pw_aff *MemoryAccess::getPwAff(const SCEV *E) {
@@ -2002,7 +2002,7 @@ void ScopStmt::print(raw_ostream &OS, bo
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void ScopStmt::dump() const { print(dbgs(), true); }
+LLVM_DUMP_METHOD void ScopStmt::dump() const { print(dbgs(), true); }
#endif
void ScopStmt::removeAccessData(MemoryAccess *MA) {
@@ -4666,7 +4666,7 @@ void Scop::print(raw_ostream &OS, bool P
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void Scop::dump() const { print(dbgs(), true); }
+LLVM_DUMP_METHOD void Scop::dump() const { print(dbgs(), true); }
#endif
isl_ctx *Scop::getIslCtx() const { return IslCtx.get(); }
Modified: polly/trunk/lib/Support/VirtualInstruction.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/VirtualInstruction.cpp?rev=308749&r1=308748&r2=308749&view=diff
==============================================================================
--- polly/trunk/lib/Support/VirtualInstruction.cpp (original)
+++ polly/trunk/lib/Support/VirtualInstruction.cpp Fri Jul 21 08:54:13 2017
@@ -121,7 +121,7 @@ void VirtualUse::print(raw_ostream &OS,
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void VirtualUse::dump() const {
+LLVM_DUMP_METHOD void VirtualUse::dump() const {
print(errs(), false);
errs() << '\n';
}
@@ -138,7 +138,7 @@ void VirtualInstruction::print(raw_ostre
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void VirtualInstruction::dump() const {
+LLVM_DUMP_METHOD void VirtualInstruction::dump() const {
print(errs(), false);
errs() << '\n';
}
More information about the llvm-commits
mailing list