summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-02-21 20:01:28 +0000
committerTobias Grosser <tobias@grosser.es>2016-02-21 20:01:28 +0000
commit820cf20a986f06d7fb1f055ae44748529f896d94 (patch)
tree46444d2c6051ac18343b00902545b7fe17ec6379 /polly/lib/CodeGen
parenta848c47130b9cd328958f02a3e01e66334b60bf3 (diff)
downloadbcm5719-llvm-820cf20a986f06d7fb1f055ae44748529f896d94.tar.gz
bcm5719-llvm-820cf20a986f06d7fb1f055ae44748529f896d94.zip
IslAst: Expose IslAst class in header file [NFC]
This allows other passes and transformations to use some of the existing AST building infrastructure. This is not yet used in Polly itself. llvm-svn: 261496
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r--polly/lib/CodeGen/IslAst.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index fd3ee74cb56..2e628ba00c7 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -71,33 +71,6 @@ static cl::opt<bool> DetectParallel("polly-ast-detect-parallel",
cl::init(false), cl::ZeroOrMore,
cl::cat(PollyCategory));
-namespace polly {
-class IslAst {
-public:
- static IslAst *create(Scop *Scop, const Dependences &D);
- ~IslAst();
-
- /// Print a source code representation of the program.
- void pprint(llvm::raw_ostream &OS);
-
- __isl_give isl_ast_node *getAst();
-
- /// @brief Get the run-time conditions for the Scop.
- __isl_give isl_ast_expr *getRunCondition();
-
-private:
- Scop *S;
- isl_ast_node *Root;
- isl_ast_expr *RunCondition;
- std::shared_ptr<isl_ctx> Ctx;
-
- IslAst(Scop *Scop);
- void init(const Dependences &D);
-
- void buildRunCondition(__isl_keep isl_ast_build *Build);
-};
-} // End namespace polly.
-
/// @brief Free an IslAstUserPayload object pointed to by @p Ptr
static void freeIslAstUserPayload(void *Ptr) {
delete ((IslAstInfo::IslAstUserPayload *)Ptr);
OpenPOWER on IntegriCloud