* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc] / src / izt / gen.h
1 // izt specific gen functions.
2 #ifndef IZT_GEN_INCLUDE
3 #define IZT_GEN_INCLUDE
4
5 // Emit a line of code.
6 void iemit (const char *format,...);
7
8 // Generic descripter for a function that can emit a type of iCode.
9 typedef struct
10   {
11     int op;
12     void (*emit) (iCode * ic);
13   }
14 EMITTER;
15
16 // Call the base izt handler to handle this iCode.
17 void izt_baseEmitter (iCode * ic);
18 // Initialise the base emitter table.
19 void izt_initBaseEmitters (hTab ** into);
20 // Add a NULL terminated array of emitters into the given hash table.
21 void izt_addEmittersToHTab (hTab ** into, EMITTER _base_emitters[]);
22 // Initialise the emitter tables.
23 void izt_initEmitters (void);
24
25 #endif