|
| void | deleteLabel (t_label *lab) |
| void | deleteLabels (t_listNode *labels) |
| t_instrArg * | newInstrArg (t_regID ID) |
| t_instruction * | newInstruction (int opcode) |
| void | deleteInstruction (t_instruction *inst) |
| void | deleteInstructions (t_listNode *instructions) |
| t_symbol * | newSymbol (char *ID, t_symbolType type, int arraySize) |
| t_program * | newProgram (void) |
| void | deleteProgram (t_program *program) |
| t_label * | createLabel (t_program *program) |
| void | setRawLabelName (t_program *program, t_label *label, const char *finalName) |
| void | setLabelName (t_program *program, t_label *label, const char *name) |
| void | assignLabel (t_program *program, t_label *label) |
| char * | getLabelName (t_label *label) |
| void | addInstruction (t_program *program, t_instruction *instr) |
| t_instruction * | genInstruction (t_program *program, int opcode, t_regID rd, t_regID rs1, t_regID rs2, t_label *label, int immediate) |
| void | removeInstructionAt (t_program *program, t_listNode *instrLi) |
| t_regID | getNewRegister (t_program *program) |
| t_symbol * | createSymbol (t_program *program, char *ID, t_symbolType type, int arraySize) |
| bool | isArray (t_symbol *symbol) |
| t_symbol * | getSymbol (t_program *program, char *ID) |
| void | genEpilog (t_program *program) |
| void | programDump (t_program *program, FILE *fout) |
Program object implementation.
Definition in file program.c.