#ifndef POLLY_SCOP_GRAPH_PRINTER_H
#define POLLY_SCOP_GRAPH_PRINTER_H
#include "polly/ScopDetection.h"
#include "polly/Support/ScopLocation.h"
#include "llvm/Analysis/DOTGraphTraitsPass.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/RegionIterator.h"
#include "llvm/Analysis/RegionPrinter.h"
#include "llvm/IR/PassManager.h"
namespace llvm {
template <>
struct GraphTraits<polly::ScopDetection *> : GraphTraits<RegionInfo *> { … };
template <>
struct DOTGraphTraits<polly::ScopDetection *> : DOTGraphTraits<RegionNode *> { … };
}
namespace polly {
struct ScopViewer final : llvm::DOTGraphTraitsViewer<ScopAnalysis, false> { … };
struct ScopOnlyViewer final : llvm::DOTGraphTraitsViewer<ScopAnalysis, false> { … };
struct ScopPrinter final : llvm::DOTGraphTraitsPrinter<ScopAnalysis, false> { … };
struct ScopOnlyPrinter final : llvm::DOTGraphTraitsPrinter<ScopAnalysis, true> { … };
}
#endif