diff options
author | Michael Kruse <llvm@meinersbur.de> | 2017-07-21 15:54:13 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2017-07-21 15:54:13 +0000 |
commit | e186013149fe4a86d121d1fb3ee5cd0a7ce2e7fc (patch) | |
tree | 78a41d95e6662b8164dabb0e93d36c2a995ffaf0 | |
parent | 5d5184698de46ae2edb98d0ec93c0edb02cce632 (diff) | |
download | bcm5719-llvm-e186013149fe4a86d121d1fb3ee5cd0a7ce2e7fc.tar.gz bcm5719-llvm-e186013149fe4a86d121d1fb3ee5cd0a7ce2e7fc.zip |
Annotate dump() functions with LLVM_DUMP_METHOD. NFC.
llvm-svn: 308749
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 8 | ||||
-rw-r--r-- | polly/lib/Support/VirtualInstruction.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index f79c086d7a8..2401b47a509 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -408,7 +408,7 @@ __isl_give isl_id *ScopArrayInfo::getBasePtrId() const { } #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) const { } #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, bool PrintInstructions) const { } #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 PrintInstructions) const { } #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(); } diff --git a/polly/lib/Support/VirtualInstruction.cpp b/polly/lib/Support/VirtualInstruction.cpp index d09c9b0376d..22f09010582 100644 --- a/polly/lib/Support/VirtualInstruction.cpp +++ b/polly/lib/Support/VirtualInstruction.cpp @@ -121,7 +121,7 @@ void VirtualUse::print(raw_ostream &OS, bool Reproducible) const { } #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_ostream &OS, bool Reproducible) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void VirtualInstruction::dump() const { +LLVM_DUMP_METHOD void VirtualInstruction::dump() const { print(errs(), false); errs() << '\n'; } |