From 7bbd1a207f65428283471f1cc956f3fda43fbe3e Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Fri, 7 Oct 2016 18:43:39 -0600 Subject: fixes --- include/chillAST/chillASTs.hh | 2 ++ include/ir_clang.hh | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') 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(); -- cgit v1.2.3-70-g09d2