Lines Matching refs:source
26 source = _source; in generate()
29 location.initialize(&source); in generate()
399 uint arg2 = source->param->resolve(program); in raw_encode()
400 switch (source->target) { 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()
429 return {inst_type::wait, (pol << 2u) | (uint) source->target, arg2 | (source->irq_type << 3)}; in raw_encode()
461 compiled_source source; in write_output() local
462 source.global_symbols = public_symbols(get_dummy_global_program()); in write_output()
465 source.programs.emplace_back(program.name); in write_output()
466 auto &cprogram = source.programs[source.programs.size() - 1]; in write_output()
534 return format->output(dest, options, source); in write_output()