#include "polly/LinkAllPasses.h"
#include "polly/Options.h"
#include "polly/ScopInfo.h"
+#include "polly/Support/GICHelper.h"
#include "llvm/Support/Debug.h"
#include "isl/union_map.h"
OS << ":: isl ast :: " << F->getName() << " :: " << S.getRegion().getNameStr()
<< "\n";
- DEBUG(dbgs() << S.getContextStr() << "\n"; isl_union_map_dump(Schedule));
+ DEBUG({
+ dbgs() << S.getContextStr() << "\n";
+ dbgs() << stringFromIslObj(Schedule);
+ });
OS << "\nif (" << RtCStr << ")\n\n";
OS << AstStr << "\n";
OS << "else\n";
#include "polly/LinkAllPasses.h"
#include "polly/Options.h"
#include "polly/ScopInfo.h"
+#include "polly/Support/GICHelper.h"
#include "llvm/Support/Debug.h"
using namespace llvm;
}
DEBUG(dbgs() << "\n\nCompute schedule from: ");
- DEBUG(dbgs() << "Domain := "; isl_union_set_dump(Domain); dbgs() << ";\n");
- DEBUG(dbgs() << "Proximity := "; isl_union_map_dump(Proximity);
- dbgs() << ";\n");
- DEBUG(dbgs() << "Validity := "; isl_union_map_dump(Validity);
- dbgs() << ";\n");
+ DEBUG(dbgs() << "Domain := " << stringFromIslObj(Domain) << ";\n");
+ DEBUG(dbgs() << "Proximity := " << stringFromIslObj(Proximity) << ";\n");
+ DEBUG(dbgs() << "Validity := " << stringFromIslObj(Validity) << ";\n");
int IslFusionStrategy;
if (!Schedule)
return false;
- DEBUG(dbgs() << "Schedule := "; isl_schedule_dump(Schedule); dbgs() << ";\n");
+ DEBUG(dbgs() << "Schedule := " << stringFromIslObj(Schedule) << ";\n");
isl_union_map *ScheduleMap = getScheduleMap(Schedule);