Home
last modified time | relevance | path

Searched refs:typeSizeTable (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dbecommon.h70 /* update typeSizeTable and typeAlignTable when new type is created */
93 return typeSizeTable.at(idx); in GetTypeSize()
97 return typeSizeTable.size(); in GetSizeOfTypeSizeTable()
101 return typeSizeTable.empty(); in IsEmptyOfTypeSizeTable()
105 typeSizeTable.at(idx) = value; in SetTypeSize()
109 typeSizeTable.emplace_back(value); in AddTypeSize()
114 if (typeSizeTable.size() == tyIdx) { in AddTypeSizeAndAlign()
115 typeSizeTable.emplace_back(value); in AddTypeSizeAndAlign()
118 CHECK_FATAL(typeSizeTable.size() > tyIdx, "there are some types haven't set type size and align, %d"); in AddTypeSizeAndAlign()
174 MapleVector<uint64> typeSizeTable; /* inde member in maplebe::BECommon
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dbecommon.cpp29 typeSizeTable(GlobalTables::GetTypeTable().GetTypeTable().size(), 0, mirModule.GetMPAllocator().Adapter()), in BECommon()
48 typeSizeTable.emplace_back(0); in AddNewTypeAfterBecommon()
89 if (typeSizeTable.size() != typeAlignTable.size()) { in TyIsInSizeAlignTable()
92 return ty.GetTypeIndex() < typeSizeTable.size(); in TyIsInSizeAlignTable()
99 typeSizeTable.emplace_back(0); in AddAndComputeSizeAlign()
138 CHECK_FATAL(ty.GetTypeIndex() == typeSizeTable.size(), "make sure the ty idx is exactly the table size"); in FinalizeTypeTable()

Completed in 1 milliseconds