Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 5567) sorted by relevance

12345678910>>...223

/arkcompiler/ets_frontend/es2panda/test/bytecode/ts/ic/
Dic-slot-no-overflow.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
Dic-slot-8-16-bit-sort.ts20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
[all …]
Dic-slot-8-16-bit-no-sort.ts20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
[all …]
Dic-slot-8-overflow-gap-0xfe.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
Dic-slot-8-overflow-16-gap.ts20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
[all …]
Dic-slot-8-overflow-no-gap.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/ic/
Dic-slot-8-overflow-16-gap.ts23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
30 if (false) { }
31 if (false) { }
32 if (false) { }
[all …]
Dic-slot-8-overflow-gap-0xfe.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
Dic-slot-8-16-bit-sort.ts23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
30 if (false) { }
31 if (false) { }
32 if (false) { }
[all …]
Dic-slot-no-overflow.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
Dic-slot-8-overflow-no-gap.ts18 if (false) { }
19 if (false) { }
20 if (false) { }
21 if (false) { }
22 if (false) { }
23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
[all …]
Dic-slot-8-16-bit-no-sort.ts23 if (false) { }
24 if (false) { }
25 if (false) { }
26 if (false) { }
27 if (false) { }
28 if (false) { }
29 if (false) { }
30 if (false) { }
31 if (false) { }
32 if (false) { }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/
Dunary.sts25 i = + t2 * t4; if (i != 8) return 1;
26 i = + + t2 * t4; if (i != 8) return 1;
27 i = - t2 * t4; if (i != -8) return 1;
28 i = - - t2 * t4; if (i != 8) return 1;
29 i = ~ t2 * t4; if (i != -12) return 1;
30 i = ~ ~ t2 * t4; if (i != 8) return 1;
31 i = + - t2 * t4; if (i != -8) return 1;
32 i = + ~ t2 * t4; if (i != -12) return 1;
33 i = - + t2 * t4; if (i != -8) return 1;
34 i = - ~ t2 * t4; if (i != 12) return 1;
[all …]
Dtypeof.sts29 if (str != "number" || num != 2.0) return 1;
33 if (str != "number" || num != 1.0) return 1;
37 if (str != "string" || num != 2.0) return 1;
41 if (str != "string" || num != 1.0) return 1;
46 if (str != "number" || num != 2.0) return 1;
50 if (str != "number" || num != 1.0) return 1;
54 if (str != "string" || num != 2.0) return 1;
58 if (str != "string" || num != 1.0) return 1;
63 if (str != "number" || num != 1.0) return 1;
67 if (str != "string" || num != 1.0) return 1;
[all …]
Dbitwise.sts25 if (res != 3) return 1;
28 if (res != 3) return 1;
31 if (res != 7) return 1;
35 if (res != 7) return 1;
38 if (res != 7) return 1;
41 if (res != 7) return 1;
45 if (res != 5) return 1; else t2 = 2;
48 if (res != 6) return 1; else t2 = 2;
51 if (res != 9) return 1; else t2 = 2;
54 if (res != -1) return 1; else t2 = 2;
[all …]
Ddiv.sts25 if (res != 12) return 1;
29 if (res != 1) return 1;
33 if (res != 4) return 1;
37 if (res != 0) return 1;
41 if (res != 2) return 1;
44 if (res != 0) return 1;
48 if (res != 16) return 1;
51 if (res != 63) return 1;
54 if (res != 268435440) return 1;
57 if (t255 < t510 / t2) return 1;
[all …]
Dmod.sts25 if (res != 0) return 1;
29 if (res != 0) return 1;
33 if (res != 3) return 1;
37 if (res != 5) return 1;
41 if (res != 8) return 1;
45 if (res != 6) return 1;
49 if (res != 8) return 1;
52 if (res != 127) return 1;
55 if (res != 536870880) return 1;
58 if (t8 < t518 % t255) return 1;
[all …]
Dmul.sts25 if (res != 4) return 1;
29 if (res != 4) return 1;
33 if (res != 14) return 1;
37 if (res != -10) return 1;
41 if (res != -2) return 1;
44 if (res != -3) return 1;
48 if (res != 256) return 1;
51 if (res != -4) return 1;
54 if (res != 67108860) return 1;
57 if (t255 < t8 * t8) return 1;
[all …]
Dsub.sts25 if (res != 3) return 1;
28 if (res != -4) return 1;
32 if (res != 8) return 1;
35 if (res != -128) return 1;
38 if (res != 134217720) return 1;
41 if (t4 < t8 - t4) return 1;
42 if (t4 <= t4 - t3) return 1;
43 if (t2 > t4 - t2) return 1;
44 if (t4 >= t8 - t2) return 1;
45 if (t2 == t2 - t4) return 1;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/05.if_statements/
Dif2.params.yaml17 if (ct())
23 if (((ct() && ct() && ct())))
29 if (cf())
36 if (cf())
43 if (cf())
50 if (cf())
51 if (ct())
59 if (cf() && ct()) {
60 if (ct())
64 if (ct())
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/
Dif_stmt.params.yaml18 if (v != null) {
19 if (v.meth_i(1) != 'I1') {
22 if (v.meth_a(1) != 'A1') {
25 if (v instanceof C) {
26 if (v.meth_c(1) != 'C1') {
30 if (v instanceof D) {
31 if (v.meth_d(1) != 'D1') {
43 if (v != null) {
44 if (v instanceof K) {
45 if (v.meth_k(1) != 'K1') {
[all …]
/arkcompiler/runtime_core/libabckit/include/c/isa/
Disa_dynamic.h272 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL.
273 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic.
274 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or
284 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL.
285 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `md` is NULL.
286 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic.
287 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or
289 …* @note Set `ABCKIT_STATUS_WRONG_CTX` error if corresponding `AbckitFile`s owning `inst` and `md` …
297 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL.
298 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/05.evaluation_of_other_expressions/
Dinstof.sts18 Using instanceof to test a reference type expression allows to find out if
33 if (!(a instanceof A)) return 1;
34 if (!(a instanceof I)) return 1;
35 if (a instanceof B) return 1;
36 if (a instanceof J) return 1;
39 if (!(a instanceof A)) return 1;
40 if (!(a instanceof I)) return 1;
41 if (!(a instanceof B)) return 1;
42 if (!(a instanceof J)) return 1;
45 if (!(i instanceof A)) return 1;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/
Dmax.sts17 if (max(Int.MAX_VALUE as int, 0 as int) != Int.MAX_VALUE as int) return 1;
18 if (max(Int.MIN_VALUE as int, 0 as int) != 0 as int) return 2;
19 if (max(0 as int, -2 as int) != 0 as int) return 3;
20 if (max(0 as int, 3 as int) != 3 as int) return 4;
21 if (max(-2 as int, -4 as int) != -2 as int) return 5
22 if (max(1 as int, 4 as int) != 4 as int) return 6;
24 if (max(Long.MAX_VALUE, 0) != Long.MAX_VALUE) return 11;
25 if (max(Long.MIN_VALUE, 0) != 0) return 12;
26 if (max(0, -2) != 0) return 13;
27 if (max(0, 3) != 3) return 14;
[all …]
/arkcompiler/runtime_core/libabckit/include/cpp/headers/
Dbasic_block.h74 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `basicBlock` is NULL.
75 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `cb` is NULL.
82 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `basicBlock` is NULL.
83 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `cb` is NULL.
90 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL.
117 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL.
118 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL.
119 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is constant.
120 …* @note Set `ABCKIT_STATUS_WRONG_CTX` error if corresponding `AbckitGraphs`s owning basicBlock and…
130 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL.
[all …]

12345678910>>...223