Lines Matching refs:yylhs

964       stack_symbol_type yylhs;  in parse()  local
965 yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]); in parse()
976 yylhs.value.emplace< bool > (); in parse()
980 yylhs.value.emplace< enum condition > (); in parse()
984 yylhs.value.emplace< enum fifo_config > (); in parse()
990 yylhs.value.emplace< enum in_out_set > (); in parse()
994 yylhs.value.emplace< enum irq > (); in parse()
998 yylhs.value.emplace< enum mov_op > (); in parse()
1003 yylhs.value.emplace< extended_mov > (); in parse()
1007 yylhs.value.emplace< float > (); in parse()
1011 yylhs.value.emplace< int > (); in parse()
1016 yylhs.value.emplace< std::shared_ptr<instruction> > (); in parse()
1024 yylhs.value.emplace< std::shared_ptr<resolvable> > (); in parse()
1029 yylhs.value.emplace< std::shared_ptr<symbol> > (); in parse()
1033 yylhs.value.emplace< std::shared_ptr<wait_source> > (); in parse()
1042 yylhs.value.emplace< std::string > (); in parse()
1046 yylhs.value.emplace< uint > (); in parse()
1057 YYLLOC_DEFAULT (yylhs.location, range, yylen); in parse()
1058 yyerror_range[1].location = yylhs.location; in parse()
1074yylhs.location, yystack_[0].value.as < std::string > ())) { std::stringstream msg; msg << "program… in parse()
1094 …ault_name; pioasm.get_current_program(yylhs.location, "code block", false, false).add_code_block( … in parse()
1098 …{ yystack_[1].value.as < std::shared_ptr<symbol> > ()->is_label = true; yylhs.value.as < std::shar… in parse()
1106 …asm.get_current_program(yystack_[1].location, ".origin", true).set_origin(yylhs.location, yystack_… in parse()
1110 …rogram(yystack_[1].location, ".pio_version", true, false).set_pio_version(yylhs.location, yystack_… in parse()
1114 ….get_current_program(yystack_[3].location, ".side_set", true).set_sideset(yylhs.location, yystack_… in parse()
1118 ….get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, yystack_… in parse()
1122 ….get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, yystack_… in parse()
1126 ….get_current_program(yystack_[1].location, ".side_set", true).set_sideset(yylhs.location, yystack_… in parse()
1130 …{ pioasm.get_current_program(yystack_[4].location, ".in", true).set_in(yylhs.location, yystack_[3]… in parse()
1134 …{ pioasm.get_current_program(yystack_[4].location, ".out", true).set_out(yylhs.location, yystack_[… in parse()
1138 …asm.get_current_program(yystack_[1].location, ".set", true).set_set_count(yylhs.location, yystack_… 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 …instruction").add_instruction(std::shared_ptr<instruction>(new instr_word(yylhs.location, yystack_… in parse()
1166 … { error(yylhs.location, "expected format is .lang_opt language option_name = option_value"); } in parse()
1170 …asm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yystack_… in parse()
1174 …asm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yystack_… in parse()
1178 ….get_current_program(yystack_[1].location, ".fifo", true).set_fifo_config(yylhs.location, yystack_… in parse()
1206 …irective " << yystack_[0].value.as < std::string > (); throw syntax_error(yylhs.location, msg.str(… in parse()
1210 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = resolvable_int(yylhs.location, yystack_[0].v… in parse()
1214 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<resolvable>(new name_ref(yyl… 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 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1230 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1234 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1238 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1242 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1246 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1250 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1254 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1258 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary… in parse()
1262 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<unary_operation>(new unary_o… in parse()
1266 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = std::shared_ptr<unary_operation>(new unary_o… in parse()
1270 { yylhs.value.as < uint > () = yystack_[0].value.as < int > (); } in parse()
1274 { yylhs.value.as < uint > () = 0; } in parse()
1278 { yylhs.value.as < uint > () = 1; } in parse()
1282yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[2].value.as < std::shared_ptr<instru… in parse()
1286yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[2].value.as < std::shared_ptr<instru… in parse()
1290yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[1].value.as < std::shared_ptr<instru… in parse()
1294 …{ yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[1].value.as < std::shared_ptr<inst… in parse()
1298yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[0].value.as < std::shared_ptr<instru… in parse()
1302 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_nop( in parse()
1306 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_jmp( in parse()
1310 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_wait… in parse()
1314 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_wait… in parse()
1318 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_in(y… in parse()
1322 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_out( in parse()
1326 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_push… in parse()
1330 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_pull… in parse()
1334 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_mov( in parse()
1338 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq( in parse()
1342 …version(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<instruction> > () = std::… in parse()
1346 …version(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<instruction> > () = std::… 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 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq( in parse()
1362 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_set( 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()
1374 { yylhs.value.as < enum condition > () = condition::xz; } in parse()
1378 { yylhs.value.as < enum condition > () = condition::xnz__; } in parse()
1382 { yylhs.value.as < enum condition > () = condition::yz; } in parse()
1386 { yylhs.value.as < enum condition > () = condition::ynz__; } in parse()
1390 { yylhs.value.as < enum condition > () = condition::xney; } in parse()
1394 { yylhs.value.as < enum condition > () = condition::pin; } in parse()
1398 { yylhs.value.as < enum condition > () = condition::osrez; } in parse()
1402 { yylhs.value.as < enum condition > () = condition::al; } in parse()
1406 …{ yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… in parse()
1410 …{ pioasm.check_version(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<wait_sourc… in parse()
1414 …{ pioasm.check_version(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<wait_sourc… 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 …{ yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… in parse()
1430 …{ yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… in parse()
1434 …{ yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… in parse()
1438yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_p… in parse()
1442 …{ pioasm.check_version(1, yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_so… in parse()
1450 { yylhs.value.as < enum fifo_config > () = fifo_config::txrx; } in parse()
1454 { yylhs.value.as < enum fifo_config > () = fifo_config::tx; } in parse()
1458 { yylhs.value.as < enum fifo_config > () = fifo_config::rx; } in parse()
1462 …{ pioasm.check_version(1, yylhs.location, "txput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1466 …{ pioasm.check_version(1, yylhs.location, "rxput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1470 …{ pioasm.check_version(1, yylhs.location, "putget"); yylhs.value.as < enum fifo_config > () = fifo… in parse()
1478 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_pins; } in parse()
1482 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_x; } in parse()
1486 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_y; } in parse()
1490 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_null; } in parse()
1494 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_isr; } in parse()
1498 { yylhs.value.as < enum in_out_set > () = in_out_set::in_osr; } in parse()
1502 { yylhs.value.as < enum in_out_set > () = in_out_set::in_status; } in parse()
1506 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_pins; } in parse()
1510 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_x; } in parse()
1514 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_y; } in parse()
1518 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_null; } in parse()
1522 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_pindirs; } in parse()
1526 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_isr; } in parse()
1530 { yylhs.value.as < enum in_out_set > () = in_out_set::out_set_pc; } in parse()
1534 { yylhs.value.as < enum in_out_set > () = in_out_set::out_exec; } in parse()
1538 { yylhs.value.as < extended_mov > () = mov::pins; } in parse()
1542 { yylhs.value.as < extended_mov > () = mov::x; } in parse()
1546 { yylhs.value.as < extended_mov > () = mov::y; } in parse()
1550 { yylhs.value.as < extended_mov > () = mov::exec; } in parse()
1554 { yylhs.value.as < extended_mov > () = mov::pc; } in parse()
1558 { yylhs.value.as < extended_mov > () = mov::isr; } in parse()
1562 { yylhs.value.as < extended_mov > () = mov::osr; } in parse()
1566 …{ pioasm.check_version(1, yylhs.location, "mov pindirs"); yylhs.value.as < extended_mov > () = mov… in parse()
1570 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1574 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1578 { yylhs.value.as < extended_mov > () = mov::pins; } in parse()
1582 { yylhs.value.as < extended_mov > () = mov::x; } in parse()
1586 { yylhs.value.as < extended_mov > () = mov::y; } in parse()
1590 { yylhs.value.as < extended_mov > () = mov::null; } in parse()
1594 { yylhs.value.as < extended_mov > () = mov::status; } in parse()
1598 { yylhs.value.as < extended_mov > () = mov::isr; } in parse()
1602 { yylhs.value.as < extended_mov > () = mov::osr; } in parse()
1606 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1610 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1614 { yylhs.value.as < enum mov_op > () = mov_op::invert; } in parse()
1618 { yylhs.value.as < enum mov_op > () = mov_op::bit_reverse; } in parse()
1622 { yylhs.value.as < enum mov_op > () = mov_op::none; } in parse()
1626 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_pins; } in parse()
1630 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_x; } in parse()
1634 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_y; } in parse()
1638 { yylhs.value.as < enum in_out_set > () = in_out_set::in_out_set_pindirs; } in parse()
1642 { yylhs.value.as < bool > () = false; } in parse()
1646 { yylhs.value.as < bool > () = true; } in parse()
1650 { yylhs.value.as < bool > () = true; } in parse()
1654 { yylhs.value.as < bool > () = true; } in parse()
1658 { yylhs.value.as < bool > () = false; } in parse()
1662 { yylhs.value.as < bool > () = false; } in parse()
1666 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = yystack_[0].value.as < std::shared_ptr<resol… in parse()
1670 … { yylhs.value.as < std::shared_ptr<resolvable> > () = resolvable_int(yylhs.location, 32); } in parse()
1674 { yylhs.value.as < bool > () = true; } in parse()
1678 { yylhs.value.as < bool > () = false; } in parse()
1682 { yylhs.value.as < bool > () = true; } in parse()
1686 { yylhs.value.as < bool > () = false; } in parse()
1690 { yylhs.value.as < bool > () = true; } in parse()
1694 { yylhs.value.as < bool > () = false; } in parse()
1698 { yylhs.value.as < bool > () = true; } in parse()
1702 { yylhs.value.as < enum irq > () = irq::clear; } in parse()
1706 { yylhs.value.as < enum irq > () = irq::set_wait; } in parse()
1710 { yylhs.value.as < enum irq > () = irq::set; } in parse()
1714 { yylhs.value.as < enum irq > () = irq::set; } in parse()
1718 { yylhs.value.as < enum irq > () = irq::set; } in parse()
1722 …{ yylhs.value.as < std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.locatio… in parse()
1726 …{ yylhs.value.as < std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.locatio… in parse()
1730 …{ yylhs.value.as < std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.locatio… in parse()
1747 YY_SYMBOL_PRINT ("-> $$ =", yylhs); in parse()
1752 yypush_ (YY_NULLPTR, YY_MOVE (yylhs)); in parse()