/arkcompiler/ets_runtime/ecmascript/ |
H A D | tagged_array.cpp | 122 void TaggedArray::InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t length, uint32_t extraLength) in InitializeWithSpecialValue() argument 126 FillRangeWithSpecialValue(initValue, 0, length); in InitializeWithSpecialValue() 129 void TaggedArray::FillRangeWithSpecialValue(JSTaggedValue initValue, uint32_t start, uint32_t end) in FillRangeWithSpecialValue() argument 131 ASSERT(initValue.IsSpecial()); in FillRangeWithSpecialValue() 134 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in FillRangeWithSpecialValue() 223 void MutantTaggedArray::InitializeWithSpecialValue(JSTaggedType initValue, uint32_t length, uint32_t extraLength) in InitializeWithSpecialValue() argument 230 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue); in InitializeWithSpecialValue() local
|
H A D | tagged_array.h | 88 void InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t length, uint32_t extraLength = 0); 89 void FillRangeWithSpecialValue(JSTaggedValue initValue, uint32_t start, uint32_t end); 127 void InitializeWithSpecialValue(JSTaggedType initValue, uint32_t length, uint32_t extraLength = 0);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | countable_loop_parser.cpp | 152 uint64_t initValue = loopInfo.init->CastToConstant()->GetInt64Value(); in GetLoopIterations() local 174 std::swap(initValue, testValue); in GetLoopIterations() 176 if (static_cast<int64_t>(initValue) > static_cast<int64_t>(testValue)) { in GetLoopIterations() 179 uint64_t diff = testValue - initValue; in GetLoopIterations()
|
/arkcompiler/runtime_core/static_core/runtime/coretypes/ |
H A D | array.cpp | 109 TaggedValue initValue) in CreateTagged() 119 array->Set<TaggedType, false, true>(i, initValue.GetRawData()); in CreateTagged() 108 CreateTagged(const PandaVM *vm, ark::BaseClass *arrayClass, ArraySizeT length, ark::SpaceType spaceType, TaggedValue initValue) CreateTagged() argument
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | profile_type_info.h | 174 inline void SetPrimitiveOfSlot(JSTaggedValue initValue, uint32_t icSlotSize) in SetPrimitiveOfSlot() argument 181 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in SetPrimitiveOfSlot() 214 inline void InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t icSlotSize, uint32_t extraLength = 0) in InitializeWithSpecialValue() argument 216 ASSERT(initValue.IsSpecial()); in InitializeWithSpecialValue() 220 SetPrimitiveOfSlot(initValue, icSlotSize); in InitializeWithSpecialValue()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
H A D | emitter.cpp | 360 const ir::Expression *initValue) in CreateAnnotationElement() 362 if (initValue->IsArrayExpression() || initValue->IsNewExpression()) { in CreateAnnotationElement() 364 auto litArrays = Emitter::CreateLiteralArray(initValue, baseName); in CreateAnnotationElement() 372 } else if (initValue->IsNumberLiteral()) { in CreateAnnotationElement() 375 initValue->AsNumberLiteral()->Number()))}; in CreateAnnotationElement() 376 } else if (initValue->IsBooleanLiteral()) { in CreateAnnotationElement() 379 initValue->AsBooleanLiteral()->Value()))}; in CreateAnnotationElement() 380 } else if (initValue->IsStringLiteral()) { in CreateAnnotationElement() 381 std::string_view stringValue {initValue in CreateAnnotationElement() 359 CreateAnnotationElement(const std::string &propName, const ir::Expression *initValue) CreateAnnotationElement() argument 434 const ir::Expression *initValue = prop->AsProperty()->Value(); CreateAnnotation() local [all...] |
H A D | emitter.h | 99 pandasm::AnnotationElement CreateAnnotationElement(const std::string &propName, const ir::Expression *initValue);
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_stubs.cpp | 244 #define DECLARE_BUILTINS_STUB_BUILDER(method, type, initValue) \
248 DEFVARIABLE(res, VariableType::JS_ANY(), initValue); \
262 #define DECLARE_BUILTINS_STUB_BUILDER1(method, type, initValue) \
266 DEFVARIABLE(res, VariableType::JS_ANY(), initValue); \
350 #define DECLARE_AOT_AND_BUILTINS_STUB_BUILDER(stubName, method, type, initValue) \
354 DEFVARIABLE(res, VariableType::JS_ANY(), initValue); \
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | aot_file_manager.h | 86 void InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t capacity,
|
H A D | aot_file_manager.cpp | 35 void AOTLiteralInfo::InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t capacity, uint32_t extraLength) in InitializeWithSpecialValue() argument 37 TaggedArray::InitializeWithSpecialValue(initValue, capacity + RESERVED_LENGTH, extraLength); in InitializeWithSpecialValue()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | program_object.h | 321 void InitializeWithSpecialValue(JSThread *thread, JSTaggedValue initValue, in InitializeWithSpecialValue() argument 324 ASSERT(initValue.IsSpecial()); in InitializeWithSpecialValue() 329 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in InitializeWithSpecialValue()
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
H A D | array.h | 72 TaggedValue initValue = TaggedValue::Undefined());
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
H A D | snapshot_constantpool_data.cpp | 256 int initValue = static_cast<int>(AOTLiteralInfo::NO_FUNC_ENTRY_VALUE); in StoreDataToGlobalData() local 257 aotLiteralInfo->SetObjectToCache(thread_, 0, JSTaggedValue(initValue)); in StoreDataToGlobalData()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_shared_array.cpp | 336 JSHandle<JSTaggedValue> initValue = GetCallArg(argv, 1); in Create() local 337 if (!initValue->IsSharedType()) { in Create() 359 elements->Set(thread, k, initValue); in Create() 2505 JSHandle<JSTaggedValue> initValue = GetCallArg(argv, 1); in ExtendTo() local 2506 if (!initValue->IsSharedType()) { in ExtendTo() 2513 JSObject::CreateDataPropertyOrThrow(thread, thisObjHandle, key, initValue, SCheckMode::SKIP); in ExtendTo()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | new_object_stub_builder.cpp | 401 DEFVARIABLE(initValue, VariableType::JS_ANY(), Undefined());
in NewJSObject() 409 initValue = Hole();
in NewJSObject() 415 result->ReadVariable(), *initValue, Int32(JSObject::SIZE), ChangeIntPtrToInt32(size_),
in NewJSObject() 443 DEFVARIABLE(initValue, VariableType::JS_ANY(), Undefined());
in NewSObject() 451 initValue = Hole();
in NewSObject() 457 result->ReadVariable(), *initValue, Int32(JSObject::SIZE), ChangeIntPtrToInt32(size_),
in NewSObject() 548 DEFVARIABLE(initValue, VariableType::JS_ANY(), Undefined());
in NewJSObject() 551 result->ReadVariable(), *initValue, Int32(JSObject::SIZE), ChangeIntPtrToInt32(size_),
in NewJSObject()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode_visitor.cpp | 1114 int64_t initValue = runtime->GetClassInitializedValue(); in VisitInitClass() local 1119 encoder->EncodeJump(slowPath->GetLabel(), tmpI8, Imm(initValue), Condition::NE); in VisitInitClass() 1277 int64_t initValue = runtime->GetClassInitializedValue(); in VisitLoadAndInitClass() local 1280 encoder->EncodeJump(slowPath->GetLabel(), stateReg, Imm(initValue), Condition::NE); in VisitLoadAndInitClass()
|