Home
last modified time | relevance | path

Searched full:ref (Results 1 – 25 of 134) sorted by relevance

123456

/arkcompiler/runtime_core/docs/
DPBC2IR.md19 | lda.str | ref LoadString |
21 | lda.type | ref LoadType |
150 | ldarr.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i8 LoadArray |
151 | ldarru.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u8 LoadArray |
152 | ldarr.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i16 LoadArray |
153 | ldarru.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u16 LoadArray |
154 | ldarr | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i32 LoadArray |
155 | ldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i64 LoadArray |
156 | fldarr.32 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f32 LoadArray |
157 | fldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f64 LoadArray |
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DnonNullReferenceMatching.ts34 public thumbYElementRef = (ref: HTMLElement | null) => {
35 …ypeof this.props.thumbYProps!.elementRef === 'function' && this.props.thumbYProps!.elementRef(ref);
36 ….props.thumbYProps!.elementRef === 'function' && this.props.thumbYProps!.elementRef(ref), "union");
45 AssertType(this.props.thumbYProps!.elementRef(ref), "void");
51 AssertType(ref, "union");
53 …eof (this.props.thumbYProps!.elementRef) === 'function' && this.props.thumbYProps!.elementRef(ref);
54 …props.thumbYProps!.elementRef) === 'function' && this.props.thumbYProps!.elementRef(ref), "union");
64 AssertType(this.props.thumbYProps!.elementRef(ref), "void");
70 AssertType(ref, "union");
72 … ((this.props).thumbYProps!.elementRef)! === 'function' && this.props.thumbYProps!.elementRef(ref);
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dconst_array_resolver_test.cpp32 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
33 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F()
36 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F()
55 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
57 INST(21, Opcode::LoadConstArray).ref().Inputs(22); in TEST_F()
58 INST(10, Opcode::Return).ref().Inputs(21); in TEST_F()
75 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
76 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F()
79 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F()
109 INST(44, Opcode::LoadAndInitClass).ref().Inputs(3).TypeId(68); in TEST_F()
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.obj.yaml27 - sig: lda.obj v:in:ref
28 acc: out:ref
133 - sig: lda.obj v:in:ref
134 acc: out:ref
182 - sig: lda.obj v:in:ref
183 acc: out:ref
206 - sig: lda.obj v:in:ref
207 acc: out:ref
242 - sig: lda.obj v:in:ref
243 acc: out:ref
[all …]
Dmov.obj.yaml27 - sig: mov.obj v1:out:ref, v2:in:ref
135 - sig: mov.obj v1:out:ref, v2:in:ref
186 - sig: mov.obj v1:out:ref, v2:in:ref
230 - sig: mov.obj v1:out:ref, v2:in:ref
271 - sig: mov.obj v1:out:ref, v2:in:ref
311 - sig: mov.obj v1:out:ref, v2:in:ref
343 - sig: mov.obj v1:out:ref, v2:in:ref
390 - sig: mov.obj v1:out:ref, v2:in:ref
458 - sig: mov.obj v1:out:ref, v2:in:ref
527 - sig: mov.obj v1:out:ref, v2:in:ref
Dsta.obj.yaml27 - sig: sta.obj v:out:ref
28 acc: in:ref
133 - sig: sta.obj v:out:ref
134 acc: in:ref
155 - sig: sta.obj v:out:ref
156 acc: in:ref
191 - sig: sta.obj v:out:ref
192 acc: in:ref
222 - sig: sta.obj v:out:ref
223 acc: in:ref
[all …]
Dmonitor.yaml93 acc: in:ref
98 acc: in:ref
130 acc: in:ref
135 acc: in:ref
168 acc: in:ref
200 acc: in:ref
240 acc: in:ref
244 acc: in:ref
316 acc: in:ref
320 acc: in:ref
Dlda.const.yaml28 - sig: lda.const v:out:ref, literalarray_id
76 - sig: lda.const v:out:ref, literalarray_id
108 - sig: lda.const v:out:ref, literalarray_id
157 - sig: lda.const v:out:ref, literalarray_id
199 - sig: lda.const v:out:ref, literalarray_id
240 - sig: lda.const v:out:ref, literalarray_id
300 - sig: lda.const v:out:ref, literalarray_id
343 - sig: lda.const v:out:ref, literalarray_id
385 - sig: lda.const v:out:ref, literalarray_id
427 - sig: lda.const v:out:ref, literalarray_id
[all …]
Dldobj.64.yaml92 - sig: ldobj.64 v:in:ref, field_id
101 - sig: ldobj.64 v:in:ref, field_id
128 - sig: ldobj.64 v:in:ref, field_id
148 … description: Check that NullPointerException is thrown if object ref is null in Panda context.
180 …description: Check that NullPointerException is thrown if object ref is null in PandaAssembly cont…
211 …description: Check that verifier reports an error when the 1st operand is not a ref to an object (…
248 …description: Check that verifier reports an error when the 1st operand is not a ref to an object (…
500 - sig: ldobj.64 v:in:ref, field_id
526 - sig: ldobj.64 v:in:ref, field_id
561 - sig: ldobj.64 v:in:ref, field_id
Dreturn.obj.yaml50 acc: in:ref
111 acc: in:ref
173 acc: in:ref
226 acc: in:ref
281 acc: in:ref
345 acc: in:ref
403 acc: in:ref
426 acc: in:ref
551 acc: in:ref
667 acc: in:ref
[all …]
Dldobj.v.64.yaml92 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
101 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
126 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
146 … description: Check that NullPointerException is thrown if object ref is null in Panda context.
178 …description: Check that NullPointerException is thrown if object ref is null in PandaAssembly cont…
209 …description: Check that verifier reports an error when the 2nd operand is not a ref to an object (…
247 …description: Check that verifier reports an error when the 2nd operand is not a ref to an object (…
500 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
529 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
565 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
Dldobj.v.obj.yaml99 - sig: ldobj.v.obj v1:out:ref, v2:in:ref, field_id
108 - sig: ldobj.v.obj v1:out:ref, v2:in:ref, field_id
131 description: Check that NullPointerException is thrown if source ref is null
168 description: Check that NullPointerException is thrown if source ref is null
206 …description: Check that verifier reports error when the 2nd operand is not a ref to an object (oth…
371 - sig: ldobj.v.obj v1:out:ref, v2:in:ref, field_id
Dldobj.obj.yaml99 - sig: ldobj.obj v:in:ref, field_id
100 acc: out:ref
108 - sig: ldobj.obj v:in:ref, field_id
109 acc: out:ref
132 description: Check that NullPointerException is thrown if source ref is null
169 description: Check that NullPointerException is thrown if source ref is null
207 …description: Check that verifier reports error when the 1st operand is not a ref to an object (oth…
377 - sig: ldobj.obj v:in:ref, field_id
378 acc: out:ref
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeReference.h25 explicit TypeReference(Type **ref) : Type(TypeFlag::TYPE_REFERENCE), ref_(ref) {} in TypeReference() argument
27 Type *Ref() in Ref() function
32 const Type *Ref() const in Ref() function
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp67 LReference ref = LReference::CreateLRef(pg, param, true); in CompileFunctionParameterDeclaration() local
69 [[maybe_unused]] binder::Variable *paramVar = ref.Variable(); in CompileFunctionParameterDeclaration()
71 if (ref.Kind() == ReferenceKind::DESTRUCTURING) { in CompileFunctionParameterDeclaration()
85 ref.Kind() == ReferenceKind::DESTRUCTURING ? in CompileFunctionParameterDeclaration()
86 pg->LoadAccumulator(func, paramReg) : ref.GetValue(); in CompileFunctionParameterDeclaration()
90 if (ref.Kind() == ReferenceKind::DESTRUCTURING) { in CompileFunctionParameterDeclaration()
101 ref.SetValue(); in CompileFunctionParameterDeclaration()
106 ref.SetValue(); in CompileFunctionParameterDeclaration()
115 } else if (ref.Kind() == ReferenceKind::DESTRUCTURING) { in CompileFunctionParameterDeclaration()
120 ref.SetValue(); in CompileFunctionParameterDeclaration()
/arkcompiler/ets_frontend/test262/
Des2abc_skip_tests.json5 "language/expressions/async-arrow-function/dflt-params-ref-later.js",
6 "language/expressions/async-arrow-function/dflt-params-ref-self.js",
9 "language/expressions/async-function/named-dflt-params-ref-later.js",
10 "language/expressions/async-function/named-dflt-params-ref-self.js",
11 "language/expressions/async-function/nameless-dflt-params-ref-later.js",
12 "language/expressions/async-function/nameless-dflt-params-ref-self.js",
13 "language/statements/async-function/dflt-params-ref-later.js",
14 "language/statements/async-function/dflt-params-ref-self.js",
163 "language/expressions/async-generator/dflt-params-ref-later.js",
164 "language/expressions/async-generator/named-dflt-params-ref-self.js",
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinstructions.yaml99 signature: [d-ref, save_state]
120 signature: [d-real-ref, real-ref-dyn]
159 signature: [d-real-ref, real-ref-dyn]
178 - name: ref
216 ref: object reference type
222 real: type union of [number, ref]
234 …Type classes of instruction's operands are equal. Type classes are int, float, ref (see operand_to…
/arkcompiler/runtime_core/compiler/tests/
Dreg_alloc_common_test.cpp41 PARAMETER(0, 0).ref(); in TestParametersLocations()
55 INST(11, Opcode::NullCheck).ref().Inputs(0, 30); in TestParametersLocations()
71 PARAMETER(0, 0).ref(); in TestParametersLocations()
85 INST(11, Opcode::NullCheck).ref().Inputs(0, 30); in TestParametersLocations()
116 * - ref-Parameter (arg0) is placed in the r1 register in TestParametersLocations()
197 PARAMETER(0, 0).ref(); in TEST_F()
198 PARAMETER(1, 1).ref(); in TEST_F()
203 INST(4, Opcode::LoadAndInitClass).ref().Inputs(3); in TEST_F()
204 INST(5, Opcode::NewObject).ref().Inputs(4, 3); in TEST_F()
206 INST(7, Opcode::NullCheck).ref().Inputs(5, 6); in TEST_F()
Dvn_test.cpp368 PARAMETER(4, 4).ref(); in TEST_F()
369 PARAMETER(5, 5).ref(); in TEST_F()
419 PARAMETER(4, 4).ref(); in TEST_F()
420 PARAMETER(5, 5).ref(); in TEST_F()
462 PARAMETER(0, 0).ref(); in TEST_F()
468 INST(4, Opcode::NullCheck).ref().Inputs(0, 3); in TEST_F()
481 INST(16, Opcode::NullCheck).ref().Inputs(0, 15); in TEST_F()
489 INST(23, Opcode::Return).ref().Inputs(0); in TEST_F()
500 PARAMETER(0, 0).ref(); in TEST_F()
506 INST(4, Opcode::NullCheck).ref().Inputs(0, 3); in TEST_F()
[all …]
Dir_builder_test.cpp344 PARAMETER(0, 0).ref(); in TEST_F()
345 PARAMETER(1, 1).ref(); in TEST_F()
351 INST(4, Opcode::NullCheck).ref().Inputs(0, 3); in TEST_F()
356 INST(9, Opcode::NullCheck).ref().Inputs(1, 8); in TEST_F()
769 PARAMETER(0, 0).ref(); in TEST_F()
894 INST(1, Opcode::Return).ref().Inputs(0); in TEST_F()
990 INST(1, Opcode::Return).ref().Inputs(0); in TEST_F()
1046 INST(0, Opcode::LoadString).ref().Inputs(2); in TEST_F()
1047 INST(1, Opcode::Return).ref().Inputs(0); in TEST_F()
1071 INST(0, Opcode::LoadType).ref().Inputs(2); in TEST_F()
[all …]
Dgraph_cloner_test.cpp42 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
43 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
74 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
75 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
133 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
134 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
173 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
174 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
330 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
331 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_helper.h107 static void FreeGlobalCallBack(void* ref) in FreeGlobalCallBack() argument
109 auto that = reinterpret_cast<NativeReferenceHelper*>(ref); in FreeGlobalCallBack()
113 static void NativeFinalizeCallBack(void* ref) in NativeFinalizeCallBack() argument
115 auto that = reinterpret_cast<NativeReferenceHelper*>(ref); in NativeFinalizeCallBack()
/arkcompiler/toolchain/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/
Dpttypesremoteobjectgetvalue_fuzzer.cpp36 Local<JSValueRef> ref = obj.GetValue(); in PtTypesRemoteObjectGetValueFuzzTest() local
37 ref.IsEmpty(); in PtTypesRemoteObjectGetValueFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/int8arrayrefnew_fuzzer/
Dint8arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Int8ArrayRefNewFuzzTest() local
48 Int8ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in Int8ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/bigint64arrayrefnew_fuzzer/
Dbigint64arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in BigInt64ArrayRefNewFuzzTest() local
48 BigInt64ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in BigInt64ArrayRefNewFuzzTest()

123456