Home
last modified time | relevance | path

Searched refs:instruction (Results 1 – 5 of 5) sorted by relevance

/hal_rpi_pico-3.4.0/tools/pioasm/
Dpio_types.h207 struct instruction : public src_item { struct
211 instruction(const yy::location &l) : src_item(l) {} in instruction() argument
245 std::vector<std::shared_ptr<instruction>> instructions;
278 void add_instruction(std::shared_ptr<instruction> inst);
286 struct instr_jmp : public instruction {
290 …instr_jmp(const yy::location &l, condition c, rvalue target) : instruction(l), cond(c), target(std… in instr_jmp()
295 struct instr_wait : public instruction {
299 … yy::location &l, rvalue polarity, std::shared_ptr<wait_source> source) : instruction(l), polarity( in instr_wait()
305 struct instr_in : public instruction {
309 …instr_in(const yy::location &l, const enum in_out_set &src, rvalue value) : instruction(l), src(sr… in instr_in()
[all …]
Dparser.yy146 …| instruction { pioasm.get_current_program(@1, "instruction").add_…
147 …| label_decl instruction { auto &p = pioasm.get_current_program(@2, "instruct…
170 … { pioasm.get_current_program(@1, "instruction").add_instruction(std::shared_ptr<inst…
197 %type <std::shared_ptr<instruction>> instruction;
198 instruction:
205 %type <std::shared_ptr<instruction>> base_instruction;
207 …NOP { $$ = std::shared_ptr<instruction>(new inst…
208 …| JMP condition comma expression { $$ = std::shared_ptr<instruction>(new inst…
209 …| WAIT value wait_source { $$ = std::shared_ptr<instruction>(new inst…
211 …| WAIT wait_source { $$ = std::shared_ptr<instruction>(new inst…
[all …]
Dpio_assembler.cpp38 void program::add_instruction(std::shared_ptr<instruction> inst) { in add_instruction()
198 uint instruction::encode(const program &program) { in encode()
234 raw_encoding instruction::raw_encode(const program &program) { in raw_encode()
342 … std::back_inserter(cprogram.instructions), [&](std::shared_ptr<instruction> &inst) { in write_output()
/hal_rpi_pico-3.4.0/tools/pioasm/gen/
Dparser.cpp245 value.YY_MOVE_OR_COPY< std::shared_ptr<instruction> > (YY_MOVE (that.value)); in stack_symbol_type()
323 value.move< std::shared_ptr<instruction> > (YY_MOVE (that.value)); in stack_symbol_type()
401 value.copy< std::shared_ptr<instruction> > (that.value); in operator =()
478 value.move< std::shared_ptr<instruction> > (that.value); in operator =()
922 yylhs.value.emplace< std::shared_ptr<instruction> > (); in parse()
979 …cation, "instruction").add_instruction(yystack_[0].value.as < std::shared_ptr<instruction> > ()); } in parse()
983 …d_ptr<symbol> > ()); p.add_instruction(yystack_[0].value.as < std::shared_ptr<instruction> > ()); } in parse()
1035 …m(yystack_[1].location, "instruction").add_instruction(std::shared_ptr<instruction>(new instr_word… in parse()
1111instruction> > () = yystack_[2].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std… in parse()
1115instruction> > () = yystack_[2].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std… in parse()
[all …]
Dparser.hpp411 char dummy8[sizeof (std::shared_ptr<instruction>)];
734 value.move< std::shared_ptr<instruction> > (std::move (that.value)); in basic_symbol()
876 basic_symbol (typename Base::kind_type t, std::shared_ptr<instruction>&& v, location_type&& l) in basic_symbol()
882 …basic_symbol (typename Base::kind_type t, const std::shared_ptr<instruction>& v, const location_ty… in basic_symbol()
998 value.template destroy< std::shared_ptr<instruction> > (); in clear()
2708 value.copy< std::shared_ptr<instruction> > (YY_MOVE (that.value)); in basic_symbol()
2800 value.move< std::shared_ptr<instruction> > (YY_MOVE (s.value)); in move()