/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.h | 99 JSTaggedValue secondValue, BCType type, uint32_t slotId); 101 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId); 103 JSHClass *hclass, JSTaggedValue &secondValue); 105 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId); 107 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId); 109 JSHClass *hclass, JSTaggedValue &secondValue); 111 JSHClass *hclass, JSTaggedValue &secondValue); 113 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId); 115 JSHClass *hclass, JSTaggedValue &secondValue); 120 JSTaggedValue secondValue, BCTyp [all...] |
H A D | jit_profiler.cpp | 450 JSTaggedValue secondValue = profileTypeInfo_->Get(slotId + 1); in ConvertICByName() local 452 ConvertICByNameWithHandler(abcId_, bcOffset, hclass, secondValue, type, slotId + 1); in ConvertICByName() 461 JSTaggedValue secondValue, BCType type, uint32_t slotId) in ConvertICByNameWithHandler() 464 HandleLoadType(abcId, bcOffset, hclass, secondValue, slotId); in ConvertICByNameWithHandler() 468 HandleOtherTypes(abcId, bcOffset, hclass, secondValue, slotId); in ConvertICByNameWithHandler() 472 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadType() 474 if (secondValue.IsInt()) { in HandleLoadType() 475 HandleLoadTypeInt(abcId, bcOffset, hclass, secondValue); in HandleLoadType() 476 } else if (secondValue.IsPrototypeHandler()) { in HandleLoadType() 477 HandleLoadTypePrototypeHandler(abcId, bcOffset, hclass, secondValue, slotI in HandleLoadType() 459 ConvertICByNameWithHandler(ApEntityId abcId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type, uint32_t slotId) ConvertICByNameWithHandler() argument 471 HandleLoadType(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleLoadType() argument 481 HandleLoadTypeInt(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleLoadTypeInt() argument 496 HandleLoadTypePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleLoadTypePrototypeHandler() argument 534 HandleOtherTypes(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleOtherTypes() argument 552 HandleTransitionHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransitionHandler() argument 563 HandleTransWithProtoHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransWithProtoHandler() argument 580 HandleOtherTypesPrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleOtherTypesPrototypeHandler() argument 607 HandleStoreTSHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleStoreTSHandler() argument 660 JSTaggedValue secondValue = profileTypeInfo_->Get(slotId + 1); ConvertICByValue() local 674 ConvertICByValueWithHandler(ApEntityId abcId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) ConvertICByValueWithHandler() argument 700 HandleStoreType(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleStoreType() argument 726 HandleTransition(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransition() argument 746 HandleTransWithProto(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransWithProto() argument 765 HandlePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandlePrototypeHandler() argument [all...] |
/arkcompiler/ets_runtime/test/moduletest/container/ |
H A D | container_treemap.js | 107 let cmmp = new fastmap((firstValue, secondValue) => {return firstValue > secondValue}); 122 let commap = new fastmap((firstValue, secondValue) => {return firstValue > secondValue}); 142 commap = new fastmap((firstValue, secondValue) => {return firstValue.id > secondValue.id}); 151 commap = new fastmap((firstValue, secondValue) => {return firstValue < secondValue});
|
H A D | container_treeset.js | 102 let cmmp = new fastset((firstValue, secondValue) => {return firstValue > secondValue}); 112 let comset = new fastset((firstValue, secondValue) => {return firstValue < secondValue}); 134 comset = new fastset((firstValue, secondValue) => {return firstValue.id < secondValue.id}); 143 comset = new fastset((firstValue, secondValue) => {return firstValue > secondValue});
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ic_stub_builder.cpp | 41 GateRef secondValue = GetValueFromTaggedArray(profileTypeInfo_, Int32Add(slotId_, Int32(1))); in NamedICAccessor() local 42 cachedHandler->WriteVariable(secondValue); in NamedICAccessor() 71 GateRef secondValue = GetValueFromTaggedArray(profileTypeInfo_, Int32Add(slotId_, Int32(1))); in NamedICAccessor() local 72 cachedHandler->WriteVariable(secondValue); in NamedICAccessor() 174 GateRef secondValue = GetValueFromTaggedArray( in StoreICByName() local 176 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in StoreICByName() 200 GateRef secondValue = GetValueFromTaggedArray( in LoadICByValue() local 202 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in LoadICByValue() 203 DEFVARIABLE(ret, VariableType::JS_ANY(), secondValue); in LoadICByValue() 253 GateRef secondValue in StoreICByValue() local [all...] |
H A D | common_stubs.cpp | 691 GateRef secondValue = TaggedArgument(3); /* 3 : 4th parameter is value */ in GenerateCircuit() local 707 Return(LoadICWithHandler(glue, receiver, receiver, secondValue, ProfileOperation())); in GenerateCircuit() 732 GateRef secondValue = TaggedArgument(4); /* 4 : 5th parameter is value */ in GenerateCircuit() local 754 auto cachedHandler = CheckPolyHClass(secondValue, hclass); in GenerateCircuit() 771 GateRef secondValue = TaggedArgument(3); /* 3 : 4th parameter is value */ in GenerateCircuit() local 787 Return(StoreICWithHandler(glue, receiver, receiver, value, secondValue)); in GenerateCircuit() 810 GateRef secondValue = TaggedArgument(4); /* 4 : 5th parameter is value */ in GenerateCircuit() local 826 Return(ICStoreElement(glue, receiver, key, value, secondValue)); in GenerateCircuit() 832 GateRef cachedHandler = CheckPolyHClass(secondValue, hclass); in GenerateCircuit()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime_stub.h | 35 JSTaggedValue firstValue, JSTaggedValue secondValue); 37 JSTaggedValue firstValue, JSTaggedValue secondValue, 64 JSTaggedValue firstValue, JSTaggedValue secondValue); 68 JSTaggedValue firstValue, JSTaggedValue secondValue,
|
H A D | ic_runtime_stub-inl.h | 88 JSTaggedValue firstValue, JSTaggedValue secondValue) in TryLoadICByName() 94 return LoadICWithHandler(thread, receiver, receiver, secondValue); in TryLoadICByName() 104 return LoadICWithHandler(thread, receiver, receiver, secondValue); in TryLoadICByName() 118 JSTaggedValue firstValue, JSTaggedValue secondValue) in TryLoadICByValue() 124 if (HandlerBase::IsNormalElement(secondValue.GetNumber())) { in TryLoadICByValue() 126 } else if (HandlerBase::IsTypedArrayElement(secondValue.GetNumber())) { in TryLoadICByValue() 129 ASSERT(HandlerBase::IsStringElement(secondValue.GetNumber())); in TryLoadICByValue() 133 if (secondValue.IsHole() && !firstValue.IsHole()) { in TryLoadICByValue() 139 JSTaggedValue cachedHandler = CheckPolyHClass(secondValue, hclass); in TryLoadICByValue() 157 JSTaggedValue secondValue, JSTaggedValu in TryStoreICByValue() 87 TryLoadICByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue firstValue, JSTaggedValue secondValue) TryLoadICByName() argument 117 TryLoadICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue) TryLoadICByValue() argument 155 TryStoreICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByValue() argument 193 TryStoreICByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByName() argument [all...] |
H A D | invoke_cache.h | 37 static JSTaggedValue Construct(JSThread *thread, JSTaggedValue firstValue, JSTaggedValue secondValue,
|
H A D | invoke_cache.cpp | 80 JSTaggedValue InvokeCache::Construct(JSThread *thread, JSTaggedValue firstValue, JSTaggedValue secondValue, in Construct() argument 96 instanceHClass = JSHandle<JSHClass>(thread, JSHClass::Cast(secondValue.GetTaggedObject())); in Construct()
|
H A D | profile_type_info.h | 330 uint32_t secondIdx, const JSTaggedValue& secondValue) 336 TaggedArray::Set(thread, secondIdx, secondValue);
|
/arkcompiler/ets_runtime/test/fuzztest/setrefgetvalue_fuzzer/ |
H A D | setrefgetvalue_fuzzer.cpp | 55 JSHandle<JSTaggedValue> secondValue(factory->NewFromASCII("vlue2")); in SetRefGetValueFuzztest() 56 JSSet::Add(vm->GetJSThread(), jsSet, secondValue); in SetRefGetValueFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 981 JSTaggedValue secondValue = profileTypeInfo->Get(slotId + 1); in DumpICByName() local 983 DumpICByNameWithHandler(abcId, recordName, methodId, bcOffset, hclass, secondValue, type); in DumpICByName() 1004 JSTaggedValue secondValue = profileTypeInfo->Get(slotId + 1); in DumpICByValue() local 1006 DumpICByValueWithHandler(abcId, recordName, methodId, bcOffset, hclass, secondValue, type); in DumpICByValue() 1070 int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) in DumpICByNameWithHandler() 1074 return DumpICLoadByNameWithHandler(abcId, recordName, methodId, bcOffset, hclass, secondValue); in DumpICByNameWithHandler() 1077 if (secondValue.IsInt()) { in DumpICByNameWithHandler() 1079 } else if (secondValue.IsTransitionHandler()) { in DumpICByNameWithHandler() 1080 auto transitionHandler = TransitionHandler::Cast(secondValue.GetTaggedObject()); in DumpICByNameWithHandler() 1086 } else if (secondValue in DumpICByNameWithHandler() 1069 DumpICByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) DumpICByNameWithHandler() argument 1122 DumpICLoadByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue) DumpICLoadByNameWithHandler() argument 1164 DumpICByValueWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) DumpICByValueWithHandler() argument [all...] |
H A D | pgo_profiler.h | 174 JSHClass *hclass, JSTaggedValue secondValue, BCType type); 176 JSHClass *hclass, JSTaggedValue secondValue); 178 JSHClass *hclass, JSTaggedValue secondValue, BCType type);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | analysis.cpp | 170 Inst *InstStoredValue(Inst *inst, Inst **secondValue) in InstStoredValue() argument 176 *secondValue = nullptr; in InstStoredValue() 199 *secondValue = inst->GetDataFlowInput(secondInst); in InstStoredValue() 205 *secondValue = inst->GetDataFlowInput(secondInst); in InstStoredValue() 224 Inst *secondValue = nullptr; in InstStoredValue() local 225 Inst *val = InstStoredValue(inst, &secondValue); in InstStoredValue() 226 ASSERT(secondValue == nullptr); in InstStoredValue()
|
H A D | analysis.h | 29 Inst *InstStoredValue(Inst *inst, Inst **secondValue);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | typed_array_helper.cpp | 1105 const JSHandle<JSTaggedValue> &secondValue) in SortCompare() 1109 ASSERT((firstValue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare() 1122 info->SetCallArg(firstValue.GetTaggedValue(), secondValue.GetTaggedValue()); in SortCompare() 1145 if (NumberHelper::IsNaN(secondValue.GetTaggedValue())) { in SortCompare() 1152 if (NumberHelper::IsNaN(secondValue.GetTaggedValue())) { in SortCompare() 1155 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() 1169 JSTaggedNumber yNumber = JSTaggedValue::ToNumber(thread, secondValue); in SortCompare() 1182 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() 1103 SortCompare(JSThread *thread, const JSHandle<JSTaggedValue> &callbackfnHandle, const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue, const JSHandle<JSTaggedValue> &secondValue) SortCompare() argument
|
H A D | typed_array_helper.h | 101 const JSHandle<JSTaggedValue> &secondValue);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
H A D | target.h | 425 void MakeLibCall(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue = false); 463 void MakeLibCallWithFloatResult(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue); 464 void MakeLibCallWithDoubleResult(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue); 465 void MakeLibCallWithInt64Result(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue);
|
H A D | encode.cpp | 1833 void Aarch32Encoder::MakeLibCall(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue) in MakeLibCall() argument 1836 MakeLibCallWithFloatResult(dst, src0, src1, entryPoint, secondValue); in MakeLibCall() 1841 MakeLibCallWithDoubleResult(dst, src0, src1, entryPoint, secondValue); in MakeLibCall() 1846 MakeLibCallWithInt64Result(dst, src0, src1, entryPoint, secondValue); in MakeLibCall() 1865 auto dstRegister = secondValue ? vixl::aarch32::r1 : vixl::aarch32::r0; in MakeLibCall() 1876 void Aarch32Encoder::MakeLibCallWithFloatResult(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue) in MakeLibCallWithFloatResult() argument 1893 auto dstRegister = secondValue ? vixl::aarch32::s1 : vixl::aarch32::s0; in MakeLibCallWithFloatResult() 1909 auto dstRegister = secondValue ? vixl::aarch32::r1 : vixl::aarch32::r0; in MakeLibCallWithFloatResult() 1914 void Aarch32Encoder::MakeLibCallWithDoubleResult(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue) in MakeLibCallWithDoubleResult() argument 1928 auto dstRegister = secondValue in MakeLibCallWithDoubleResult() 1953 MakeLibCallWithInt64Result(Reg dst, Reg src0, Reg src1, void *entryPoint, bool secondValue) MakeLibCallWithInt64Result() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter-inl.cpp | 2238 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); in RunInternal() local 2239 instOfHandler = ICRuntimeStub::TryLoadICByName(thread, target, firstValue, secondValue); in RunInternal() 2560 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); in RunInternal() local 2561 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); in RunInternal() 2623 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); in RunInternal() local 2624 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); in RunInternal() 2941 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); in RunInternal() local 2942 res = ICRuntimeStub::TryStoreICByName(thread, receiver, firstValue, secondValue, value); in RunInternal() 3015 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); in RunInternal() local 3016 res = ICRuntimeStub::TryStoreICByName(thread, receiver, firstValue, secondValue, valu in RunInternal() 5425 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 5480 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 5793 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 5850 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 6325 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 6387 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 6935 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 6988 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7045 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7107 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7161 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7219 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7279 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local 7351 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); RunInternal() local [all...] |
H A D | interpreter_assembly.cpp | 2272 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); 2273 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); 2591 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); 2592 res = ICRuntimeStub::TryStoreICByName(thread, receiver, firstValue, secondValue, value); 3107 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); 3108 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); 5354 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); 5355 res = ICRuntimeStub::TryStoreICByName(thread, receiver, firstValue, secondValue, value); 5426 JSTaggedValue secondValue = profileTypeArray->Get(slotId + 1); 5427 res = ICRuntimeStub::TryLoadICByName(thread, receiver, firstValue, secondValue); [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | codegen.cpp | 1939 Inst *secondValue; in CreatePostWRB() local 1940 Inst *val = InstStoredValue(inst, &secondValue); in CreatePostWRB() 1941 ASSERT(secondValue == nullptr || reg2 != INVALID_REGISTER); in CreatePostWRB() 1944 if (secondValue == nullptr || secondValue->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB() 1951 pwb.Encode(secondMem, reg2, INVALID_REGISTER, !IsInstNotNull(secondValue), preserved); in CreatePostWRB() 1957 pwb.Encode(mem, reg2, INVALID_REGISTER, !IsInstNotNull(secondValue), preserved); in CreatePostWRB() 1961 if (secondValue != nullptr && secondValue->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB() 1970 if (IsInstNotNull(val) && IsInstNotNull(secondValue)) { in CreatePostWRB() [all...] |
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 141 JSMutableHandle<JSTaggedValue> secondValue(thread, JSTaggedValue::Undefined()); in ExtractAndReturnWhetherWithElements() 144 secondValue.Update(literal->Get(index + 1)); in ExtractAndReturnWhetherWithElements() 149 properties->Set(thread, NAME_INDEX, secondValue); in ExtractAndReturnWhetherWithElements() 162 elements->Set(thread, elementsLength + 1, secondValue); in ExtractAndReturnWhetherWithElements() 169 properties->Set(thread, pos, secondValue); in ExtractAndReturnWhetherWithElements()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | ecma_test_common.h | 387 JSHandle<JSTaggedValue> secondValue(factory->NewFromASCII(timeOptionsMap["second"].c_str())); in SetTimeOptionsTest() 394 JSObject::SetProperty(thread, optionsObj, secondKey, secondValue); in SetTimeOptionsTest()
|