| /arkcompiler/ets_runtime/test/aottest/early_elimination/ |
| D | MayAccessOneMemory.ts | 16 let arraySize: number = 3 variable 20 res[i % arraySize] = arr[i % 3]; 21 res[i % arraySize] = arr[i % 3]; 26 res[i % arraySize] = arr2[i % 3]; 27 res[i % arraySize] = arr2[i % 3];
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | property_accessor.cpp | 127 uint32_t arraySize = keyLength_ + EnumCache::ENUM_CACHE_HEADER_SIZE; in InitSimplePropertiesEnumCache() local 128 … JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() 202 uint32_t arraySize = keyLength_ + EnumCache::ENUM_CACHE_HEADER_SIZE; in GetKeysFast() local 203 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(arraySize); in GetKeysFast() 277 uint32_t arraySize = keyLength_ + EnumCache::ENUM_CACHE_HEADER_SIZE; in MergeRemainings() local 278 JSHandle<TaggedArray> keyArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in MergeRemainings()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_abi.cpp | 168 PrimType IsVectorArrayType(MIRType *ty, uint32 &arraySize) in IsVectorArrayType() argument 178 arraySize = arrayTy->GetSizeArrayItem(0); in IsVectorArrayType() 179 if (arrayTy->GetDim() == k1BitSize && arraySize <= static_cast<int32>(k4BitSize) && in IsVectorArrayType()
|
| D | aarch64_schedule.cpp | 497 void AArch64Schedule::CountUnitKind(const DepNode &depNode, uint32 array[], const uint32 arraySize)… in CountUnitKind() 499 (void)arraySize; in CountUnitKind() 500 DEBUG_ASSERT(arraySize >= kUnitKindLast, "CG internal error. unit kind number is not correct."); in CountUnitKind()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | global_dictionary_test.cpp | 237 int arraySize = numberofElements + static_cast<int>(offset); in HWTEST_F_L0() local 238 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(arraySize); in HWTEST_F_L0() 246 JSHandle<EcmaString> resultLastKey(thread, keyArray->Get(arraySize - 1)); in HWTEST_F_L0() 285 uint32_t arraySize = static_cast<uint32_t>(numberofElements) + offset; in HWTEST_F_L0() local 286 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(arraySize); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
| D | x64_abi.h | 44 PrimType IsVectorArrayType(MIRType *ty, uint32 &arraySize);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_abi.h | 49 PrimType IsVectorArrayType(MIRType *ty, uint32 &arraySize);
|
| D | aarch64_schedule.h | 302 … void CountUnitKind(const DepNode &depNode, uint32 array[], const uint32 arraySize) const override;
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | const_array_resolver.cpp | 214 auto arraySize = (*arraySizeInst)->CastToConstant()->GetIntValue(); in FindConstantArrays() local 215 if (arraySize < MIN_ARRAY_ELEMENTS_AMOUNT) { in FindConstantArrays() 221 auto rawLiteralArray = FillLiteralArray(newArrayInst, arraySize); in FindConstantArrays()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | ntype_bytecode_lowering.cpp | 202 uint32_t arraySize = acc_.GetArraySize(receiver); in LowerNTypedStownByIndex() local 203 if (indexValue > arraySize) { in LowerNTypedStownByIndex() 206 acc_.SetArraySize(receiver, std::max(arraySize, indexValue + 1)); in LowerNTypedStownByIndex()
|
| D | new_object_stub_builder.h | 72 GateRef arraySize);
|
| D | ntype_hcr_lowering.cpp | 151 size_t arraySize = arrayHC->GetObjectSize(); in NewJSArrayLiteral() local 161 …for (size_t offset = JSArray::SIZE; offset < arraySize; offset += JSTaggedValue::TaggedTypeSize())… in NewJSArrayLiteral()
|
| D | hcr_circuit_builder.cpp | 408 GateRef CircuitBuilder::CreateArray(ElementsKind kind, uint32_t arraySize, GateRef elementsLength) in CreateArray() argument 413 ArrayMetaDataAccessor accessor(kind, ArrayMetaDataAccessor::Mode::CREATE, arraySize); in CreateArray()
|
| D | new_object_stub_builder.cpp | 866 RegionSpaceFlag spaceFlag, GateRef arraySize) in NewTrackInfo() argument 886 Store(VariableType::INT32(), glue, *result, arrayLengthOffset, arraySize); in NewTrackInfo()
|
| D | circuit_builder.h | 341 GateRef CreateArray(ElementsKind kind, uint32_t arraySize, GateRef elementsLength);
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 976 auto arraySize = litArray.literals.size(); in BuildUnfoldLoadConstStringArray() local 977 for (size_t i = 0; i < arraySize; i++) { in BuildUnfoldLoadConstStringArray() 997 auto arraySize = litArray.literals.size(); in BuildUnfoldLoadConstArray() local 1001 auto sizeInst = graph_->FindOrCreateConstant(arraySize); in BuildUnfoldLoadConstArray() 1014 if (arraySize > g_options.GetCompilerUnfoldConstArrayMaxSize()) { in BuildUnfoldLoadConstArray() 1018 … bcInst->GetId(0).AsFileId().GetOffset(), method, arraySize); in BuildUnfoldLoadConstArray() 1027 for (size_t i = 0; i < arraySize; i++) { in BuildUnfoldLoadConstArray() 1055 auto arraySize = litArray.literals.size(); in BuildLoadConstStringArray() local 1056 ASSERT(arraySize > 0); in BuildLoadConstStringArray() 1057 if (arraySize > g_options.GetCompilerUnfoldConstArrayMaxSize()) { in BuildLoadConstStringArray()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | emit.h | 384 arraySize(0), in Emitter() 414 uint32 arraySize; variable
|
| D | schedule.h | 162 …virtual void CountUnitKind(const DepNode &depNode, uint32 array[], const uint32 arraySize) const =…
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | g1gc_test.cpp | 715 size_t arraySize = DEFAULT_REGION_SIZE / 2; in TEST_F() local 717 size_t arrayLength = arraySize / elemSize + 1; in TEST_F() 952 size_t arraySize = DEFAULT_REGION_SIZE / 2; in TEST_F() local 953 size_t arrayLength = arraySize / elemSize + 1; in TEST_F() 1085 size_t arraySize = GetObjectSize(array.GetPtr()); in TEST_F() local 1111 ASSERT_EQ(arraySize + strSize, region->GetLiveBytes()); in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | emit.cpp | 399 arraySize); in EmitAsmLabel() 478 arraySize); in EmitAsmLabel() 686 arraySize += static_cast<uint32>(len) + 1; in EmitStrConstant() 739 arraySize += (sizeInBits / kBitsPerByte); in EmitScalarConstant() 748 arraySize += k4ByteFloatSize; in EmitScalarConstant() 757 arraySize += k8ByteDoubleSize; in EmitScalarConstant() 1793 arraySize = 0; in EmitStructConstant()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 2916 auto arraySize = inst->CastToFillConstArray()->GetImm() << DataType::ShiftByType(type, arch); in VisitFillConstArray() local 2921 ASSERT(arraySize != 0); in VisitFillConstArray() 2939 enc->GetCodegen()->FillCallParams(arrayReg, methodReg, TypedImm(arraySize)); in VisitFillConstArray() 2949 enc->GetCodegen()->FillCallParams(arrayReg, TypedImm(data), TypedImm(arraySize)); in VisitFillConstArray() 2997 uint64_t arraySize = 0; in VisitNewArray() local 3002 arraySize = lenInst->CastToConstant()->GetIntValue() * elementSize + classArraySize; in VisitNewArray() 3003 … arraySize = (arraySize & ~(alignment - 1U)) + ((arraySize % alignment) != 0U ? alignment : 0U); in VisitNewArray() 3004 if (arraySize > maxTlabSize) { in VisitNewArray()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | peepholes.cpp | 1340 … auto arraySize = input->GetDataFlowInput(input->GetInput(NewArrayInst::INDEX_SIZE).GetInst()); in VisitLenArray() local 1342 if (SkipThisPeepholeInOSR(inst, arraySize)) { in VisitLenArray() 1345 inst->ReplaceUsers(arraySize); in VisitLenArray()
|