Home
last modified time | relevance | path

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

/external/v8/test/unittests/wasm/
Dloop-assignment-analysis-unittest.cc55 byte code[] = {WASM_LOOP(1, WASM_SET_ZERO(i))}; in TEST_F()
66 byte code[] = {WASM_LOOP(1, WASM_SET_ZERO(i)), WASM_SET_ZERO(1)}; in TEST_F()
78 byte code[] = {WASM_LOOP(2, WASM_SET_ZERO(i), WASM_SET_ZERO(j))}; in TEST_F()
91 byte code[] = {WASM_LOOP( in TEST_F()
131 WASM_LOOP(1, WASM_IF(WASM_GET_LOCAL(0), WASM_BRV(1, WASM_SET_ZERO(1)))), in TEST_F()
144 WASM_LOOP(1, WASM_IF(WASM_GET_LOCAL(0), in TEST_F()
Dwasm-macro-gen-unittest.cc74 EXPECT_SIZE(3, WASM_LOOP(1, WASM_NOP)); in TEST_F()
75 EXPECT_SIZE(4, WASM_LOOP(2, WASM_NOP, WASM_NOP)); in TEST_F()
76 EXPECT_SIZE(5, WASM_LOOP(3, WASM_NOP, WASM_NOP, WASM_NOP)); in TEST_F()
77 EXPECT_SIZE(5, WASM_LOOP(1, WASM_BR(0))); in TEST_F()
78 EXPECT_SIZE(7, WASM_LOOP(1, WASM_BR_IF(0, WASM_ZERO))); in TEST_F()
120 EXPECT_SIZE(4, WASM_LOOP(1, WASM_ZERO)); in TEST_F()
121 EXPECT_SIZE(5, WASM_LOOP(2, WASM_NOP, WASM_ZERO)); in TEST_F()
122 EXPECT_SIZE(6, WASM_LOOP(3, WASM_NOP, WASM_NOP, WASM_ZERO)); in TEST_F()
Dast-decoder-unittest.cc686 static const byte code[] = {WASM_LOOP(1, WASM_SET_LOCAL(0, WASM_ZERO))}; in TEST_F()
693 EXPECT_VERIFIES_INLINE(sigs.v_i(), WASM_LOOP(2, WASM_SET_LOCAL(0, WASM_ZERO), in TEST_F()
698 EXPECT_VERIFIES_INLINE(sigs.v_v(), WASM_LOOP(1, WASM_BR(0))); in TEST_F()
702 EXPECT_VERIFIES_INLINE(sigs.v_v(), WASM_LOOP(1, WASM_BR(1))); in TEST_F()
707 sigs.v_i(), WASM_LOOP(2, WASM_SET_LOCAL(0, WASM_ZERO), WASM_BR(0))); in TEST_F()
712 sigs.v_i(), WASM_LOOP(2, WASM_SET_LOCAL(0, WASM_ZERO), WASM_BR(1))); in TEST_F()
721 EXPECT_VERIFIES_INLINE(sigs.i_i(), WASM_LOOP(1, WASM_BRV(0, WASM_ZERO))); in TEST_F()
725 EXPECT_VERIFIES_INLINE(sigs.i_i(), WASM_LOOP(1, WASM_BRV(1, WASM_ZERO))); in TEST_F()
726 EXPECT_FAILURE_INLINE(sigs.f_ff(), WASM_LOOP(1, WASM_BRV(1, WASM_ZERO))); in TEST_F()
730 EXPECT_VERIFIES_INLINE(sigs.i_i(), WASM_LOOP(2, WASM_BR(0), WASM_NOP)); in TEST_F()
[all …]
/external/v8/test/cctest/wasm/
Dtest-run-wasm.cc878 B2(WASM_LOOP(1, WASM_BR_TABLE(WASM_INC_LOCAL_BY(0, 1), 2, BR_TARGET(2), in WASM_EXEC_TEST()
1141 BUILD(r, WASM_LOOP(1, WASM_BR(1)), WASM_GET_LOCAL(0)); in WASM_EXEC_TEST()
1147 BUILD(r, WASM_LOOP(1, WASM_BR_IF(1, WASM_ZERO)), WASM_GET_LOCAL(0)); in WASM_EXEC_TEST()
1154 BUILD(r, WASM_LOOP(1, WASM_BR_IF(1, WASM_GET_LOCAL(1))), WASM_GET_LOCAL(0)); in WASM_EXEC_TEST()
1241 2, WASM_LOOP( in WASM_EXEC_TEST()
1256 2, WASM_LOOP(3, WASM_IF(WASM_NOT(WASM_GET_LOCAL(0)), WASM_BREAK(1)), in WASM_EXEC_TEST()
1280 BUILD(r, B2(WASM_LOOP(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BREAK(1)), in WASM_EXEC_TEST()
1291 BUILD(r, B2(WASM_LOOP(2, WASM_BR_IF(1, WASM_GET_LOCAL(0)), in WASM_EXEC_TEST()
1302 BUILD(r, B1(WASM_LOOP(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BREAK(1)), in WASM_EXEC_TEST()
1698 BUILD(r, WASM_LOOP(1, WASM_LOAD_MEM(MachineType::Int32(), WASM_ZERO))); in WASM_EXEC_TEST()
[all …]
/external/v8/src/wasm/
Dwasm-macro-gen.h70 #define WASM_LOOP(count, ...) kExprLoop, __VA_ARGS__, kExprEnd macro