Dependences: Print dependences in -analyze output

The dependency printing was accidentally removed in during a previous
restructuring.

llvm-svn: 162662
This commit is contained in:
Tobias Grosser 2012-08-27 08:44:15 +00:00
parent a737ef8964
commit 882a283946
1 changed files with 9 additions and 0 deletions

View File

@ -218,6 +218,15 @@ bool Dependences::isParallelDimension(__isl_take isl_set *ScheduleSubset,
} }
void Dependences::printScop(raw_ostream &OS) const { void Dependences::printScop(raw_ostream &OS) const {
std::string RAWString, WARString, WAWString;
RAWString = polly::stringFromIslObj(RAW);
WARString = polly::stringFromIslObj(WAR);
WAWString = polly::stringFromIslObj(WAW);
OS << "\tRAW dependences:\n\t\t" << RAWString << "\n";
OS << "\tWAR dependences:\n\t\t" << WARString << "\n";
OS << "\tWAW dependences:\n\t\t" << WAWString << "\n";
} }
void Dependences::releaseMemory() { void Dependences::releaseMemory() {