Lines Matching refs:Instruction

73 			return _i == AssemblyItem{Instruction::MSIZE} || _i.type() == VerbatimBytecode;  in CSE()
81 BOOST_CHECK(item == Instruction::POP || item.location().isValid()); in CSE()
103 return _i == AssemblyItem{Instruction::MSIZE} || _i.type() == VerbatimBytecode; in fullCSE()
163 checkCSE({pushImmutable, pushImmutable}, {pushImmutable, Instruction::DUP1}); in BOOST_AUTO_TEST_CASE()
190 Instruction::ORIGIN in BOOST_AUTO_TEST_CASE()
203 Instruction::SWAP1, Instruction::POP, Instruction::ADD, u256(0), Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
204 Instruction::SLOAD, Instruction::SWAP1, u256(100), Instruction::EXP, Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
205 Instruction::DIV, u256(0xff), Instruction::AND in BOOST_AUTO_TEST_CASE()
214 AssemblyItems input{Instruction::DUP2, u256(0)}; in BOOST_AUTO_TEST_CASE()
220 AssemblyItems input{Instruction::ADD}; in BOOST_AUTO_TEST_CASE()
226 AssemblyItems input{Instruction::ADD, u256(1), Instruction::DUP1}; in BOOST_AUTO_TEST_CASE()
232 checkCSE({Instruction::POP}, {Instruction::POP}); in BOOST_AUTO_TEST_CASE()
238 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
239 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
240 Instruction::POP, in BOOST_AUTO_TEST_CASE()
249 AssemblyItems input{u256(7), u256(8), Instruction::ADD}; in BOOST_AUTO_TEST_CASE()
256 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
257 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
259 Instruction::OR, in BOOST_AUTO_TEST_CASE()
260 Instruction::OR in BOOST_AUTO_TEST_CASE()
262 checkCSE(input, {Instruction::DUP1}); in BOOST_AUTO_TEST_CASE()
267 checkCSE({Instruction::DUP1, Instruction::SUB}, {Instruction::POP, u256(0)}); in BOOST_AUTO_TEST_CASE()
272 checkCSE({Instruction::SUB}, {Instruction::SUB}); in BOOST_AUTO_TEST_CASE()
277 checkCSE({Instruction::DUP5, Instruction::NOT, Instruction::NOT}, {Instruction::DUP5}); in BOOST_AUTO_TEST_CASE()
282 checkCSE({Instruction::GT, Instruction::ISZERO, Instruction::ISZERO}, {Instruction::GT}); in BOOST_AUTO_TEST_CASE()
283 checkCSE({Instruction::GT, Instruction::ISZERO}, {Instruction::GT, Instruction::ISZERO}); in BOOST_AUTO_TEST_CASE()
285 {Instruction::ISZERO, Instruction::ISZERO, Instruction::ISZERO}, in BOOST_AUTO_TEST_CASE()
286 {Instruction::ISZERO} in BOOST_AUTO_TEST_CASE()
293 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
294 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
296 Instruction::OR, in BOOST_AUTO_TEST_CASE()
297 Instruction::OR in BOOST_AUTO_TEST_CASE()
299 checkCSE(input, {Instruction::DUP1}); in BOOST_AUTO_TEST_CASE()
306 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
309 Instruction::DUP6, in BOOST_AUTO_TEST_CASE()
310 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
312 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
313 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
314 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
315 Instruction::ADD in BOOST_AUTO_TEST_CASE()
317 …checkCSE(input, {Instruction::DUP2, Instruction::DUP2, Instruction::ADD, u256(5), Instruction::ADD… in BOOST_AUTO_TEST_CASE()
325 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
327 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
329 Instruction::SHR in BOOST_AUTO_TEST_CASE()
340 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
342 Instruction::SHL, in BOOST_AUTO_TEST_CASE()
344 Instruction::SHL in BOOST_AUTO_TEST_CASE()
354 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
355 Instruction::BYTE in BOOST_AUTO_TEST_CASE()
357 checkCSE(input, {u256(31), Instruction::CALLVALUE, Instruction::BYTE}); in BOOST_AUTO_TEST_CASE()
363 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
365 Instruction::BYTE in BOOST_AUTO_TEST_CASE()
367 checkCSE(input, {u256(0xff), Instruction::CALLVALUE, Instruction::AND}); in BOOST_AUTO_TEST_CASE()
374 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
376 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
377 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
379 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
383 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
384 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
385 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
386 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
387 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
388 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
398 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
399 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
400 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
401 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
403 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
404 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
408 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
409 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
419 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
420 Instruction::SSTORE, // store to "DUP1" in BOOST_AUTO_TEST_CASE()
421 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
422 Instruction::SLOAD, // read from "DUP2", might be equal to "DUP1" in BOOST_AUTO_TEST_CASE()
424 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
425 Instruction::SSTORE // store different value to "DUP1" in BOOST_AUTO_TEST_CASE()
436 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
437 Instruction::SSTORE, // store to "DUP1" in BOOST_AUTO_TEST_CASE()
438 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
439 Instruction::SLOAD, // read from "DUP2", might be equal to "DUP1" in BOOST_AUTO_TEST_CASE()
442 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
443 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
444 Instruction::SSTORE // store same value to "DUP1" in BOOST_AUTO_TEST_CASE()
448 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
449 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
450 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
451 Instruction::SLOAD in BOOST_AUTO_TEST_CASE()
462 Instruction::SSTORE, // store to 1 in BOOST_AUTO_TEST_CASE()
464 Instruction::SLOAD, // read from 2, is different from 1 in BOOST_AUTO_TEST_CASE()
467 Instruction::SSTORE // store different value at 1 in BOOST_AUTO_TEST_CASE()
471 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
474 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
484 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
486 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
487 Instruction::SSTORE, // store to "DUP1"+1 in BOOST_AUTO_TEST_CASE()
488 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
490 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
491 Instruction::SLOAD, // read from "DUP1"+2, is different from "DUP1"+1 in BOOST_AUTO_TEST_CASE()
493 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
495 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
496 Instruction::SSTORE // store different value at "DUP1"+1 in BOOST_AUTO_TEST_CASE()
500 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
501 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
502 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
505 Instruction::DUP4, in BOOST_AUTO_TEST_CASE()
506 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
507 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
514 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
515 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
516 Instruction::POP, in BOOST_AUTO_TEST_CASE()
517 Instruction::SWAP8, in BOOST_AUTO_TEST_CASE()
518 Instruction::POP, in BOOST_AUTO_TEST_CASE()
519 Instruction::SWAP8, in BOOST_AUTO_TEST_CASE()
520 Instruction::POP, in BOOST_AUTO_TEST_CASE()
521 Instruction::SWAP8, in BOOST_AUTO_TEST_CASE()
522 Instruction::SWAP5, in BOOST_AUTO_TEST_CASE()
523 Instruction::POP, in BOOST_AUTO_TEST_CASE()
524 Instruction::POP, in BOOST_AUTO_TEST_CASE()
525 Instruction::POP, in BOOST_AUTO_TEST_CASE()
526 Instruction::POP, in BOOST_AUTO_TEST_CASE()
527 Instruction::POP, in BOOST_AUTO_TEST_CASE()
530 Instruction::SWAP4, in BOOST_AUTO_TEST_CASE()
531 Instruction::SWAP12, in BOOST_AUTO_TEST_CASE()
532 Instruction::SWAP3, in BOOST_AUTO_TEST_CASE()
533 Instruction::SWAP11, in BOOST_AUTO_TEST_CASE()
534 Instruction::POP, in BOOST_AUTO_TEST_CASE()
535 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
536 Instruction::SWAP3, in BOOST_AUTO_TEST_CASE()
537 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
538 Instruction::SWAP8, in BOOST_AUTO_TEST_CASE()
539 Instruction::POP, in BOOST_AUTO_TEST_CASE()
540 Instruction::SWAP6, in BOOST_AUTO_TEST_CASE()
541 Instruction::POP, in BOOST_AUTO_TEST_CASE()
542 Instruction::POP, in BOOST_AUTO_TEST_CASE()
543 Instruction::POP, in BOOST_AUTO_TEST_CASE()
544 Instruction::POP, in BOOST_AUTO_TEST_CASE()
545 Instruction::POP, in BOOST_AUTO_TEST_CASE()
546 Instruction::POP, in BOOST_AUTO_TEST_CASE()
555 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
557 Instruction::JUMPI in BOOST_AUTO_TEST_CASE()
570 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
572 Instruction::JUMPI in BOOST_AUTO_TEST_CASE()
576 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
578 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
586 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
587 Instruction::KECCAK256 in BOOST_AUTO_TEST_CASE()
599 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
602 Instruction::KECCAK256 in BOOST_AUTO_TEST_CASE()
607 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
616 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
617 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
618 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
620 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
621 Instruction::KECCAK256, in BOOST_AUTO_TEST_CASE()
623 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
624 Instruction::KECCAK256 in BOOST_AUTO_TEST_CASE()
627 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
628 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
629 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
631 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
632 Instruction::KECCAK256, in BOOST_AUTO_TEST_CASE()
633 Instruction::DUP1 in BOOST_AUTO_TEST_CASE()
641 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
643 Instruction::MSTORE, // m[128] = DUP1 in BOOST_AUTO_TEST_CASE()
646 Instruction::KECCAK256, // keccak256(m[128..(128+32)]) in BOOST_AUTO_TEST_CASE()
647 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
649 Instruction::MSTORE, // m[12] = DUP1 in BOOST_AUTO_TEST_CASE()
652 Instruction::KECCAK256 // keccak256(m[12..(12+32)]) in BOOST_AUTO_TEST_CASE()
656 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
657 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
658 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
660 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
661 Instruction::KECCAK256, in BOOST_AUTO_TEST_CASE()
663 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
664 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
665 Instruction::MSTORE, in BOOST_AUTO_TEST_CASE()
666 Instruction::DUP1 in BOOST_AUTO_TEST_CASE()
676 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
677 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
678 Instruction::MSTORE, // m[128] = DUP1 in BOOST_AUTO_TEST_CASE()
680 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
681 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
682 Instruction::KECCAK256, // keccak256(m[128..(128+32)]) in BOOST_AUTO_TEST_CASE()
684 Instruction::DUP5, in BOOST_AUTO_TEST_CASE()
685 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
686 Instruction::MSTORE, // m[12] = DUP1 in BOOST_AUTO_TEST_CASE()
687 Instruction::DUP12, in BOOST_AUTO_TEST_CASE()
688 Instruction::DUP14, in BOOST_AUTO_TEST_CASE()
689 Instruction::MSTORE, // destroys memory knowledge in BOOST_AUTO_TEST_CASE()
690 Instruction::SWAP2, in BOOST_AUTO_TEST_CASE()
691 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
692 Instruction::SWAP2, in BOOST_AUTO_TEST_CASE()
693 Instruction::KECCAK256 // keccak256(m[12..(12+32)]) in BOOST_AUTO_TEST_CASE()
704 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
705 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
706 Instruction::MSTORE, // m[128] = DUP1 in BOOST_AUTO_TEST_CASE()
708 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
709 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
710 Instruction::KECCAK256, // keccak256(m[128..(128+32)]) in BOOST_AUTO_TEST_CASE()
712 Instruction::DUP5, in BOOST_AUTO_TEST_CASE()
713 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
714 Instruction::MSTORE, // m[12] = DUP1 in BOOST_AUTO_TEST_CASE()
715 Instruction::DUP12, in BOOST_AUTO_TEST_CASE()
717 Instruction::MSTORE, // does not destoy memory knowledge in BOOST_AUTO_TEST_CASE()
718 Instruction::DUP13, in BOOST_AUTO_TEST_CASE()
720 Instruction::MSTORE, // does not destoy memory knowledge in BOOST_AUTO_TEST_CASE()
723 Instruction::KECCAK256 // keccak256(m[12..(12+32)]) in BOOST_AUTO_TEST_CASE()
727 BOOST_CHECK_EQUAL(4, count(output.begin(), output.end(), AssemblyItem(Instruction::MSTORE))); in BOOST_AUTO_TEST_CASE()
728 BOOST_CHECK_EQUAL(1, count(output.begin(), output.end(), AssemblyItem(Instruction::KECCAK256))); in BOOST_AUTO_TEST_CASE()
736 Instruction::ADD in BOOST_AUTO_TEST_CASE()
741 checkCSE(input, AssemblyItems{Instruction::DUP1}, state); in BOOST_AUTO_TEST_CASE()
746 evmasm::KnownState state = createInitialState(AssemblyItems{Instruction::DUP1}); in BOOST_AUTO_TEST_CASE()
748 Instruction::EQ in BOOST_AUTO_TEST_CASE()
761 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
763 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
765 Instruction::SSTORE in BOOST_AUTO_TEST_CASE()
772 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
783 AssemblyItems{u256(0), u256(7), Instruction::RETURN}, in BOOST_AUTO_TEST_CASE()
784 AssemblyItems{Instruction::STOP} in BOOST_AUTO_TEST_CASE()
793 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
804 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
808 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
812 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
825 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
829 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
833 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
846 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
848 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
862 Instruction::SWAP3, in BOOST_AUTO_TEST_CASE()
863 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
866 Instruction::SWAP3, in BOOST_AUTO_TEST_CASE()
867 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
870 Instruction::SWAP3, in BOOST_AUTO_TEST_CASE()
871 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
890 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
894 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
918 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
922 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
936 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
940 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
950 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
953 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
954 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
958 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
960 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
964 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
966 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
982 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
984 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
988 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
990 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
996 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1000 Instruction::SSTORE, in BOOST_AUTO_TEST_CASE()
1002 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
1024 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1026 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1042 Instruction::CALLDATASIZE, in BOOST_AUTO_TEST_CASE()
1043 Instruction::LT, in BOOST_AUTO_TEST_CASE()
1044 Instruction::POP in BOOST_AUTO_TEST_CASE()
1054 vector<Instruction> ops{ in BOOST_AUTO_TEST_CASE()
1055 Instruction::ADD, in BOOST_AUTO_TEST_CASE()
1056 Instruction::MUL, in BOOST_AUTO_TEST_CASE()
1057 Instruction::EQ, in BOOST_AUTO_TEST_CASE()
1058 Instruction::AND, in BOOST_AUTO_TEST_CASE()
1059 Instruction::OR, in BOOST_AUTO_TEST_CASE()
1060 Instruction::XOR in BOOST_AUTO_TEST_CASE()
1062 for (Instruction const op: ops) in BOOST_AUTO_TEST_CASE()
1067 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1091 vector<Instruction> ops{ in BOOST_AUTO_TEST_CASE()
1092 Instruction::SUB, in BOOST_AUTO_TEST_CASE()
1093 Instruction::DIV, in BOOST_AUTO_TEST_CASE()
1094 Instruction::SDIV, in BOOST_AUTO_TEST_CASE()
1095 Instruction::MOD, in BOOST_AUTO_TEST_CASE()
1096 Instruction::SMOD, in BOOST_AUTO_TEST_CASE()
1097 Instruction::EXP in BOOST_AUTO_TEST_CASE()
1099 for (Instruction const op: ops) in BOOST_AUTO_TEST_CASE()
1104 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1112 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1128 map<Instruction, Instruction> swappableOps{ in BOOST_AUTO_TEST_CASE()
1129 { Instruction::LT, Instruction::GT }, in BOOST_AUTO_TEST_CASE()
1130 { Instruction::GT, Instruction::LT }, in BOOST_AUTO_TEST_CASE()
1131 { Instruction::SLT, Instruction::SGT }, in BOOST_AUTO_TEST_CASE()
1132 { Instruction::SGT, Instruction::SLT } in BOOST_AUTO_TEST_CASE()
1140 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1165 Instruction::BALANCE, in BOOST_AUTO_TEST_CASE()
1167 Instruction::NOT, in BOOST_AUTO_TEST_CASE()
1168 Instruction::AND, in BOOST_AUTO_TEST_CASE()
1170 Instruction::JUMPI in BOOST_AUTO_TEST_CASE()
1174 Instruction::BALANCE, in BOOST_AUTO_TEST_CASE()
1176 Instruction::JUMPI in BOOST_AUTO_TEST_CASE()
1192 Instruction::CALLDATALOAD, in BOOST_AUTO_TEST_CASE()
1193 Instruction::ISZERO, in BOOST_AUTO_TEST_CASE()
1194 Instruction::ISZERO, in BOOST_AUTO_TEST_CASE()
1196 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
1199 Instruction::RETURN in BOOST_AUTO_TEST_CASE()
1204 Instruction::CALLDATALOAD, in BOOST_AUTO_TEST_CASE()
1206 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
1209 Instruction::RETURN in BOOST_AUTO_TEST_CASE()
1229 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1236 Instruction::JUMP in BOOST_AUTO_TEST_CASE()
1260 sub->append(Instruction::JUMP); in BOOST_AUTO_TEST_CASE()
1264 sub->append(Instruction::JUMP); in BOOST_AUTO_TEST_CASE()
1273 sub->append(Instruction::JUMP); in BOOST_AUTO_TEST_CASE()
1305 u256(1), t1.tag(), u256(2), Instruction::JUMP, t4.tag(), u256(7), t4.pushTag(), Instruction::JUMP in BOOST_AUTO_TEST_CASE()
1317 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
1318 Instruction::SUB in BOOST_AUTO_TEST_CASE()
1320 Instruction::DUP1 in BOOST_AUTO_TEST_CASE()
1324 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1326 Instruction::SUB in BOOST_AUTO_TEST_CASE()
1329 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
1330 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1331 Instruction::SUB in BOOST_AUTO_TEST_CASE()
1347 Instruction::MLOAD, in BOOST_AUTO_TEST_CASE()
1348 Instruction::POP, in BOOST_AUTO_TEST_CASE()
1363 Instruction::MLOAD, // Should not be removed in BOOST_AUTO_TEST_CASE()
1364 Instruction::POP, in BOOST_AUTO_TEST_CASE()
1367 Instruction::MLOAD, // Should not be removed in BOOST_AUTO_TEST_CASE()
1368 Instruction::POP, in BOOST_AUTO_TEST_CASE()
1379 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1381 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1387 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1388 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1401 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1404 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1415 Instruction::SLOAD, in BOOST_AUTO_TEST_CASE()
1417 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1418 Instruction::EQ in BOOST_AUTO_TEST_CASE()
1427 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1428 Instruction::DUP2, in BOOST_AUTO_TEST_CASE()
1429 Instruction::DUP3, in BOOST_AUTO_TEST_CASE()
1430 Instruction::DUP4 in BOOST_AUTO_TEST_CASE()
1473 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1475 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1476 Instruction::AND in BOOST_AUTO_TEST_CASE()
1478 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1480 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1484 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1486 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1488 Instruction::AND in BOOST_AUTO_TEST_CASE()
1490 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1492 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1501 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1503 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1504 Instruction::AND in BOOST_AUTO_TEST_CASE()
1506 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1508 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1510 Instruction::AND in BOOST_AUTO_TEST_CASE()
1514 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1516 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1518 Instruction::AND in BOOST_AUTO_TEST_CASE()
1521 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1523 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1524 Instruction::AND in BOOST_AUTO_TEST_CASE()
1530 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1532 Instruction::SHR, in BOOST_AUTO_TEST_CASE()
1534 Instruction::AND in BOOST_AUTO_TEST_CASE()
1536 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1538 Instruction::SHR in BOOST_AUTO_TEST_CASE()
1544 vector<Instruction> ops{ in BOOST_AUTO_TEST_CASE()
1545 Instruction::ADDRESS, in BOOST_AUTO_TEST_CASE()
1546 Instruction::CALLER, in BOOST_AUTO_TEST_CASE()
1547 Instruction::ORIGIN, in BOOST_AUTO_TEST_CASE()
1548 Instruction::COINBASE in BOOST_AUTO_TEST_CASE()
1555 Instruction::AND in BOOST_AUTO_TEST_CASE()
1563 Instruction::AND in BOOST_AUTO_TEST_CASE()
1572 Instruction::AND in BOOST_AUTO_TEST_CASE()
1576 Instruction::AND in BOOST_AUTO_TEST_CASE()
1582 Instruction::AND in BOOST_AUTO_TEST_CASE()
1586 Instruction::AND in BOOST_AUTO_TEST_CASE()
1593 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1594 Instruction::AND in BOOST_AUTO_TEST_CASE()
1596 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1598 Instruction::AND in BOOST_AUTO_TEST_CASE()
1602 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1604 Instruction::AND in BOOST_AUTO_TEST_CASE()
1607 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1608 Instruction::AND in BOOST_AUTO_TEST_CASE()
1618 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1620 Instruction::SHL in BOOST_AUTO_TEST_CASE()
1626 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1628 Instruction::SHR in BOOST_AUTO_TEST_CASE()
1634 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1636 Instruction::SHL in BOOST_AUTO_TEST_CASE()
1638 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1640 Instruction::SHL in BOOST_AUTO_TEST_CASE()
1644 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1646 Instruction::SHR in BOOST_AUTO_TEST_CASE()
1648 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1650 Instruction::SHR in BOOST_AUTO_TEST_CASE()
1656 AssemblyItem jumpInto{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1658 AssemblyItem jumpOutOf{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1665 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1667 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1668 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1673 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1674 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1675 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1677 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1679 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1680 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1697 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1699 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1701 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1702 Instruction::SWAP1, in BOOST_AUTO_TEST_CASE()
1703 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1716 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1718 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1719 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
1720 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1724 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1726 Instruction::CALLVALUE, in BOOST_AUTO_TEST_CASE()
1727 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
1728 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1740 AssemblyItem jumpInto{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1742 AssemblyItem jumpOutOf{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1749 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1755 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1757 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1770 AssemblyItem jumpInto{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1778 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1791 AssemblyItem jumpInto{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1793 AssemblyItem jumpOutOf{Instruction::JUMP}; in BOOST_AUTO_TEST_CASE()
1801 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1803 Instruction::STOP, // CSE breaking instruction in BOOST_AUTO_TEST_CASE()
1817 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1819 Instruction::STOP in BOOST_AUTO_TEST_CASE()
1822 Instruction::STOP, in BOOST_AUTO_TEST_CASE()
1824 Instruction::STOP in BOOST_AUTO_TEST_CASE()
1839 Instruction::JUMPI, in BOOST_AUTO_TEST_CASE()
1841 Instruction::STOP in BOOST_AUTO_TEST_CASE()
1855 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1858 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1859 Instruction::REVERT in BOOST_AUTO_TEST_CASE()
1863 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1864 Instruction::REVERT, in BOOST_AUTO_TEST_CASE()
1867 Instruction::DUP1, in BOOST_AUTO_TEST_CASE()
1868 Instruction::REVERT in BOOST_AUTO_TEST_CASE()
1883 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1887 Instruction::REVERT in BOOST_AUTO_TEST_CASE()
1902 Instruction::JUMP, in BOOST_AUTO_TEST_CASE()
1904 Instruction::INVALID in BOOST_AUTO_TEST_CASE()
1908 Instruction::INVALID, in BOOST_AUTO_TEST_CASE()
1910 Instruction::INVALID in BOOST_AUTO_TEST_CASE()