Annotate dump() functions with LLVM_DUMP_METHOD. NFC.

llvm-svn: 308749
This commit is contained in:
Michael Kruse 2017-07-21 15:54:13 +00:00
parent 5d5184698d
commit e186013149
2 changed files with 6 additions and 6 deletions

View File

@ -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(); }

View File

@ -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';
}