| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | verify_annotation.cpp | 44 inline MIRStructType *GetOrCreateStructType(const std::string &name, MIRModule &md) in GetOrCreateStructType() 46 … return static_cast<MIRStructType *>(GlobalTables::GetTypeTable().GetOrCreateClassType(name, md)); in GetOrCreateStructType() 72 MIRPragma *NewPragmaRTAnnotation(MIRModule &md, const MIRStructType &clsType, const MIRStructType &… in NewPragmaRTAnnotation() 83 MIRPragma *NewPragmaRTClassAnnotation(MIRModule &md, const MIRStructType &clsType, const std::strin… in NewPragmaRTClassAnnotation() 85 MIRStructType *aType = GetOrCreateStructType(aTypeName, md); in NewPragmaRTClassAnnotation() 91 MIRStructType *retentionType = GetOrCreateStructType(kJavaLangAnnotationRetentionStr, md); in NewPragmaRTClassAnnotation() 100 MIRPragma *NewAssignableCheckAnno(MIRModule &md, const MIRStructType &clsType, const AssignableChec… in NewAssignableCheckAnno() 108 void AddVerfAnnoThrowVerifyError(MIRModule &md, const ThrowVerifyErrorPragma &info, MIRStructType &… in AddVerfAnnoThrowVerifyError() 125 …nableCheck(MIRModule &md, std::vector<const AssignableCheckPragma *> &info, MIRStructType &clsType) in AddVerfAnnoAssignableCheck() 155 void AddVerfAnnoExtendFinalCheck(MIRModule &md, MIRStructType &clsType) in AddVerfAnnoExtendFinalCheck() [all …]
|
| D | mir_type.cpp | 939 MIRStructType *MIRJarrayType::GetParentType() in GetParentType() 947 return static_cast<MIRStructType *>(GlobalTables::GetTypeTable().GetTypeFromTyIdx(parentTyIdx)); in GetParentType() 969 baseName = static_cast<MIRStructType *>(pType)->GetName(); in DetermineName() 1002 return static_cast<const MIRStructType *>(this)->IsFieldVolatile(fieldID); in IsVolatile() 1041 return MIRStructType::GetSize(); in GetSize() 1052 size_t structSize = MIRStructType::GetSize(); in GetSize() 1117 static void DumpClassOrInterfaceInfo(const MIRStructType &type, int indent) in DumpClassOrInterfaceInfo() 1164 size = MIRStructType::GetSize(); in GetSize() 1358 size_t MIRStructType::GetSize() const in GetSize() 1420 uint32 MIRStructType::GetAlign() const in GetAlign() [all …]
|
| D | verify_mark.cpp | 61 MIRStructType *mirStructType = klass.GetMIRStructType(); in AddAnnotations()
|
| D | mir_builder.cpp | 21 void MIRBuilder::AddIntFieldConst(const MIRStructType &sType, MIRAggConst &newConst, uint32 fieldID… in AddIntFieldConst() 29 void MIRBuilder::AddAddrofFieldConst(const MIRStructType &structType, MIRAggConst &newConst, uint32… in AddAddrofFieldConst() 39 void MIRBuilder::AddAddroffuncFieldConst(const MIRStructType &structType, MIRAggConst &newConst, ui… in AddAddroffuncFieldConst() 57 bool MIRBuilder::TraverseToNamedField(MIRStructType &structType, GStrIdx nameIdx, uint32 &fieldID) in TraverseToNamedField() 64 void MIRBuilder::TraverseToNamedFieldWithType(MIRStructType &structType, GStrIdx nameIdx, TyIdx typ… in TraverseToNamedFieldWithType() 74 auto *parentType = static_cast<MIRStructType *>(type); in TraverseToNamedFieldWithType() 97 auto *subStructType = static_cast<MIRStructType *>(fieldType); in TraverseToNamedFieldWithType() 112 bool MIRBuilder::TraverseToNamedFieldWithTypeAndMatchStyle(MIRStructType &structType, GStrIdx nameI… in TraverseToNamedFieldWithTypeAndMatchStyle() 126 auto *parentType = static_cast<MIRStructType *>(type); in TraverseToNamedFieldWithTypeAndMatchStyle() 154 auto *subStructType = static_cast<MIRStructType *>(fieldType); in TraverseToNamedFieldWithTypeAndMatchStyle() [all …]
|
| D | bin_mpl_import.cpp | 395 void BinaryMplImport::ImportStructTypeData(MIRStructType &type) in ImportStructTypeData() 417 void BinaryMplImport::ImportInfoIsStringOfStructType(MIRStructType &type) in ImportInfoIsStringOfStructType() 431 void BinaryMplImport::ImportInfoOfStructType(MIRStructType &type) in ImportInfoOfStructType() 446 void BinaryMplImport::ImportPragmaOfStructType(MIRStructType &type) in ImportPragmaOfStructType() 458 void BinaryMplImport::SetClassTyidxOfMethods(MIRStructType &type) in SetClassTyidxOfMethods() 553 auto *structType = static_cast<MIRStructType *>(type); in CompleteAggInfo() 694 MIRStructType type(kind, strIdx); in ImportType() 697 MIRStructType &origType = static_cast<MIRStructType &>(InsertInTypeTables(type)); in ImportType() 850 MIRStructType type(kind, strIdx); in ImportTypeNonJava() 911 tmpStruct.push_back(static_cast<MIRStructType *>(resultTypePtr)); in InsertInTypeTables()
|
| D | debug_info.cpp | 843 MIRStructType *stype = static_cast<MIRStructType *>(type); in GetOrCreatePointTypeDie() 965 const MIRStructType *stype = static_cast<const MIRStructType *>(type); in GetOrCreateStructTypeDie() 980 DBGDie *DebugInfo::CreateStructTypeDie(GStrIdx strIdx, const MIRStructType *structtype, bool update) in CreateStructTypeDie() 1398 MIRStructType *stype = static_cast<MIRStructType *>(type); in Dump()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | verify_annotation.h | 23 void AddVerfAnnoThrowVerifyError(MIRModule &md, const ThrowVerifyErrorPragma &info, MIRStructType &… 25 MIRStructType &clsType); 26 void AddVerfAnnoExtendFinalCheck(MIRModule &md, MIRStructType &clsType); 27 void AddVerfAnnoOverrideFinalCheck(MIRModule &md, MIRStructType &clsType);
|
| D | bin_mpl_import.h | 33 for (MIRStructType *structPtr : tmpStruct) { in ~BinaryMplImport() 125 void ImportStructTypeData(MIRStructType &type); 127 void ImportInfoIsStringOfStructType(MIRStructType &type); 128 void ImportInfoOfStructType(MIRStructType &type); 129 void ImportPragmaOfStructType(MIRStructType &type); 130 void SetClassTyidxOfMethods(MIRStructType &type); 167 std::vector<MIRStructType *> tmpStruct;
|
| D | mir_type.h | 811 class MIRStructType; // circular dependency exists, no other choice variable 1003 virtual MIRStructType *EmbeddedStructType() in EmbeddedStructType() 1218 MIRStructType *EmbeddedStructType() override; 1276 MIRStructType *EmbeddedStructType() override; 1300 class MIRStructType : public MIRType { 1302 explicit MIRStructType(MIRTypeKind typeKind) : MIRType(typeKind, PTY_agg) {} in MIRStructType() function 1304 MIRStructType(MIRTypeKind typeKind, GStrIdx strIdx) : MIRType(typeKind, PTY_agg, strIdx) {} in MIRStructType() function 1306 ~MIRStructType() override = default; 1545 return new MIRStructType(*this); in CopyMIRTypeNode() 1749 MIRStructType *EmbeddedStructType() override in EmbeddedStructType() [all …]
|
| D | mir_builder.h | 121 …void AddIntFieldConst(const MIRStructType &sType, MIRAggConst &newConst, uint32 fieldID, int64 con… 122 void AddAddrofFieldConst(const MIRStructType &sType, MIRAggConst &newConst, uint32 fieldID, 124 void AddAddroffuncFieldConst(const MIRStructType &sType, MIRAggConst &newConst, uint32 fieldID, 127 bool TraverseToNamedField(MIRStructType &structType, GStrIdx nameIdx, uint32 &fieldID); 128 …bool TraverseToNamedFieldWithTypeAndMatchStyle(MIRStructType &structType, GStrIdx nameIdx, TyIdx t… 130 …void TraverseToNamedFieldWithType(MIRStructType &structType, GStrIdx nameIdx, TyIdx typeIdx, uint3… 141 …void SetStructFieldIDFromFieldName(MIRStructType &structType, const std::string &name, GStrIdx new…
|
| D | mir_parser.h | 86 bool ParsePragma(MIRStructType &type); 87 bool ParseFields(MIRStructType &type);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | call_conv.h | 115 MIRStructType *GetType() in GetType() 119 void SetType(MIRStructType *ty) in SetType() 225 MIRStructType *type;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| D | becommon.h | 96 std::pair<int32, int32> GetFieldOffset(MIRStructType &structType, FieldID fieldID); 98 bool IsRefField(MIRStructType &structType, FieldID fieldID) const; 159 return static_cast<const MIRStructType &>(ty).GetFieldsSize() + 1; in GetFieldIdxIncrement()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
| D | simplify.cpp | 50 MIRConst *TruncateUnionConstant(const MIRStructType &unionType, MIRConst *fieldCst, const MIRType &… in TruncateUnionConstant() 187 static MIRStructType *GetDassignedStructType(const DassignNode *dassign, MIRFunction *func) in GetDassignedStructType() 201 lhsAggType = static_cast<MIRStructType *>(lhsAggType)->GetFieldType(lhsFieldID); in GetDassignedStructType() 209 if (static_cast<MIRStructType *>(lhsAggType)->NumberOfFieldIDs() > kUpperLimitOfFieldNum) { in GetDassignedStructType() 212 return static_cast<MIRStructType *>(lhsAggType); in GetDassignedStructType() 215 static MIRStructType *GetIassignedStructType(const IassignNode *iassign) in GetIassignedStructType() 228 if (static_cast<MIRStructType *>(lhsAggType)->NumberOfFieldIDs() > kUpperLimitOfFieldNum) { in GetIassignedStructType() 231 return static_cast<MIRStructType *>(lhsAggType); in GetIassignedStructType() 234 static MIRStructType *GetReadedStructureType(const DreadNode *dread, const MIRFunction *func) in GetReadedStructureType() 242 rhsAggType = static_cast<MIRStructType *>(rhsAggType)->GetFieldType(rhsFieldID); in GetReadedStructureType() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | becommon.cpp | 130 auto &structType = static_cast<MIRStructType &>(ty); in ComputeStructTypeSizesAligns() 162 MIRStructType *subStructType = fieldType->EmbeddedStructType(); in ComputeStructTypeSizesAligns() 221 const FieldVector &fields = static_cast<MIRStructType &>(ty).GetFields(); in ComputeClassTypeSizesAligns() 447 bool BECommon::IsRefField(MIRStructType &structType, FieldID fieldID) const in IsRefField() 573 std::pair<int32, int32> BECommon::GetFieldOffset(MIRStructType &structType, FieldID fieldID) in GetFieldOffset() 657 MIRStructType *subStructType = fieldType->EmbeddedStructType(); in GetFieldOffset() 682 MIRStructType *subStructType = fieldType->EmbeddedStructType(); in GetFieldOffset() 779 GetFieldOffset(static_cast<MIRStructType &>(*pointedType), iNode.GetFieldID()); in GetAddressOfNode() 822 … thepair = static_cast<MIRStructType *>(ty)->TraverseToField(dNode->GetFieldID()); in CallIsOfAttr() 835 … pointedType = static_cast<MIRStructType *>(pointedType)->GetFieldType(iNode->GetFieldID()); in CallIsOfAttr()
|
| D | lower.cpp | 190 MIRStructType *structTy = in LowerIaddrof() 191 …static_cast<MIRStructType *>(GlobalTables::GetTypeTable().GetTypeFromTyIdx(pointerTy->GetPointedTy… in LowerIaddrof() 315 …static_cast<MIRStructType *>(GlobalTables::GetTypeTable().GetTypeFromTyIdx(ptrty->GetPointedTyIdx(… in LowerComplexSelect() 317 MIRStructType *structty = static_cast<MIRStructType *>(resultTy); in LowerComplexSelect() 840 auto *structTy = static_cast<MIRStructType *>(symbol->GetType()); in LowerDreadBitfield() 858 MIRStructType *structTy = nullptr; in LowerIreadBitfield() 860 structTy = static_cast<MIRStructType *>(pointedTy); in LowerIreadBitfield() 954 MIRStructType *structTy = static_cast<MIRStructType *>(symbol->GetType()); in LowerDassignBitfield() 984 MIRStructType *structTy = nullptr; in LowerIassignBitfield() 986 structTy = static_cast<MIRStructType *>(pointedTy); in LowerIassignBitfield() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_call_conv.cpp | 80 MIRStructType *sttype = static_cast<MIRStructType *>(ty); in TraverseStructFieldsForFp() 103 uint32 ProcessStructWhenClassifyAggregate(const BECommon &be, MIRStructType &structType, in ProcessStructWhenClassifyAggregate() 191 MIRStructType &structType = static_cast<MIRStructType &>(mirType); in ClassifyAggregate() 205 uint32 AArch64CallConvImpl::FloatParamRegRequired(MIRStructType &structType, uint32 &fpSize) in FloatParamRegRequired()
|
| D | aarch64_abi.cpp | 171 MIRStructType *structTy = static_cast<MIRStructType *>(ty); in IsVectorArrayType()
|
| D | aarch64_cg.cpp | 135 static void GetGCTIBBitMapWords(const BECommon &beCommon, MIRStructType &stType, std::vector<uint64… in GetGCTIBBitMapWords() 339 MIRStructType *strTy = static_cast<MIRStructType *>(ty); in GenerateObjectMaps()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
| D | class_hierarchy.h | 58 Klass(MIRStructType *type, MapleAllocator *alc); 112 MIRStructType *GetMIRStructType() const in GetMIRStructType() 315 MIRStructType *structType;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | proepilog.cpp | 106 auto &structType = static_cast<const MIRStructType &>(type); in IncludeArray()
|
| D | cg.cpp | 195 static void AppendReferenceOffsets64(const BECommon &beCommon, MIRStructType &curStructType, int64 … in AppendReferenceOffsets64() 263 std::vector<int64> CG::GetReferenceOffsets64(const BECommon &beCommon, MIRStructType &structType) in GetReferenceOffsets64()
|
| D | eh_func.cpp | 176 MIRStructType *structTy = nullptr; in Lower() 178 structTy = static_cast<MIRStructType *>(pointedTy); in Lower() 364 MIRStructType *structTy = nullptr; in LowerThrow() 366 structTy = static_cast<MIRStructType *>(pointedTy); in LowerThrow()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_memlayout.cpp | 55 ty = static_cast<MIRStructType *>(ty)->GetFieldType(dread->GetFieldID()); in ComputeStackSpaceRequirementForCall() 71 ty = static_cast<MIRStructType *>(ty)->GetFieldType(iread->GetFieldID()); in ComputeStackSpaceRequirementForCall()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/ |
| D | orig_symbol.h | 95 MIRStructType *structType = static_cast<MIRStructType *>( in HasOneElemSimdAttr()
|