Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // sinkcompiler_IR_insn.h
- // Preprocessor trick file
- // you must #define
- // SINKCOMPILER_IR_DEFINITION(name)
- // SINKCOMPILER_IR_EQIVALENCE(name,is)
- // macro before including this
- #ifndef SINKCOMPILER_IR_DEFINITION
- #error You must define SINKCOMPILER_IR_DEFINITION before including this file
- #endif
- #ifndef SINKCOMPILER_IR_EQUIVALENCE
- #error You must define SINKCOMPILER_IR_EQUIVALENCE before including this file
- #endif
- // [destination,[source0[,...source2]]]
- SINKCOMPILER_IR_DEFINITION(INVALID)
- SINKCOMPILER_IR_DEFINITION(PROLOG)
- SINKCOMPILER_IR_DEFINITION(EPILOG)
- SINKCOMPILER_IR_DEFINITION(LOAD) // reg,symbol
- SINKCOMPILER_IR_DEFINITION(LOADINT) // reg,symbol
- SINKCOMPILER_IR_DEFINITION(STORE) // symbol,reg
- SINKCOMPILER_IR_DEFINITION(COPY) // reg,reg
Advertisement
Add Comment
Please, Sign In to add comment