#include "polly/FlattenSchedule.h"
#include "polly/FlattenAlgo.h"
#include "polly/ScopInfo.h"
#include "polly/ScopPass.h"
#include "polly/Support/ISLOStream.h"
#include "polly/Support/ISLTools.h"
#include "polly/Support/PollyDebug.h"
#define DEBUG_TYPE …
usingnamespacepolly;
usingnamespacellvm;
namespace {
void printSchedule(raw_ostream &OS, const isl::union_map &Schedule,
int indent) { … }
class FlattenSchedule final : public ScopPass { … };
char FlattenSchedule::ID;
class FlattenSchedulePrinterLegacyPass final : public ScopPass { … };
char FlattenSchedulePrinterLegacyPass::ID = …;
}
Pass *polly::createFlattenSchedulePass() { … }
Pass *polly::createFlattenSchedulePrinterLegacyPass(llvm::raw_ostream &OS) { … }
INITIALIZE_PASS_BEGIN(FlattenSchedule, "polly-flatten-schedule",
"Polly - Flatten schedule", false, false)
INITIALIZE_PASS_END(FlattenSchedule, "polly-flatten-schedule",
"Polly - Flatten schedule", false, false)
INITIALIZE_PASS_BEGIN(FlattenSchedulePrinterLegacyPass,
"polly-print-flatten-schedule",
"Polly - Print flattened schedule", false, false)
INITIALIZE_PASS_DEPENDENCY(FlattenSchedule)
INITIALIZE_PASS_END(FlattenSchedulePrinterLegacyPass,
"polly-print-flatten-schedule",
"Polly - Print flattened schedule", false, false)