diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 19:21:10 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 19:21:10 -0600 |
commit | dffa5374ca560213452039fe569a70ca21b58a85 (patch) | |
tree | b7ebb146cee60e9973b3f158196d56abd28c0f42 /chill/include/ir_code.hh | |
parent | bdaf6dc251d98fc1c93165fa8579378204b395e1 (diff) | |
download | chill-dffa5374ca560213452039fe569a70ca21b58a85.tar.gz chill-dffa5374ca560213452039fe569a70ca21b58a85.tar.bz2 chill-dffa5374ca560213452039fe569a70ca21b58a85.zip |
added file doc
Diffstat (limited to 'chill/include/ir_code.hh')
-rw-r--r-- | chill/include/ir_code.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chill/include/ir_code.hh b/chill/include/ir_code.hh index b6ebfcd..d695474 100644 --- a/chill/include/ir_code.hh +++ b/chill/include/ir_code.hh @@ -22,6 +22,18 @@ #ifndef IR_CODE_HH #define IR_CODE_HH +/*! + * \file + * \brief CHiLL's compiler intermediate representation interface that extends Omega's builder interface to accomodate compiler analyses and extra code generation. + * + * Unlike CG_outputRepr, IR_Symbol,IR_Ref and IR_Control are place holders + * to the underlying code, thus deleting or duplicating them does not affect + * the actual code. Similar to Omega builder's memory allocation strategy, + * all non-const pointer parameters of CG_outputRepr/IR_Symbol/IR_Ref/IR_Control + * are destroyed after the call. + */ + + #include <code_gen/CG_outputRepr.h> #include <code_gen/CG_outputBuilder.h> #include <vector> |