forked from OSchip/llvm-project
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:
parent
a737ef8964
commit
882a283946
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue