Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 6 of 6) sorted by relevance

/hal_rpi_pico-latest/tools/pioasm/
Dlexer.ll25 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc);
26 yy::parser::symbol_type make_FLOAT(const std::string &s, const yy::parser::location_type& loc);
27 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc);
28 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc);
49 # define YY_USER_ACTION loc.columns (yyleng);
61 yy::location& loc = pioasm.location;
63 loc.step();
66 {blank}+ loc.step();
67 … { auto loc_newline = loc; loc_newline.end = loc_newline.begin; loc.lines(yy…
72 code_block_start = loc;
[all …]
Dpio_types.h114 mov loc; member
117 extended_mov() : loc(mov::pindirs), fifo_index(nullptr) {} in extended_mov()
118 extended_mov(mov _type) : loc(_type), fifo_index(nullptr) {} in extended_mov()
119 extended_mov(rvalue _fifo_index) : loc(mov::fifo_index), fifo_index(_fifo_index) {} in extended_mov()
121 bool uses_fifo(void) const { return loc == mov::fifo_index || loc == mov::fifo_y; } in uses_fifo()
Dpio_assembler.cpp311 if (index.loc == mov::fifo_y) { in get_push_get_index()
330 if (src.loc != mov::isr) { in pre_validate()
337 if (dest.loc != mov::osr) { in pre_validate()
349 return {inst_type::mov, (uint) dest.loc, (uint) src.loc | ((uint) op << 3u)}; in raw_encode()
/hal_rpi_pico-latest/tools/pioasm/gen/
Dlexer.cpp879 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc);
880 yy::parser::symbol_type make_FLOAT(const std::string &s, const yy::parser::location_type& loc);
881 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc);
882 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc);
884 # define YY_USER_ACTION loc.columns (yyleng);
1170 yy::location& loc = pioasm.location;
1172 loc.step();
1250 loc.step();
1255 { auto loc_newline = loc; loc_newline.end = loc_newline.begin; loc.lines(yyleng); loc.step(); retur…
1262 code_block_start = loc;
[all …]
Dlocation.h284 operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
287 = 0 < loc.end.column ? loc.end.column - 1 : 0;
288 ostr << loc.begin;
289 if (loc.end.filename
290 && (!loc.begin.filename
291 || *loc.begin.filename != *loc.end.filename))
292 ostr << '-' << loc.end.filename << ':' << loc.end.line << '.' << end_col;
293 else if (loc.begin.line < loc.end.line)
294 ostr << '-' << loc.end.line << '.' << end_col;
295 else if (loc.begin.column < end_col)
Dparser.hpp1344 virtual void error (const location_type& loc, const std::string& msg);