Lines Matching refs:location

29     location.initialize(&source);  in generate()
44 throw syntax_error(inst->location, msg.str()); in add_instruction()
48 …he instruction because non optional sideset was specified for the program at " << sideset.location; in add_instruction()
49 throw syntax_error(inst->location, msg.str()); in add_instruction()
57 void program::set_pio_version(const yy::location &l, int version) { in set_pio_version()
64 void program::set_clock_div(const yy::location &l, float clock_div) { in set_clock_div()
76 void program::set_fifo_config(const yy::location &l, fifo_config config) { in set_fifo_config()
87 << " at " << existing->location; in add_symbol()
89 msg << "label '" << symbol->name << "' was already defined at " << existing->location; in add_symbol()
91 msg << "'" << symbol->name << "' was already defined at " << existing->location; in add_symbol()
93 throw syntax_error(symbol->location, msg.str()); in add_symbol()
121 throw syntax_error(location, "internal error"); in resolve()
148 throw syntax_error(location, "internal error"); in resolve()
152 void program::set_wrap(const yy::location &l) { in set_wrap()
155 msg << ".wrap was already specified at " << wrap->location; in set_wrap()
164 void program::set_wrap_target(const yy::location &l) { in set_wrap_target()
167 msg << ".wrap_target was already specified at " << wrap_target->location; in set_wrap_target()
185 … if (n > 7) throw syntax_error(mov_status.n->location, "irq number should be >= 0 and <= 7"); in finalize()
188 … if (n > 31) throw syntax_error(mov_status.n->location, "fido depth should be >= 0 and <= 31"); in finalize()
194 …if (!pio_version && in.final_pin_count != 32) throw syntax_error(in.pin_count->location, "in pin c… in finalize()
195 …_count < 1 || in.final_pin_count > 32) throw syntax_error(in.pin_count->location, "in pin count sh… in finalize()
197 …eshold < 1 || in.final_threshold > 32) throw syntax_error(in.threshold->location, "threshold shoul… in finalize()
201 …ount < 0 || out.final_pin_count > 32) throw syntax_error(out.pin_count->location, "out pin count s… in finalize()
203 …hold < 1 || out.final_threshold > 32) throw syntax_error(out.threshold->location, "threshold shoul… in finalize()
207 …if (final_set_count < 0 || final_set_count > 5) throw syntax_error(set_count.location, "set pin co… in finalize()
212 throw syntax_error(sideset.value->location, "number of side set bits must be positive"); in finalize()
219 … throw syntax_error(sideset.value->location, "maximum number of side set bits with optional is 4"); in finalize()
221 throw syntax_error(sideset.value->location, "maximum number of side set bits is 5"); in finalize()
232 throw syntax_error(in.location, msg.str()); in finalize()
242 … msg << "circular dependency in definition of '" << name << "'; detected at " << location << ")"; in resolve()
243 throw syntax_error(scope.location, msg.str()); in resolve()
257 throw syntax_error(location, msg.str()); in resolve()
265 throw syntax_error(delay->location, "instruction delay must be positive"); in encode()
269 throw syntax_error(delay->location, "instruction delay must be <= 31"); in encode()
273 << program.sideset.location; in encode()
274 throw syntax_error(delay->location, msg.str()); in encode()
281 throw syntax_error(sideset->location, "side set value must be >=0"); in encode()
286 << program.sideset.location; in encode()
287 throw syntax_error(sideset->location, msg.str()); in encode()
299 throw syntax_error(location, "internal error"); in raw_encode()
305 throw syntax_error(location, ".word value must be a positive 16 bit value"); in encode()
316 throw syntax_error(index.fifo_index->location, "FIFO index myst be between 0 and 7"); in get_push_get_index()
324 …throw syntax_error(location, "FIFO must be configured for 'txrx' or 'rx' to use this instruction"); in pre_validate()
331 throw syntax_error(location, "mov rxfifo[] source must be isr"); in pre_validate()
334 …throw syntax_error(location, "FIFO must be configured for 'txput' or 'putget' to use this instruct… in pre_validate()
338 throw syntax_error(location, "mov ,txfifo[] target must be osr"); in pre_validate()
341 …throw syntax_error(location, "FIFO must be configured for 'txget' or 'putget' to use this instruct… in pre_validate()
361 throw syntax_error(target->location, "jmp target address must be positive"); in raw_encode()
365 throw syntax_error(target->location, msg.str()); in raw_encode()
373 throw syntax_error(value->location, "'in' bit count must be >= 1 and <= 32"); in raw_encode()
381 throw syntax_error(value->location, "'out' bit count must be >= 1 and <= 32"); in raw_encode()
389 throw syntax_error(value->location, "'set' bit count must be >= 0 and <= 31"); in raw_encode()
397 throw syntax_error(polarity->location, "'wait' polarity must be 0 or 1"); in raw_encode()
402 …if (arg2 > 7) throw syntax_error(source->param->location, "irq number must be must be >= 0 and <= … in raw_encode()
407 …throw syntax_error(source->param->location, "absolute GPIO number must be must be >= 0 and <= 31"); in raw_encode()
410 …throw syntax_error(source->param->location, "absolute GPIO number must be must be >= 0 and <= 47"); in raw_encode()
414 …throw syntax_error(source->param->location, "absolute GPIO number must be must be >= 0 and <= 31 a… in raw_encode()
417 …throw syntax_error(source->param->location, "absolute GPIO number must be must be >= 16 and <= 47 … in raw_encode()
423 …if (arg2 > 31) throw syntax_error(source->param->location, "pin number must be must be >= 0 and <=… in raw_encode()
426 …if (arg2 > 3) throw syntax_error(source->param->location, "jmppin offset must be must be >= 0 and … in raw_encode()
434 if (arg2 > 7) throw syntax_error(num->location, "irq number must be must be >= 0 and <= 7"); in raw_encode()
484 …std::cerr << e.second[0].location << ": warning, unknown code block output type '" << e.first << "… in write_output()
495 …throw syntax_error(program.wrap_target->location, ".wrap_target cannot be placed after the last pr… in write_output()