Lines Matching refs:yystack_

747     yystack_.push (YY_MOVE (sym));  in yypush_()
764 yystack_.pop (n); in yypop_()
857 yystack_.clear (); in parse()
864 YYCDEBUG << "Entering state " << int (yystack_[0].state) << '\n'; in parse()
868 if (yystack_[0].state == yyfinal_) in parse()
879 yyn = yypact_[+yystack_[0].state]; in parse()
952 yyn = yydefact_[+yystack_[0].state]; in parse()
965 yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]); in parse()
1056 stack_type::slice range (yystack_, yylen); in parse()
1074 …add_program(yylhs.location, yystack_[0].value.as < std::string > ())) { std::stringstream msg; msg… in parse()
1078 …{ pioasm.get_current_program(yystack_[0].location, "instruction").add_instruction(yystack_[0].valu… in parse()
1082 …nt_program(yystack_[0].location, "instruction"); p.add_label(yystack_[1].value.as < std::shared_pt… in parse()
1086 …{ pioasm.get_current_program(yystack_[0].location, "label").add_label(yystack_[0].value.as < std::… in parse()
1094yystack_[1].value.as < std::string > (); if (of.empty()) of = output_format::default_name; pioasm.… in parse()
1098 …{ yystack_[1].value.as < std::shared_ptr<symbol> > ()->is_label = true; yylhs.value.as < std::shar… in parse()
1102yystack_[1].value.as < std::shared_ptr<symbol> > ()->is_label = false; yystack_[1].value.as < std:… in parse()
1106 …{ pioasm.get_current_program(yystack_[1].location, ".origin", true).set_origin(yylhs.location, yys… in parse()
1110 …{ pioasm.get_current_program(yystack_[1].location, ".pio_version", true, false).set_pio_version(yy… in parse()
1114 …{ pioasm.get_current_program(yystack_[3].location, ".side_set", true).set_sideset(yylhs.location, in parse()
1118 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, in parse()
1122 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, in parse()
1126 …{ pioasm.get_current_program(yystack_[1].location, ".side_set", true).set_sideset(yylhs.location, in parse()
1130yystack_[4].location, ".in", true).set_in(yylhs.location, yystack_[3].value.as < std::shared_ptr<r… in parse()
1134yystack_[4].location, ".out", true).set_out(yylhs.location, yystack_[3].value.as < std::shared_ptr… in parse()
1138 …{ pioasm.get_current_program(yystack_[1].location, ".set", true).set_set_count(yylhs.location, yys… in parse()
1142 …{ pioasm.get_current_program(yystack_[0].location, ".wrap_target").set_wrap_target(yylhs.location)… in parse()
1146 … { pioasm.get_current_program(yystack_[0].location, ".wrap").set_wrap(yylhs.location); } in parse()
1150 …current_program(yystack_[1].location, "instruction").add_instruction(std::shared_ptr<instruction>(… in parse()
1154yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as < std::string > (), yystack_[… in parse()
1158 …rogram(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as < std::string > (), yy… in parse()
1162 …rogram(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as < std::string > (), yy… in parse()
1170 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1174 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1178 …{ pioasm.get_current_program(yystack_[1].location, ".fifo", true).set_fifo_config(yylhs.location, in parse()
1182 … pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_t… in parse()
1186 … pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_t… in parse()
1190 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1194 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1198 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1202 … { error(yystack_[1].location, "expected 'txfifo < N', 'rxfifo < N' or 'irq set N'"); } in parse()
1206 …{ std::stringstream msg; msg << "unknown directive " << yystack_[0].value.as < std::string > (); t… in parse()
1210 ….as < std::shared_ptr<resolvable> > () = resolvable_int(yylhs.location, yystack_[0].value.as < int… in parse()
1214 …lvable> > () = std::shared_ptr<resolvable>(new name_ref(yylhs.location, yystack_[0].value.as < std… in parse()
1218 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[1].value.as < std::shared_ptr<resol… in parse()
1222 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[0].value.as < std::shared_ptr<resol… in parse()
1226 …tion(yylhs.location, binary_operation::add, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1230 …yylhs.location, binary_operation::subtract, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1234 …yylhs.location, binary_operation::multiply, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1238 …n(yylhs.location, binary_operation::divide, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1242 …tion(yylhs.location, binary_operation::or_, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1246 …ion(yylhs.location, binary_operation::and_, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1250 …ion(yylhs.location, binary_operation::xor_, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1254 …ion(yylhs.location, binary_operation::shl_, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1258 …ion(yylhs.location, binary_operation::shr_, yystack_[2].value.as < std::shared_ptr<resolvable> > (… in parse()
1262 …operation>(new unary_operation(yylhs.location, unary_operation::negate, yystack_[0].value.as < std… in parse()
1266 …peration>(new unary_operation(yylhs.location, unary_operation::reverse, yystack_[0].value.as < std… in parse()
1270 { yylhs.value.as < uint > () = yystack_[0].value.as < int > (); } in parse()
1282yystack_[2].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std::shared_ptr<instruc… in parse()
1286yystack_[2].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std::shared_ptr<instruc… in parse()
1290 …ion> > () = yystack_[1].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std::shared… in parse()
1294 …tion> > () = yystack_[1].value.as < std::shared_ptr<instruction> > (); yylhs.value.as < std::share… in parse()
1298 …{ yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[0].value.as < std::shared_ptr<inst… in parse()
1306 …ed_ptr<instruction>(new instr_jmp(yylhs.location, yystack_[2].value.as < enum condition > (), yyst… in parse()
1310 …instruction>(new instr_wait(yylhs.location, yystack_[1].value.as < std::shared_ptr<resolvable> > (… in parse()
1314 …ion>(new instr_wait(yylhs.location, resolvable_int(yylhs.location, 1), yystack_[0].value.as < std… in parse()
1318 …red_ptr<instruction>(new instr_in(yylhs.location, yystack_[2].value.as < enum in_out_set > (), yys… in parse()
1322 …ed_ptr<instruction>(new instr_out(yylhs.location, yystack_[2].value.as < enum in_out_set > (), yys… in parse()
1326 …shared_ptr<instruction>(new instr_push(yylhs.location, yystack_[1].value.as < bool > (), yystack_[… in parse()
1330 …shared_ptr<instruction>(new instr_pull(yylhs.location, yystack_[1].value.as < bool > (), yystack_[… in parse()
1334 …new instr_mov(yylhs.location, yystack_[3].value.as < extended_mov > (), yystack_[0].value.as < ext… in parse()
1338 …hared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[2].value.as < enum irq > (), yystack… in parse()
1342 …hared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[1].value.as < enum irq > (), yystack… in parse()
1346 …hared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[1].value.as < enum irq > (), yystack… in parse()
1350 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1354 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1358 …hared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[1].value.as < enum irq > (), yystack… in parse()
1362 …ed_ptr<instruction>(new instr_set(yylhs.location, yystack_[2].value.as < enum in_out_set > (), yys… in parse()
1366 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[1].value.as < std::shared_ptr<resol… in parse()
1370 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[0].value.as < std::shared_ptr<resol… in parse()
1406 …> > () = std::shared_ptr<wait_source>(new wait_source(wait_source::irq, yystack_[1].value.as < std… in parse()
1410 …> > () = std::shared_ptr<wait_source>(new wait_source(wait_source::irq, yystack_[0].value.as < std… in parse()
1414 …> > () = std::shared_ptr<wait_source>(new wait_source(wait_source::irq, yystack_[0].value.as < std… in parse()
1418 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1422 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1426 …> > () = std::shared_ptr<wait_source>(new wait_source(wait_source::irq, yystack_[0].value.as < std… in parse()
1430 … > () = std::shared_ptr<wait_source>(new wait_source(wait_source::gpio, yystack_[0].value.as < std… in parse()
1434 …> > () = std::shared_ptr<wait_source>(new wait_source(wait_source::pin, yystack_[0].value.as < std… in parse()
1442 … () = std::shared_ptr<wait_source>(new wait_source(wait_source::jmppin, yystack_[0].value.as < std… in parse()
1446 …{ error(yystack_[0].location, pioasm.version_string(1, "expected irq, gpio, pin or jmp_pin", "expe… in parse()
1474 …{ error(yystack_[0].location, pioasm.version_string(1, "expected txrx, tx, rx, txput, rxget or put… in parse()
1574 …n, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = extended_mov(yystack_[1].value.as < std… in parse()
1610 …n, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = extended_mov(yystack_[1].value.as < std… in parse()
1666 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[0].value.as < std::shared_ptr<resol… in parse()
1722 …d_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].value.as < std… in parse()
1726 …d_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].value.as < std… in parse()
1730 …d_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].value.as < std… in parse()
1816 yyn = yypact_[+yystack_[0].state]; in parse()
1830 if (yystack_.size () == 1) in parse()
1833 yyerror_range[1].location = yystack_[0].location; in parse()
1834 yy_destroy_ ("Error: popping", yystack_[0]); in parse()
1879 while (1 < yystack_.size ()) in parse()
1881 yy_destroy_ ("Cleanup: popping", yystack_[0]); in parse()
1896 while (1 < yystack_.size ()) in parse()
1898 yy_destroy_ (YY_NULLPTR, yystack_[0]); in parse()
2014 ? yystack_[lac_top].state in yy_lac_check_()
2068 ? yystack_[lac_top].state in yy_lac_check_()
2518 i = yystack_.begin (), in yy_stack_print_()
2519 i_end = yystack_.end (); in yy_stack_print_()
2536 yystack_[(yynrhs) - (yyi + 1)]); in yy_reduce_print_()