Lines Matching refs:as
1074 …hs.location, yystack_[0].value.as < std::string > ())) { std::stringstream msg; msg << "program " … in parse()
1078 …ram(yystack_[0].location, "instruction").add_instruction(yystack_[0].value.as < std::shared_ptr<in… in parse()
1082 …ction"); p.add_label(yystack_[1].value.as < std::shared_ptr<symbol> > ()); p.add_instruction(yysta… in parse()
1086 …current_program(yystack_[0].location, "label").add_label(yystack_[0].value.as < std::shared_ptr<sy… in parse()
1094 …as < std::string > (); if (of.empty()) of = output_format::default_name; pioasm.get_current_progra… in parse()
1098 …stack_[1].value.as < std::shared_ptr<symbol> > ()->is_label = true; yylhs.value.as < std::shared_p… in parse()
1102 …as < std::shared_ptr<symbol> > ()->is_label = false; yystack_[1].value.as < std::shared_ptr<symbol… in parse()
1106 …1].location, ".origin", true).set_origin(yylhs.location, yystack_[0].value.as < std::shared_ptr<re… in parse()
1110 …, ".pio_version", true, false).set_pio_version(yylhs.location, yystack_[0].value.as < uint > ()); } in parse()
1114 …location, ".side_set", true).set_sideset(yylhs.location, yystack_[2].value.as < std::shared_ptr<re… in parse()
1118 …location, ".side_set", true).set_sideset(yylhs.location, yystack_[1].value.as < std::shared_ptr<re… in parse()
1122 …location, ".side_set", true).set_sideset(yylhs.location, yystack_[1].value.as < std::shared_ptr<re… in parse()
1126 …location, ".side_set", true).set_sideset(yylhs.location, yystack_[0].value.as < std::shared_ptr<re… in parse()
1130 …ck_[3].value.as < std::shared_ptr<resolvable> > (), yystack_[2].value.as < bool > (), yystack_[1].… in parse()
1134 …ck_[3].value.as < std::shared_ptr<resolvable> > (), yystack_[2].value.as < bool > (), yystack_[1].… in parse()
1138 …1].location, ".set", true).set_set_count(yylhs.location, yystack_[0].value.as < std::shared_ptr<re… in parse()
1150 …::shared_ptr<instruction>(new instr_word(yylhs.location, yystack_[0].value.as < std::shared_ptr<re… in parse()
1154 …lang_opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::string > (), std::to… in parse()
1158 …").add_lang_opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::string > (), … in parse()
1162 …").add_lang_opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::string > (), … in parse()
1170 …stack_[1].location, ".clock_div").set_clock_div(yylhs.location, yystack_[0].value.as < int > ()); } in parse()
1174 …ack_[1].location, ".clock_div").set_clock_div(yylhs.location, yystack_[0].value.as < float > ()); } in parse()
1178 …location, ".fifo", true).set_fifo_config(yylhs.location, yystack_[0].value.as < enum fifo_config >… in parse()
1182 …tus", true).set_mov_status(mov_status_type::tx_lessthan, yystack_[0].value.as < std::shared_ptr<re… in parse()
1186 …tus", true).set_mov_status(mov_status_type::rx_lessthan, yystack_[0].value.as < std::shared_ptr<re… in parse()
1190 …_status", true).set_mov_status(mov_status_type::irq_set, yystack_[0].value.as < std::shared_ptr<re… in parse()
1194 …_status", true).set_mov_status(mov_status_type::irq_set, yystack_[0].value.as < std::shared_ptr<re… in parse()
1198 …_status", true).set_mov_status(mov_status_type::irq_set, yystack_[0].value.as < std::shared_ptr<re… in parse()
1206 …{ std::stringstream msg; msg << "unknown directive " << yystack_[0].value.as < std::string > (); t… 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 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1230 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1234 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1238 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1242 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1246 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1250 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1254 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1258 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<binary_operation>(new binary_operation(yyl… in parse()
1262 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<unary_operation>(new unary_operation(yylhs… in parse()
1266 …as < std::shared_ptr<resolvable> > () = std::shared_ptr<unary_operation>(new unary_operation(yylhs… 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()
1282 …as < std::shared_ptr<instruction> > () = yystack_[2].value.as < std::shared_ptr<instruction> > ();… in parse()
1286 …as < std::shared_ptr<instruction> > () = yystack_[2].value.as < std::shared_ptr<instruction> > ();… in parse()
1290 …as < std::shared_ptr<instruction> > () = yystack_[1].value.as < std::shared_ptr<instruction> > ();… in parse()
1294 …as < std::shared_ptr<instruction> > () = yystack_[1].value.as < std::shared_ptr<instruction> > ();… in parse()
1298 …{ yylhs.value.as < std::shared_ptr<instruction> > () = yystack_[0].value.as < std::shared_ptr<inst… in parse()
1302 …{ yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_nop(… in parse()
1306 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_jmp(yylhs.location… in parse()
1310 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_wait(yylhs.locatio… in parse()
1314 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_wait(yylhs.locatio… in parse()
1318 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_in(yylhs.location,… in parse()
1322 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_out(yylhs.location… in parse()
1326 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_push(yylhs.locatio… in parse()
1330 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_pull(yylhs.locatio… in parse()
1334 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_mov(yylhs.location… in parse()
1338 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location… in parse()
1342 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location… in parse()
1346 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location… in parse()
1358 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location… in parse()
1362 …as < std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_set(yylhs.location… 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 …; yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… in parse()
1414 …; yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_sourc… 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()
1438 …{ pioasm.check_version(1, yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_so… in parse()
1442 … yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wait_source>(new wait_source… 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 …yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = extended_mov(yystack_[1].v… 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 …yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = extended_mov(yystack_[1].v… 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()