| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 149 lda.obj a1 150 stobj.obj a0, panda.StackOverflowException.message 151 lda.obj a2 152 stobj.obj a0, panda.StackOverflowException.cause 157 lda.obj a1 158 stobj.obj a0, panda.NullPointerException.message 159 lda.obj a2 160 stobj.obj a0, panda.NullPointerException.cause 165 ldobj.obj a0, panda.NullPointerException.message 166 return.obj [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | mov.obj.yaml | 17 - file-name: "mov.obj" 27 - sig: mov.obj v1:out:ref, v2:in:ref 36 lda.obj v0 37 mov.obj v1, v0 38 jne.obj v1, return_ne_num 45 …description: Check mov.obj with different type of arguments (empty object, with fields, with stati… 106 # Check mov.obj for string 108 sta.obj v0 109 mov.obj v1, v0 110 jne.obj v1, return_ne_num [all …]
|
| D | ldobj.v.obj.yaml | 93 - file-name: "ldobj.v.obj" 99 - 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 123 - 'ldobj.v.obj v1, v0, R.fQ' 125 - 'ldobj.v.obj v1, v1, R.fR' 127 - 'ldobj.v.obj v1, v15, R.fQArray' 143 return.obj 148 sta.obj v0 150 ldobj.v.obj v1, v0, %s 181 return.obj [all …]
|
| D | newobj.yaml | 208 lda.obj v1 211 lda.obj v1 250 lda.obj v1 253 lda.obj v1 293 lda.obj v0 294 jne.obj v1, ok 355 lda.obj v0 356 jne.obj v1, ok 551 ldobj.obj v1, Z.fR 552 jeqz.obj label_Ra [all …]
|
| D | lda.obj.yaml | 17 - file-name: lda.obj 27 - sig: lda.obj v:in:ref 35 # Check lda.obj for different type of arguments (empty object, with fields, statics, etc). 37 lda.obj v0 38 jne.obj v0, return_ne_num 45 …description: Check lda.obj moves register content into accumulator (references to various type of … 104 # Check lda.obj for string 106 sta.obj v0 107 lda.obj v0 108 jne.obj v0, return_ne_num [all …]
|
| D | ldobj.obj.yaml | 93 - file-name: "ldobj.obj" 99 - sig: ldobj.obj v:in:ref, field_id 108 - sig: ldobj.obj v:in:ref, field_id 121 - 'ldobj.obj v0, R.fQ' 123 - 'ldobj.obj v1, R.fR' 125 - 'ldobj.obj v15, R.fQArray' 127 - 'ldobj.obj v240, R.fi32Array' 129 - 'ldobj.obj v255, R.fObj' 144 return.obj 149 sta.obj v0 [all …]
|
| D | sta.obj.yaml | 16 - file-name: "sta.obj" 24 …description: Check sta.obj with different type of arguments (empty object, with fields, statics, s… 27 - sig: sta.obj v:out:ref 37 lda.obj v0 38 sta.obj v1 39 jne.obj v1, return_ne_num 106 # Check sta.obj for string 108 sta.obj v0 109 jne.obj v0, return_ne_num 119 # Check sta.obj for type [all …]
|
| D | call.virt.range.yaml | 209 sta.obj v0 245 mov.obj v0, a0 249 mov.obj v0, a0 253 mov.obj v0, a0 257 mov.obj v0, a0 263 mov.obj v1, a0 272 mov.obj v1, a0 281 mov.obj v1, a0 309 lda.obj a3 310 stobj.obj a0, R.f3 [all …]
|
| D | return.obj.yaml | 15 - name: obj-param-ctor 17 .record Obj { 21 .function void Obj.ctor(Obj a0, i32 a1) <ctor> { 23 stobj a0, Obj.fld1 26 - name: obj-ctor 28 .record Obj {} 30 .function void Obj.ctor(Obj a0) <ctor> { 37 - file-name: "return.obj" 49 - sig: return.obj 52 …description: Check 'return.obj' returns control flow to caller in Pandasm context with static call. [all …]
|
| D | ldstatic.obj.yaml | 92 - file-name: "ldstatic.obj" 98 - sig: ldstatic.obj field_id 132 ldstatic.obj %s 228 ldstatic.obj %s 267 ldstatic.obj %s 288 …accumulator in PandaAssembly context. More tests on ldstatic.obj can be found in ststatic.obj tests 299 sta.obj v3 300 ststatic.obj R.fQ 303 sta.obj v4 304 ststatic.obj R.fQArray [all …]
|
| D | starr.obj.yaml | 47 - file-name: "starr.obj" 53 - sig: starr.obj v1:in:ref[], v2:in:i32 62 - sig: starr.obj v1:in:ref[], v2:in:i32 67 description: Check 'starr.obj' instruction with valid register numbers. 72 starr.obj %s, %s 84 starr.obj a0, a1 # valid registers 98 - sig: starr.obj v1:in:ref[], v2:in:i32 102 description: Check 'starr.obj' instruction with invalid register numbers. 105 starr.obj %s, *s 136 - sig: starr.obj v1:in:ref[], v2:in:i32 [all …]
|
| D | ldarr.obj.yaml | 34 - file-name: "ldarr.obj" 40 - sig: ldarr.obj v:in:ref[] 50 description: Check 'ldarr.obj' instruction with different register numbers. 55 ldarr.obj %s 69 ldarr.obj a0 # valid name of register 79 ldarr.obj a1 # invalid name of register 104 description: Check 'ldarr.obj' with uninitialized accumulator 112 ldarr.obj a0 125 description: Check 'ldarr.obj' with uninitialized register 133 ldarr.obj v2 [all …]
|
| D | jne.obj.yaml | 20 - file-name: "jne.obj" 34 - sig: jne.obj v:in:ref, imm:i32 44 - sig: jne.obj v:in:ref, imm:i32 48 description: Check 'jne.obj' instruction with invalid 'v' register. 52 jne.obj %s 74 - sig: jne.obj v:in:ref, imm:i32 78 description: Check 'jne.obj' instruction with invalid 'a' register. 83 jne.obj %s 109 - sig: jne.obj v:in:ref, imm:i32 112 description: Check 'jne.obj' instruction with valid 'v' register. [all …]
|
| D | isinstance.yaml | 128 lda.obj v0 133 lda.obj v0 138 lda.obj v0 161 lda.obj v0 164 lda.obj v0 167 lda.obj v0 170 lda.obj v0 173 lda.obj v0 203 lda.obj v0 208 lda.obj v0 [all …]
|
| D | jnez.obj.yaml | 20 - file-name: "jnez.obj" 30 - sig: jnez.obj imm:i32 40 - sig: jnez.obj imm:i32 44 description: Check 'jnez.obj' instruction with invalid offset. 48 jnez.obj %s 68 description: Check 'jnez.obj' instruction with uninitialized accumulator. 72 jnez.obj lbl 84 description: Check 'jnez.obj' instruction with invalid branch target. 101 jnez.obj %s 132 … description: Check 'jnez.obj' instruction with prohibited branch target in PandaAssembly context. [all …]
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | obj-13.pa | 16 #struct Obj { 18 # Obj* next; 21 #void addNext(Obj* o, int data) { 22 # Obj* newObj = new Obj(); 30 # Obj* head = new Obj(); 33 # Obj* cur; 52 .record Obj { 54 Obj next 57 .function void addNext(Obj a0, i32 a1) { 58 newobj v0, Obj [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_tagged_value.cpp | 515 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty() argument 518 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in GetProperty() 520 std::string objStr = EcmaStringAccessor(ToString(thread, obj)).ToStdString(); in GetProperty() 528 if (obj->IsJSProxy()) { in GetProperty() 529 return JSProxy::GetProperty(thread, JSHandle<JSProxy>(obj), key); in GetProperty() 531 if (obj->IsTypedArray()) { in GetProperty() 532 return JSTypedArray::GetProperty(thread, obj, key); in GetProperty() 534 if (obj->IsModuleNamespace()) { in GetProperty() 535 return ModuleNamespace::GetProperty(thread, obj, key); in GetProperty() 538 if (obj->IsSpecialContainer()) { in GetProperty() [all …]
|
| D | js_object.cpp | 60 const TaggedObject *obj = this; in GetCallTarget() local 61 ASSERT(JSTaggedValue(obj).IsJSFunctionBase() || JSTaggedValue(obj).IsJSProxy()); in GetCallTarget() 64 if (JSTaggedValue(obj).IsJSFunctionBase()) { in GetCallTarget() 65 value = JSFunctionBase::ConstCast(obj)->GetMethod(); in GetCallTarget() 67 value = JSProxy::ConstCast(obj)->GetMethod(); in GetCallTarget() 72 …<TaggedArray> JSObject::GrowElementsCapacity(const JSThread *thread, const JSHandle<JSObject> &obj, in GrowElementsCapacity() argument 77 JSHandle<TaggedArray> oldElements(thread, obj->GetElements()); in GrowElementsCapacity() 81 obj->SetElements(thread, newElements); in GrowElementsCapacity() 180 // trim in-obj properties space in TransitionToDictionary() 191 void JSObject::ElementsToDictionary(const JSThread *thread, JSHandle<JSObject> obj) in ElementsToDictionary() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_stub_builder.h | 79 GateRef IsContainer(GateRef obj, ContainersType type) in IsContainer() argument 84 return IsJSAPIVector(obj); in IsContainer() 86 return IsJSAPIStack(obj); in IsContainer() 88 return IsJSAPIPlainArray(obj); in IsContainer() 90 return IsJSAPIQueue(obj); in IsContainer() 92 return IsJSAPIDeque(obj); in IsContainer() 94 return IsJSAPILightWeightMap(obj); in IsContainer() 96 return IsJSAPILightWeightSet(obj); in IsContainer() 98 return IsJSAPIHashMap(obj); in IsContainer() 100 return IsJSAPIHashSet(obj); in IsContainer() [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | json_parser_test.cpp | 31 JsonObject obj(str); 32 ASSERT_TRUE(obj.IsValid()); 34 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr); 35 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_0"), "key_0.value"); 37 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_1"), nullptr); 38 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_1"), "\"key_1\"\\. value\n"); 40 ASSERT_EQ(obj.GetValue<JsonObject::StringT>("key_2"), nullptr); 57 JsonObject obj(str); 58 ASSERT_TRUE(obj.IsValid()); 60 ASSERT_NE(obj.GetValue<JsonObject::ArrayT>("key_0"), nullptr); [all …]
|
| /arkcompiler/runtime_core/verification/util/ |
| D | equiv_classes.h | 139 auto obj = lhs_tail_obj_entry.Next; in JoinClasses() local 140 while (obj.IsValid()) { in JoinClasses() 141 auto &obj_entry = ObjEntry(obj); in JoinClasses() 143 obj = obj_entry.Next; in JoinClasses() 151 ObjIndex obj; in NewObjIndex() local 153 obj = FreeObjIndices_.back(); in NewObjIndex() 156 obj = Objects_.size(); in NewObjIndex() 161 cls_entry.Head = cls_entry.Tail = obj; in NewObjIndex() 163 ObjEntry(obj).Class = cls; in NewObjIndex() 164 return obj; in NewObjIndex() [all …]
|
| D | synchronized.h | 35 obj = other.obj; in ConstProxy() 36 other.obj = nullptr; in ConstProxy() 38 const Synchronized *obj; member 39 ConstProxy(const Synchronized *param_obj) ACQUIRE_SHARED(obj->rw_lock_) : obj {param_obj} 41 obj->rw_lock_.ReadLock(); 45 ASSERT(obj != nullptr); 46 return &obj->c; 48 ~ConstProxy() RELEASE_SHARED(obj->rw_lock_) 50 if (obj != nullptr) { 51 obj->rw_lock_.Unlock(); [all …]
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | object_accessor-inl.h | 29 inline ObjectHeader *ObjectAccessor::GetObject(const void *obj, size_t offset) in GetObject() argument 33 return reinterpret_cast<ObjectHeader *>(Get<object_pointer_type, is_volatile>(obj, offset)); in GetObject() 35 return Get<ObjectHeader *, is_volatile>(obj, offset); in GetObject() 40 inline void ObjectAccessor::SetObject(void *obj, size_t offset, ObjectHeader *value) in SetObject() argument 46 ObjectHeader *pre_val = GetObject<is_volatile, false, is_dyn>(obj, offset); in SetObject() 51 Set<object_pointer_type, is_volatile>(obj, offset, ToObjPtrType(value)); in SetObject() 53 Set<ObjectHeader *, is_volatile>(obj, offset, value); in SetObject() 57 barrier_set->PostBarrier(ToVoidPtr(ToUintPtr(obj)), value); in SetObject() 61 Set<object_pointer_type, is_volatile>(obj, offset, ToObjPtrType(value)); in SetObject() 63 Set<ObjectHeader *, is_volatile>(obj, offset, value); in SetObject() [all …]
|
| D | object_accessor.h | 31 static T GetPrimitive(const void *obj, size_t offset) in GetPrimitive() argument 33 return Get<T, is_volatile>(obj, offset); in GetPrimitive() 37 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive() argument 39 Set<T, is_volatile>(obj, offset, value); in SetPrimitive() 43 static ObjectHeader *GetObject(const void *obj, size_t offset); 46 static void SetObject(void *obj, size_t offset, ObjectHeader *value); 49 static T GetFieldPrimitive(const void *obj, const Field &field); 52 static void SetFieldPrimitive(void *obj, const Field &field, T value); 55 static ObjectHeader *GetFieldObject(const void *obj, const Field &field); 58 static void SetFieldObject(void *obj, const Field &field, ObjectHeader *value); [all …]
|
| /arkcompiler/runtime_core/tests/benchmarks/ |
| D | access-binary-trees.pa | 21 lda.obj a1 22 stobj.obj a0, TreeNode.left 23 lda.obj a2 24 stobj.obj a0, TreeNode.right 32 ldobj.obj a0, TreeNode.left 33 jeq.obj v0, if 34 ldobj.obj a0, TreeNode.left 35 sta.obj v1 38 ldobj.obj a0, TreeNode.right 39 sta.obj v1 [all …]
|