summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-07 18:43:39 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-07 18:43:39 -0600
commit7bbd1a207f65428283471f1cc956f3fda43fbe3e (patch)
treef8febd1c59ad6aa5f071aa8644a4961b163cfb77 /include
parent79866eaaf708759db9458e60bb4ea51799608f2e (diff)
downloadchill-7bbd1a207f65428283471f1cc956f3fda43fbe3e.tar.gz
chill-7bbd1a207f65428283471f1cc956f3fda43fbe3e.tar.bz2
chill-7bbd1a207f65428283471f1cc956f3fda43fbe3e.zip
fixes
Diffstat (limited to 'include')
-rw-r--r--include/chillAST/chillASTs.hh2
-rwxr-xr-xinclude/ir_clang.hh2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/chillAST/chillASTs.hh b/include/chillAST/chillASTs.hh
index 93b4420..f49cf6f 100644
--- a/include/chillAST/chillASTs.hh
+++ b/include/chillAST/chillASTs.hh
@@ -916,6 +916,8 @@ public:
// required methods that I can't seem to get to inherit
chillAST_Node *clone();
+ chillAST_Node* constantFold();
+
//void replaceVarDecls( chillAST_VarDecl *olddecl, chillAST_VarDecl *newdecl);
bool findLoopIndexesToReplace(chillAST_SymbolTable *symtab,
bool forcesync = false) { return false; }; // no loops under here
diff --git a/include/ir_clang.hh b/include/ir_clang.hh
index 14def21..3e4e7d6 100755
--- a/include/ir_clang.hh
+++ b/include/ir_clang.hh
@@ -446,6 +446,7 @@ protected:
//
char *filename;
char *procedurename;
+ char *outfilename;
chillAST_Node *entire_file_AST;
@@ -471,6 +472,7 @@ public:
clang::SourceManager *getASTSourceManager() { return sourceManager; };
IR_clangCode(const char *filename, const char *proc_name);
+ IR_clangCode(const char *filename, const char *proc_name, const char *dest_name);
~IR_clangCode();