Home
last modified time | relevance | path

Searched refs:kTypeStruct (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_memlayout.cpp51 DEBUG_ASSERT(ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeClass || in ComputeStackSpaceRequirementForCall()
54 if (ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeUnion) { in ComputeStackSpaceRequirementForCall()
67 DEBUG_ASSERT(ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeClass || in ComputeStackSpaceRequirementForCall()
70 if (ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeUnion) { in ComputeStackSpaceRequirementForCall()
Dx64_emitter.cpp103 …if (((kind == kTypeStruct) || (kind == kTypeClass) || (kind == kTypeArray) || (kind == kTypeUnion)… in GetSymbolAlign()
111 if (kind == kTypeStruct || kind == kTypeClass || kind == kTypeArray || kind == kTypeUnion) { in GetSymbolAlign()
1636 …structKind == kTypeStruct ? structCt.GetAggConstElement(i + 1) : structCt.GetAggConstElement(field… in EmitStructure()
1662 … } else if (elemKind == kTypeStruct || elemKind == kTypeClass || elemKind == kTypeUnion) { in EmitStructure()
1693 if (structType.GetKind() == kTypeStruct) { in EmitStructure()
1772 …} else if (elemConst->GetType().GetKind() == kTypeStruct || elemConst->GetType().GetKind() == kTyp… in EmitArray()
2018 if (kind == kTypeStruct || kind == kTypeUnion || kind == kTypeClass) { in EmitLocalVariable()
2115 } else if (kind == kTypeStruct || kind == kTypeClass || kind == kTypeUnion) { in EmitGlobalVariable()
2147 } else if (kind == kTypeStruct || kind == kTypeUnion || kind == kTypeClass) { in EmitGlobalVariable()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_call_conv.cpp72 if (pty->GetKind() == kTypeArray || pty->GetKind() == kTypeStruct) { in TraverseStructFieldsForFp()
79 } else if (ty->GetKind() == kTypeStruct) { in TraverseStructFieldsForFp()
187 …if ((mirType.GetKind() != kTypeStruct) && (mirType.GetKind() != kTypeArray) && (mirType.GetKind() … in ClassifyAggregate()
190 if (mirType.GetKind() == kTypeStruct) { in ClassifyAggregate()
Daarch64_memlayout.cpp69 DEBUG_ASSERT(ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeClass || in ComputeStackSpaceRequirementForCall()
72 if (ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeUnion) { in ComputeStackSpaceRequirementForCall()
85 DEBUG_ASSERT(ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeClass || in ComputeStackSpaceRequirementForCall()
88 if (ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeUnion) { in ComputeStackSpaceRequirementForCall()
Daarch64_abi.cpp170 if (ty->GetKind() == kTypeStruct) { in IsVectorArrayType()
Daarch64_cgfunc.cpp1079 if ((type->GetKind() == kTypeStruct) || (type->GetKind() == kTypeUnion)) { in SelectDassign()
1104 (type->GetKind() == kTypeFunction) || (type->GetKind() == kTypeStruct) || in SelectDassign()
1919 if (lhsType->GetKind() == kTypeStruct || lhsType->GetKind() == kTypeUnion) { in SelectAggDassign()
2407 …DEBUG_ASSERT(((typeKind == kTypeScalar) || (typeKind == kTypeStruct) || (typeKind == kTypeClass) || in SelectAggIassign()
2417 …DEBUG_ASSERT(((typeKind == kTypeScalar) || (typeKind == kTypeStruct) || (typeKind == kTypeClass) || in SelectAggIassign()
11547 if (sPty->GetKind() == kTypeStruct || sPty->GetKind() == kTypeUnion) { in SaveReturnValueInLocal()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_module.cpp553 …DEBUG_ASSERT(ty.GetKind() == kTypeClass || ty.GetKind() == kTypeStruct || ty.GetKind() == kTypeUni… in DumpTypeTreeToCxxHeaderFile()
564 DEBUG_ASSERT(ty.GetKind() != kTypeStruct, "type is not supposed to be struct"); in DumpTypeTreeToCxxHeaderFile()
568 DEBUG_ASSERT((ty.GetKind() == kTypeStruct || ty.GetKind() == kTypeUnion), in DumpTypeTreeToCxxHeaderFile()
638 …DEBUG_ASSERT(ty->GetKind() == kTypeClass || ty->GetKind() == kTypeStruct || ty->GetKind() == kType… in DumpToCxxHeaderFile()
Ddebug_info.cpp364 case kTypeStruct: in BuildDebugInfo()
787 case kTypeStruct: in GetOrCreateTypeDie()
962 case kTypeStruct: in GetOrCreateStructTypeDie()
989 … DwTag tag = structtype->GetKind() == kTypeStruct ? DW_TAG_structure_type : DW_TAG_union_type; in CreateStructTypeDie()
1397 …if (type->GetKind() == kTypeStruct || type->GetKind() == kTypeClass || type->GetKind() == kTypeInt… in Dump()
Dparser.cpp817 tkind = kTypeStruct; in ParseStructType()
848 …DEBUG_ASSERT(prevType->GetKind() == kTypeStruct || prevType->IsIncomplete(), "type kind should be … in ParseStructType()
860 (prevType->GetKind() == kTypeStructIncomplete && tkind == kTypeStruct)) { in ParseStructType()
1548 } else if (type->GetKind() == kTypeStruct || type->GetKind() == kTypeStructIncomplete || in FixForwardReferencedTypeForOneAgg()
2263 if (elemType->GetKind() == kTypeStruct && arrayType.GetDim() == 1) { in ParseInitValue()
2301 } else if (type.GetKind() == kTypeStruct || type.GetKind() == kTypeUnion) { in ParseInitValue()
Dmir_nodes.cpp97 case kTypeStruct: in CheckNode()
109 …(subKind == kTypeStruct && GetPrimType() == PTY_agg) || (fTyIdx != 0u && GetPrimType() == PTY_agg); in CheckNode()
122 (subKind == kTypeStruct && GetPrimType() == PTY_agg); in CheckNode()
135 (subKind == kTypeStruct && GetPrimType() == PTY_agg); in CheckNode()
1898 …return kind == kTypeStruct || kind == kTypeStructIncomplete || kind == kTypeUnion || kind == kType… in IsStructureTypeKind()
Dglobal_tables.cpp279 MIRStructType type(forStruct ? kTypeStruct : kTypeUnion, strIdx); in GetOrCreateStructOrUnion()
Dmir_function.cpp189 case kTypeStruct: in SetReturnStruct()
Dbin_mpl_import.cpp552 } else if (type->GetKind() == kTypeStruct || type->GetKind() == kTypeUnion) { in CompleteAggInfo()
909 if (resultTypePtr->GetKind() == kTypeStruct || resultTypePtr->GetKind() == kTypeUnion || in InsertInTypeTables()
Dmir_type.cpp1468 LogInfo::MapleLogger() << ((typeKind == kTypeStruct) ? "<struct" in Dump()
2282 case kTypeStruct: { in GetBitOffsetFromBaseAddr()
Dbin_mpl_export.cpp335 RegisterFactoryFunction<OutputTypeFactory>(kTypeStruct, OutputTypeStruct); in InitOutputTypeFactory()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dbecommon.h157 } else if (ty.GetKind() == kTypeStruct) { in GetFieldIdxIncrement()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dbecommon.cpp388 case kTypeStruct: { in ComputeTypeSizesAligns()
819 DEBUG_ASSERT(ty->GetKind() == kTypeStruct || ty->GetKind() == kTypeClass, ""); in CallIsOfAttr()
821 if (ty->GetKind() == kTypeStruct) { in CallIsOfAttr()
Dlower.cpp1430 if (pty->GetKind() == kTypeArray || pty->GetKind() == kTypeStruct) { in IsStructElementSame()
1434 } else if (ty->GetKind() == kTypeStruct) { in IsStructElementSame()
2176 CHECK_FATAL((retType->GetKind() == kTypeStruct) || (retType->GetKind() == kTypeUnion), in LowerCall()
2182 if ((retType->GetKind() != kTypeStruct) && (retType->GetKind() != kTypeUnion)) { in LowerCall()
2898 if (retType->GetKind() == kTypeStruct) { in LowerDassign()
2980 CHECK_FATAL(ty->GetKind() == kTypeStruct, "ty's kind should be struct type"); in LowerIntrinsicopDassign()
3032 if (retType->GetKind() == kTypeStruct) { in LowerJavascriptIntrinsicop()
3636 if (retTy->GetKind() == kTypeStruct) { in LowerDefaultIntrinsicCall()
3644 if (argTy->GetKind() == kTypeStruct) { in LowerDefaultIntrinsicCall()
3658 if (retTy->GetKind() == kTypeStruct) { in LowerDefaultIntrinsicCall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcg.cpp249 …if ((fieldTypeKind == kTypeArray) || (fieldTypeKind == kTypeStruct) || (fieldTypeKind == kTypeClas… in AppendReferenceOffsets64()
Demit.cpp419 } else if (((kind == kTypeStruct) || (kind == kTypeClass) || (kind == kTypeArray) || in EmitAsmLabel()
439 …if (mirSymbol.GetType()->GetKind() == kTypeStruct || mirSymbol.GetType()->GetKind() == kTypeClass … in EmitAsmLabel()
1652 …f (elemConst->GetType().GetKind() == kTypeArray || elemConst->GetType().GetKind() == kTypeStruct) { in EmitConstantTable()
1710 …} else if (elemConst->GetType().GetKind() == kTypeStruct || elemConst->GetType().GetKind() == kTyp… in EmitArrayConstant()
1796 if (structType.GetKind() == kTypeStruct) { in EmitStructConstant()
1831 … } else if ((elemType->GetKind() == kTypeStruct) || (elemType->GetKind() == kTypeClass) || in EmitStructConstant()
1863 if (structType.GetKind() == kTypeStruct) { in EmitStructConstant()
2258 } else if (kTypeStruct == ty->GetKind() || kTypeUnion == ty->GetKind() || in EmitLocalVariable()
2672 } else if (mirType->GetKind() == kTypeStruct || mirType->GetKind() == kTypeClass || in EmitGlobalVariable()
2714 } else if (kTypeStruct == mirType->GetKind() || kTypeClass == mirType->GetKind() || in EmitGlobalVariable()
Dcgfunc.cpp1842 if (type->GetKind() == kTypeStruct) { in CreateLmbcFormalParamInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dir_safe_cast_traits.def41 REGISTER_SAFE_CAST(MIRStructType, from.GetKind() == kTypeStruct ||
Dmir_type.h223 kTypeStruct, enumerator
919 return (typeKind == kTypeStruct) || (typeKind == kTypeStructIncomplete); in IsMIRStructType()
1622 typeKind = (typeKind == kTypeUnion) ? typeKind : kTypeStruct; in SetComplete()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
Dlmir_builder.cpp103 case MIRTypeKind::kTypeStruct: in LiteCGGetTypeKind()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dsimplify.cpp559 if (fieldType->GetKind() == kTypeUnion || fieldType->GetKind() == kTypeStruct) { in GetElementConstFromFieldId()

12