/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_accessor.cpp | 22 JSHandle<TSObjLayoutInfo> layout = GetInstanceTypeLayout(); in MarkPropertyInitialized() local 23 int elemenIndex = layout->GetElementIndexByKey(key); in MarkPropertyInitialized() 25 JSTaggedValue attribute = layout->GetAttribute(elemenIndex); in MarkPropertyInitialized() 27 layout->SetAttribute(thread_, elemenIndex, MarkInitialized(attribute)); in MarkPropertyInitialized() 90 JSHandle<TSObjLayoutInfo> layout = GetInstanceTypeLayout(); in IsPropertyInitialized() local 91 int elemenIndex = layout->GetElementIndexByKey(key); in IsPropertyInitialized() 95 JSTaggedValue attribute = layout->GetAttribute(elemenIndex); in IsPropertyInitialized() 104 JSHandle<TSObjLayoutInfo> layout = GetInstanceTypeLayout(); in GetInitializedProperties() local 106 uint32_t length = layout->GetNumOfProperties(); in GetInitializedProperties() 108 JSTaggedValue attribute = layout->GetAttribute(i); in GetInitializedProperties() [all …]
|
D | ts_type.cpp | 222 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in GetPropTypeGT() local 223 uint32_t numOfProps = layout->GetNumOfProperties(); in GetPropTypeGT() 226 propKey.Update(layout->GetKey(i)); in GetPropTypeGT() 230 uint32_t gtRawData = static_cast<uint32_t>(layout->GetTypeId(i).GetInt()); in GetPropTypeGT() 241 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in UpdatePropTypeGT() local 242 int propIdx = layout->GetElementIndexByKey(propName.GetTaggedValue()); in UpdatePropTypeGT() 246 uint32_t gtRawData = static_cast<uint32_t>(layout->GetTypeId(propIdx).GetInt()); in UpdatePropTypeGT() 248 layout->SetTypeId(thread, propIdx, JSTaggedValue(newGT.GetType())); in UpdatePropTypeGT() 394 JSHandle<TSObjLayoutInfo> layout(thread, namespaceType->GetPropertyType().GetTaggedObject()); in GetPropTypeGT() local 395 uint32_t numOfProps = layout->GetNumOfProperties(); in GetPropTypeGT() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ts_hclass_generator.cpp | 127 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateIHClass() local 136 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreateIHClass() 139 hclass->SetLayout(thread, layout); in CreateIHClass() 197 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(keysLen); in CreatePHClass() local 209 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePHClass() 212 hclass->SetLayout(thread, layout); in CreatePHClass() 240 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateCHClass() local 282 layout->AddKey(thread, functionCount, tsPropKey, attributes); in CreateCHClass() 289 … layout->AddKey(thread, index + functionCount, noFunc[index - 1].GetTaggedValue(), attributes); in CreateCHClass() 292 hclass->SetLayout(thread, layout); in CreateCHClass()
|
D | ts_class_analysis.cpp | 110 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in AnalyzeProperties() local 113 JSTaggedValue key = layout->GetKey(index); in AnalyzeProperties() 115 layout->SetIsNotHole(thread, index); in AnalyzeProperties()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_layout.cpp | 65 HClassLayoutDesc *layout; in GetOrInsertHClassLayoutDesc() local 67 layout = new RootHClassLayoutDesc(type); in GetOrInsertHClassLayoutDesc() 69 layout = new ChildHClassLayoutDesc(type); in GetOrInsertHClassLayoutDesc() 71 transitionLayout_.emplace(type, layout); in GetOrInsertHClassLayoutDesc() 72 return layout; in GetOrInsertHClassLayoutDesc()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | class_info_extractor.cpp | 186 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreatePrototypeHClass() local 199 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePrototypeHClass() 204 hclass->SetLayout(thread, layout); in CreatePrototypeHClass() 236 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreateConstructorHClass() local 268 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreateConstructorHClass() 273 hclass->SetLayout(thread, layout); in CreateConstructorHClass() 293 JSHandle<LayoutInfo> layout(thread, constructorHClass->GetLayout()); in CorrectConstructorHClass() local 298 PropertyAttributes attr = layout->GetAttr(index); in CorrectConstructorHClass() 300 layout->SetNormalAttr(thread, index, attr); in CorrectConstructorHClass() 303 PropertyAttributes attr = layout->GetAttr(index); in CorrectConstructorHClass() [all …]
|
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
D | recipe139.md | 8 support for objects with dynamically changing layout. Function objects follow 9 this rule and their layout cannot be changed in runtime.
|
D | recipe137.md | 8 objects with dynamically changed layout are not supported.
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/docs/rules/ |
D | recipe139.md | 8 support for objects with dynamically changing layout. Function objects follow 9 this rule and their layout cannot be changed in runtime.
|
D | recipe137.md | 8 objects with dynamically changed layout are not supported.
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_hclass.cpp | 330 JSTaggedValue layout = newJsHClass->GetLayout(); in TransitionProto() local 332 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in TransitionProto() 413 JSTaggedValue layout = newProtoClass->GetLayout(); in OptimizePrototypeForIC() local 416 if (!layout.IsNull()) { in OptimizePrototypeForIC() 417 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in OptimizePrototypeForIC() 613 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in ConvertOrTransitionWithRep() local 614 attr = layout->GetAttr(attr.GetOffset()); in ConvertOrTransitionWithRep() 616 layout->SetNormalAttr(thread, attr.GetOffset(), attr); in ConvertOrTransitionWithRep() 1066 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(maxNum, MemSpaceType::SEMI_SPACE, GrowMode… in CreateRootHClass() local 1067 …rootDesc->IterateProps([thread, factory, &index, hclass, layout] (const pgo::PropertyDesc &propDes… in CreateRootHClass() [all …]
|
D | subtyping_operator.cpp | 90 JSHandle<TSObjLayoutInfo> layout(thread, field->GetObjLayoutInfo()); in MergeClassField() local 93 uint32_t numSelfTypes = layout->GetNumOfProperties(); in MergeClassField() 106 JSTaggedValue key = layout->GetKey(index); in MergeClassField() 110 JSTaggedValue type = layout->GetTypeId(index); in MergeClassField() 111 JSTaggedValue attribute = layout->GetAttribute(index); in MergeClassField()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
D | becommon.cpp | 239 …JClassLayout *layout = mirModule.GetMemPool()->New<JClassLayout>(mirModule.GetMPAllocator().Adapte… in ComputeClassTypeSizesAligns() local 241 layout->emplace_back(JClassFieldInfo(false, false, false, allocedSize)); in ComputeClassTypeSizesAligns() 245 layout->insert(layout->end(), parentLayout.begin(), parentLayout.end()); in ComputeClassTypeSizesAligns() 252 jClassLayoutTable[&classType] = layout; in ComputeClassTypeSizesAligns() 452 const JClassLayout &layout = GetJClassLayout(static_cast<MIRClassType &>(structType)); in IsRefField() local 453 if (layout.empty()) { in IsRefField() 457 return layout[fieldID - 1].IsRef(); in IsRefField() 586 const JClassLayout &layout = GetJClassLayout(static_cast<MIRClassType &>(structType)); in GetFieldOffset() local 587 CHECK_FATAL(static_cast<uint32>(fieldID) - 1 < layout.size(), "subscript out of range"); in GetFieldOffset() 588 return std::pair<int32, int32>(static_cast<int32>(layout[fieldID - 1].GetOffset()), 0); in GetFieldOffset() [all …]
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/utils/ |
D | logger.ts | 27 layout: {
|
/arkcompiler/ets_frontend/ets2panda/linter/utils/ |
D | logger.ts | 27 layout: {
|
/arkcompiler/runtime_core/docs/ |
D | runtime-class.md | 11 …ormation separately from managed object to give more flexebility for its layout. Disadvantage of t… 24 In this case layout of the `coretypes::Class` will be following: 40 Such layout allows to get pointer to the `panda::Class` object from the `coretypes::Class` one and …
|
/arkcompiler/runtime_core/static_core/docs/ |
D | runtime-class.md | 11 …ormation separately from managed object to give more flexebility for its layout. Disadvantage of t… 24 In this case layout of the `coretypes::Class` will be following: 40 Such layout allows to get pointer to the `panda::Class` object from the `coretypes::Class` one and …
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | parallel_evacuator-inl.h | 42 auto layout = LayoutInfo::UncheckCast(dst); in VisitBodyInObj() local 44 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj() 47 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
|
D | parallel_marker-inl.h | 37 auto layout = LayoutInfo::UncheckCast(hclass->GetLayout().GetTaggedObject()); in VisitBodyInObj() local 39 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj() 42 auto attr = layout->GetAttr(index++); in VisitBodyInObj() 144 auto layout = LayoutInfo::UncheckCast(dst); in VisitBodyInObj() local 146 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj() 149 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/ |
D | llvm_irtoc_compiler.cpp | 195 auto layout = targetMachine_->createDataLayout(); in InitializeModule() local 198 module_->setDataLayout(layout); in InitializeModule() 218 module_->setDataLayout(layout); in InitializeModule()
|
/arkcompiler/runtime_core/docs/bc_verification/ |
D | cflow_checks.md | 1 ## Current layout model of a method 36 I.e. layout of exception handlers is rather flexible, even
|
/arkcompiler/runtime_core/static_core/docs/bc_verification/ |
D | cflow_checks.md | 1 ## Current layout model of a method 36 I.e. layout of exception handlers is rather flexible, even
|
/arkcompiler/runtime_core/static_core/static_linker/ |
D | linker.cpp | 103 res.stats.elapsed.layout = delta(tParse, tLayout); in Link() 135 printTimeHist("layout", s.elapsed.layout); in operator <<()
|
D | linker.h | 34 uint64_t layout {};
|
/arkcompiler/ets_runtime/docs/ |
D | overview.md | 51 …layout description and the C/C++ implementation library for operating the TS object based on the c…
|