Lines Matching refs:Program
69 struct rc_constant *constants = c->Program.Constants.Constants;
73 if (!c->Program.Constants.Count) {
78 const_used = malloc(c->Program.Constants.Count);
79 memset(const_used, 0, c->Program.Constants.Count);
85 for (struct rc_instruction *inst = c->Program.Instructions.Next;
86 inst != &c->Program.Instructions; inst = inst->Next) {
93 for (unsigned i = 0; i < c->Program.Constants.Count; i++)
100 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
101 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
104 for (unsigned i = 0; i < c->Program.Constants.Count; i++) {
122 assert( is_identity || new_count < c->Program.Constants.Count);
127 for (struct rc_instruction *inst = c->Program.Instructions.Next;
128 inst != &c->Program.Instructions; inst = inst->Next) {
136 c->Program.Constants.Count = new_count;
149 rc_constants_print(&c->Program.Constants);