Home
last modified time | relevance | path

Searched refs:GetAttr (Results 1 - 25 of 58) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_function.h274 bool GetAttr(FuncAttrKind attrKind) const in GetAttr() function in maple::MIRFunction
276 return funcAttrs.GetAttr(attrKind); in GetAttr()
291 return funcAttrs.GetAttr(FUNCATTR_varargs); in IsVarargs()
296 return funcAttrs.GetAttr(FUNCATTR_weak); in IsWeak()
301 return funcAttrs.GetAttr(FUNCATTR_static); in IsStatic()
306 return funcAttrs.GetAttr(FUNCATTR_inline); in IsInline()
311 return funcAttrs.GetAttr(FUNCATTR_extern); in IsExtern()
316 return funcAttrs.GetAttr(FUNCATTR_native); in IsNative()
321 return funcAttrs.GetAttr(FUNCATTR_final); in IsFinal()
326 return funcAttrs.GetAttr(FUNCATTR_abstrac in IsAbstract()
[all...]
H A Dmir_symbol.h235 bool GetAttr(AttrKind attrKind) const in GetAttr() function in maple::MIRSymbol
237 return typeAttrs.GetAttr(attrKind); in GetAttr()
252 return typeAttrs.GetAttr(ATTR_volatile); in IsVolatile()
257 return typeAttrs.GetAttr(ATTR_tls_static) || typeAttrs.GetAttr(ATTR_tls_dynamic); in IsThreadLocal()
262 return typeAttrs.GetAttr(ATTR_static); in IsStatic()
272 return typeAttrs.GetAttr(ATTR_weak); in IsWeak()
277 return typeAttrs.GetAttr(ATTR_private); in IsPrivate()
282 return typeAttrs.GetAttr(ATTR_localrefvar); in IsRefType()
H A Dmir_type.h281 bool GetAttr(AttrKind x) const in GetAttr() function in maple::TypeAttrs
384 return GetAttr(ATTR_pack); in IsPacked()
389 return GetAttr(ATTR_pack); in HasPack()
394 return GetAttr(ATTR_typedef); in IsTypedef()
443 bool GetAttr(StmtAttrKind x) const in GetAttr() function in maple::StmtAttrs
530 bool GetAttr(FuncAttrKind x) const in GetAttr() function in maple::FuncAttrs
955 return typeAttrs.GetAttr(ATTR_incomplete_array); in IsIncompleteArray()
1134 return funcAttrs.GetAttr(FUNCATTR_varargs);
1144 return funcAttrs.GetAttr(FUNCATTR_firstarg_return);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcall_conv.h275 if (mirFunction.GetAttr(FUNCATTR_ccall)) { in GetCallConvKind()
277 } else if (mirFunction.GetAttr(FUNCATTR_webkitjscall)) { in GetCallConvKind()
279 } else if (mirFunction.GetAttr(FUNCATTR_ghcall)) { in GetCallConvKind()
288 if (node.GetAttr(STMTATTR_ccall)) { in GetCallConvKind()
290 } else if (node.GetAttr(STMTATTR_webkitjscall)) { in GetCallConvKind()
/arkcompiler/ets_runtime/ecmascript/
H A Dlayout_info.cpp76 PropertyAttributes attr = GetAttr(static_cast<int>(i)); in GetAllKeysByFilter()
91 PropertyAttributes attr = GetAttr(static_cast<int>(i)); in GetAllKeysByFilter()
127 if (GetAttr(i).IsEnumerable()) { in GetNumOfEnumKeys()
153 if (GetAttr(i).IsEnumerable()) { in GetAllEnumKeys()
177 if (keyHandle->IsString() && GetAttr(i).IsEnumerable()) { in GetAllEnumKeys()
190 PropertyAttributes attr = GetAttr(index); in IsUninitializedProperty()
223 auto attr = GetAttr(index); in DumpFieldIndexByPGO()
242 auto attr = GetAttr(index); in UpdateFieldIndexByPGO()
H A Dobject_operator.h170 inline PropertyAttributes GetAttr() const in GetAttr() function in panda::ecmascript::final
192 return GetAttr().IsWritable(); in IsWritable()
197 return GetAttr().IsEnumerable(); in IsEnumerable()
202 return GetAttr().IsConfigurable(); in IsConfigurable()
207 return GetAttr().IsAccessor(); in IsAccessorDescriptor()
212 return GetAttr().IsInlinedProps(); in IsInlinedProps()
222 return GetAttr().GetRepresentation(); in GetRepresentation()
H A Djs_hclass-inl.h63 JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMetaData())); in AddTransitions()
101 JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMetaData())); in AddProtoTransitions()
130 auto lastMetaData = layoutInfo->GetAttr(last).GetPropertyMetaData(); in FindTransitions()
192 auto lastRep = layoutInfo->GetAttr(last).GetRepresentation(); in CheckHClassForRep()
H A Dlayout_info-inl.h81 inline PropertyAttributes LayoutInfo::GetAttr(int index) const
95 return GetAttr(index).GetSortedIndex();
H A Dvtable.cpp30 PropertyAttributes attr = layoutInfo->GetAttr(propIndex); in CreateTuple()
H A Djs_hclass.cpp787 if (layout->GetAttr(offset).GetTrackType() != targetTrackType) { in VisitAndUpdateLayout()
815 attr = layout->GetAttr(attr.GetOffset()); in ConvertOrTransitionWithRep()
1130 PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInAotHClass()
1169 PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInPGOHClass()
1217 PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInBuiltinPrototypeHClass()
1445 auto attr = layout->GetAttr(i); in DumpToString()
1452 auto attr = layout->GetAttr(i); in DumpToString()
1478 PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInBuiltinHClass()
1590 auto attr = PropertyAttributes(old->GetAttr(i)); in CreateSInlinedLayout()
1653 NameDictionary::Put(thread, dict, key, value, PropertyAttributes(old->GetAttr( in CreateSDictLayout()
[all...]
H A Dlayout_info.h64 PropertyAttributes GetAttr(int index) const;
H A Dobject_operator.cpp567 PropertyAttributes attr(layoutInfo->GetAttr(entry)); in LookupPropertyInlinedProps()
727 PropertyAttributes attr = GetAttr(); in UpdateDataValue()
765 PropertyAttributes attr = GetAttr(); in WriteDataProperty()
1036 PropertyAttributes attr = GetAttr(); in AddPropertyInternal()
H A Dobject_fast_operator-inl.h233 PropertyAttributes attr(layoutInfo->GetAttr(entry)); in TryGetPropertyByNameThroughCacheAtLocal()
295 PropertyAttributes attr(layoutInfo->GetAttr(entry)); in GetPropertyByName()
356 PropertyAttributes attr(layoutInfo->GetAttr(entry)); in TrySetPropertyByNameThroughCacheAtLocal()
439 PropertyAttributes attr(layoutInfo->GetAttr(entry)); in SetPropertyByName()
540 PropertyAttributes attr(receiverLayoutInfo->GetAttr(receiverHoleEntry)); in SetPropertyByName()
1248 PropertyAttributes attr = layoutInfo->GetAttr(index); in FastGetPropertyByPorpsIndex()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_call_conv.h158 if (mirFunction.GetAttr(FUNCATTR_ccall)) { in GetCallConvKind()
160 } else if (mirFunction.GetAttr(FUNCATTR_webkitjscall)) { in GetCallConvKind()
162 } else if (mirFunction.GetAttr(FUNCATTR_ghcall)) { in GetCallConvKind()
171 if (node.GetAttr(STMTATTR_ccall)) { in GetCallConvKind()
173 } else if (node.GetAttr(STMTATTR_webkitjscall)) { in GetCallConvKind()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_function.cpp166 if (GetAttr(FUNCATTR_##AT)) { \ in DumpAttributes()
174 if (GetAttr(FUNCATTR_alias) && !GetAliasFuncName().empty()) { in DumpAttributes()
177 if (GetAttr(FUNCATTR_constructor_priority) && GetConstructorPriority() != -1) { in DumpAttributes()
180 if (GetAttr(FUNCATTR_destructor_priority) && GetDestructorPriority() != -1) { in DumpAttributes()
183 if (GetAttr(FUNCATTR_frame_pointer) && !framePointer.empty()) { in DumpAttributes()
186 if (GetAttr(FUNCATTR_frame_reserved_slots) && GetFrameResverdSlot() != 0) { in DumpAttributes()
247 if (GetAttr(FUNCATTR_optimized)) { in Dump()
H A Dmir_type.cpp228 if (GetAttr(STMTATTR_##AT)) \ in DumpAttributes()
242 if (GetAttr(ATTR_##AT)) \ in DumpAttributes()
252 if (GetAttr(ATTR_pack) && GetPack() != 0) { in DumpAttributes()
534 if (typeAttrs.GetAttr(ATTR_volatile)) { in IsPointedTypeVolatile()
H A Dmir_symbol.cpp71 return typeAttrs.GetAttr(ATTR_static) && typeAttrs.GetAttr(ATTR_final) && PointsToConstString(); in IsConstString()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dobject_operator_first_test.cpp42 EXPECT_EQ(objectOperator1.GetAttr().GetPropertyMetaData(), 2); in HWTEST_F_L0()
140 EXPECT_EQ(objectOperator.GetAttr().GetPropertyMetaData(), 7); in HWTEST_F_L0()
351 EXPECT_EQ(objectOperator1.GetAttr().GetPropertyMetaData(), 2); in HWTEST_F_L0()
363 EXPECT_EQ(objectOperator2.GetAttr().GetPropertyMetaData(), 7); in HWTEST_F_L0()
371 EXPECT_EQ(objectOperator3.GetAttr().GetPropertyMetaData(), 0); in HWTEST_F_L0()
391 EXPECT_EQ(objectOperator1.GetAttr().GetPropertyMetaData(), 0); in HWTEST_F_L0()
407 EXPECT_EQ(objectOperator2.GetAttr().GetPropertyMetaData(), handleAttr.GetPropertyMetaData()); in HWTEST_F_L0()
426 EXPECT_EQ(objectOperator1.GetAttr().GetPropertyMetaData(), 7); // default attribute in HWTEST_F_L0()
434 EXPECT_EQ(objectOperator2.GetAttr().GetPropertyMetaData(), 0); // default attribute in HWTEST_F_L0()
452 EXPECT_EQ(objectOperator.GetAttr() in HWTEST_F_L0()
[all...]
H A Dobject_operator_third_test.cpp68 EXPECT_EQ(objectOperator.GetAttr().GetPropertyMetaData(), resultAttrValue); in HWTEST_F_L0()
69 EXPECT_EQ(objectOperator.GetAttr().GetDictionaryOrder(), 1U); in HWTEST_F_L0()
70 EXPECT_TRUE(objectOperator.GetAttr().IsConfigurable()); in HWTEST_F_L0()
137 EXPECT_EQ(resultDict->GetAttributes(resultEntry).GetValue(), objectOperator1.GetAttr().GetValue()); in HWTEST_F_L0()
231 EXPECT_EQ(objectOperator.GetAttr().GetBoxType(), PropertyBoxType::CONSTANT); in HWTEST_F_L0()
258 EXPECT_EQ(objectOperator.GetAttr().GetPropertyMetaData(), 4); in HWTEST_F_L0()
266 EXPECT_EQ(objectOperator.GetAttr().GetPropertyMetaData(), 4); in HWTEST_F_L0()
H A Djs_shared_array_test.cpp204 PropertyAttributes attr(layoutInfo->GetAttr(JSArray::LENGTH_INLINE_PROPERTY_INDEX)); in HWTEST_F_L0()
229 PropertyAttributes attr(layoutInfo->GetAttr(JSArray::LENGTH_INLINE_PROPERTY_INDEX)); in HWTEST_F_L0()
H A Dlayout_info_test.cpp49 EXPECT_EQ(layoutInfoHandle->GetAttr(0).GetNormalAttr(), static_cast<uint32_t>(infoLength)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfast_json_stringifier.cpp513 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in TryCacheSerializeKeysFromPropertiesArray()
517 PropertyAttributes attr(layoutInfo->GetAttr(index)); in TryCacheSerializeKeysFromPropertiesArray()
554 PropertyAttributes attr(layoutInfo->GetAttr(index)); in TryCacheSerializeKeysFromEnumCache()
659 PropertyAttributes attr(layoutInfo->GetAttr(index)); in SerializeKeysWithCache()
843 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in SerializeKeysFromLayout()
932 PropertyAttributes attr(layoutInfo->GetAttr(index)); in SerializeKeyValue()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dverification.cpp102 auto attr = layout->GetAttr(index++); in VisitAllObjects()
598 auto attr = layout->GetAttr(index++); in VerifyMark()
649 auto attr = layout->GetAttr(index++); in VerifyMark()
710 auto attr = layout->GetAttr(index++); in VerifySweep()
762 auto attr = layout->GetAttr(index++); in VerifySweep()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
H A Dorig_symbol.h74 if (typeAttr.GetAttr(attrKind)) { in HasAttr()
85 if (typeAttr.GetAttr(ATTR_oneelem_simd)) { in HasOneElemSimdAttr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_emitter.cpp177 if (cgFunc.GetFunction().GetAttr(FUNCATTR_initialization)) { in Run()
181 if (cgFunc.GetFunction().GetAttr(FUNCATTR_termination)) { in Run()
186 if (cgFunc.GetFunction().GetAttr(FUNCATTR_section)) { in Run()
189 } else if (cgFunc.GetFunction().GetAttr(FUNCATTR_constructor_priority)) { in Run()
202 if (funcSt->GetFunction()->GetAttr(FUNCATTR_weak)) { in Run()
205 } else if (funcSt->GetFunction()->GetAttr(FUNCATTR_local)) { in Run()

Completed in 27 milliseconds

123