Home
last modified time | relevance | path

Searched refs:slowPath (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_collection_stub_builder.cpp28 …ollectionStubBuilder<CollectionType>::CheckCollectionObj(Label *thisCollectionObj, Label *slowPath) in CheckCollectionObj() argument
33 Branch(isJsCollectionObj, thisCollectionObj, slowPath); in CheckCollectionObj()
37 …uiltinsCollectionStubBuilder<CollectionType>::Clear(Variable *result, Label *exit, Label *slowPath) in Clear() argument
42 CheckCollectionObj(&thisCollectionObj, slowPath); in Clear()
66 …e void BuiltinsCollectionStubBuilder<JSMap>::Clear(Variable *result, Label *exit, Label *slowPath);
67 …e void BuiltinsCollectionStubBuilder<JSSet>::Clear(Variable *result, Label *exit, Label *slowPath);
71 Label *exit, Label *slowPath, GateRef kind) in CreateIterator() argument
77 CheckCollectionObj(&thisCollectionObj, slowPath); in CreateIterator()
90 …iltinsCollectionStubBuilder<CollectionType>::Values(Variable *result, Label *exit, Label *slowPath) in Values() argument
93 CreateIterator(result, exit, slowPath, kind); in Values()
[all …]
Dbuiltins_array_stub_builder.h34 Variable *result, Label *exit, Label *slowPath);
37 Variable *result, Label *exit, Label *slowPath);
40 Variable *result, Label *exit, Label *slowPath);
43 Variable *result, Label *exit, Label *slowPath);
46 Variable *result, Label *exit, Label *slowPath);
49 Variable *result, Label *exit, Label *slowPath);
52 Variable *result, Label *exit, Label *slowPath);
55 Variable *result, Label *exit, Label *slowPath);
58 Variable *result, Label *exit, Label *slowPath);
61 GateRef numArgs, Variable *result, Label *exit, Label *slowPath);
[all …]
Dbuiltins_collection_stub_builder.h32 void Clear(Variable *result, Label *exit, Label *slowPath);
33 void Values(Variable *result, Label *exit, Label *slowPath);
34 void Entries(Variable *result, Label *exit, Label *slowPath);
35 void Keys(Variable *result, Label *exit, Label *slowPath);
36 void ForEach(Variable *result, Label *exit, Label *slowPath);
37 void Set(Variable *result, Label *exit, Label *slowPath);
38 void Add(Variable *result, Label *exit, Label *slowPath);
39 void Delete(Variable *result, Label *exit, Label *slowPath);
40 void Has(Variable *result, Label *exit, Label *slowPath);
44 void CheckCollectionObj(Label *exit, Label *slowPath);
[all …]
Dbuiltins_stubs.cpp158 … Label slowPath(env); \
160 … stringStubBuilder.method(glue, thisValue, numArgs, &res, &exit, &slowPath); \
161 … Bind(&slowPath); \
186 Label slowPath(env); in DECLARE_BUILTINS() local
188 stringStubBuilder.LocaleCompare(glue, thisValue, numArgs, &res, &exit, &slowPath); in DECLARE_BUILTINS()
189 Bind(&slowPath); in DECLARE_BUILTINS()
209 Label slowPath(env); in DECLARE_BUILTINS() local
211 functionStubBuilder.Apply(glue, thisValue, numArgs, &res, &exit, &slowPath); in DECLARE_BUILTINS()
212 Bind(&slowPath); in DECLARE_BUILTINS()
228 …Label slowPath(env); …
[all …]
Dbuiltins_array_stub_builder.cpp30 Variable *result, Label *exit, Label *slowPath) in Concat() argument
35 Branch(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); in Concat()
37 Branch(IsJsArray(thisValue), &isJsArray, slowPath); in Concat()
41 Branch(HasConstructor(thisValue), slowPath, &isExtensible); in Concat()
45 Branch(Int64Equal(numArgs, IntPtr(1)), &numArgsOne, slowPath); in Concat()
53 Branch(BoolAnd(isThisEcmaObject, isArgEcmaObject), &allEcmaObject, slowPath); in Concat()
58 … Branch(BoolAnd(isThisStableJSArray, isArgStableJSArray), &allStableJsArray, slowPath); in Concat()
76 … Branch(Int64GreaterThan(sumArrayLen, maxArrayIndex), slowPath, &notOverFlow); in Concat()
82 Branch(BoolAnd(isSpreadable, argisSpreadable), &spreadable, slowPath); in Concat()
161 Variable *result, Label *exit, Label *slowPath) in Filter() argument
[all …]
Dcontainers_stub_builder.cpp22 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) in ContainersCommonFuncCall() argument
53 Branch(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath); in ContainersCommonFuncCall()
61 Jump(slowPath); in ContainersCommonFuncCall()
67 Jump(slowPath); in ContainersCommonFuncCall()
74 Branch(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); in ContainersCommonFuncCall()
78 Jump(slowPath); in ContainersCommonFuncCall()
139 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) in QueueCommonFuncCall() argument
171 Branch(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath); in QueueCommonFuncCall()
179 Jump(slowPath); in QueueCommonFuncCall()
185 Jump(slowPath); in QueueCommonFuncCall()
[all …]
Dbuiltins_number_stub_builder.cpp23 void BuiltinsNumberStubBuilder::ParseFloat(Variable *result, Label *exit, Label *slowPath) in ParseFloat() argument
39 Branch(TaggedIsHeapObject(msg), &heapObj, slowPath); in ParseFloat()
41 Branch(IsString(msg), &stringObj, slowPath); in ParseFloat()
Dbuiltins_object_stub_builder.h33 void ToString(Variable *result, Label *exit, Label *slowPath);
34 void Create(Variable *result, Label *exit, Label *slowPath);
35 void Assign(Variable *result, Label *exit, Label *slowPath);
36 void HasOwnProperty(Variable *result, Label *exit, Label *slowPath);
37 void Keys(Variable *result, Label *exit, Label *slowPath);
Dbuiltins_string_stub_builder.h35 …ode(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
36 …rAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
37 …eAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
38 …xOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
39 …ing(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
40 …ace(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath);
41 …rim(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath);
42 …ice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath);
43 …are(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath);
Dbuiltins_string_stub_builder.cpp23 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in FromCharCode() argument
44 Branch(Int64Equal(IntPtr(1), numArgs), &lengthIsOne, slowPath); in FromCharCode()
96 Variable* res, Label *exit, Label *slowPath) in CharAt() argument
116 Branch(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); in CharAt()
119 Branch(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); in CharAt()
121 Branch(IsString(thisValue), &isString, slowPath); in CharAt()
137 Branch(TaggedIsDouble(posTag), &posTagIsDouble, slowPath); in CharAt()
170 Variable* res, Label *exit, Label *slowPath) in CharCodeAt() argument
189 Branch(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); in CharCodeAt()
192 Branch(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); in CharCodeAt()
[all …]
Dcontainers_stub_builder.h62 Variable* result, Label *exit, Label *slowPath, ContainersType type);
65 Variable* result, Label *exit, Label *slowPath, ContainersType type);
68 Variable* result, Label *exit, Label *slowPath, ContainersType type);
71 Variable* result, Label *exit, Label *slowPath, ContainersType type);
74 Variable* result, Label *exit, Label *slowPath, ContainersType type);
77 Variable* result, Label *exit, Label *slowPath, ContainersType type);
Dbuiltins_function_stub_builder.cpp25 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in Apply() argument
33 Branch(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); in Apply()
36 Branch(IsCallable(thisValue), &targetIsCallable, slowPath); in Apply()
67 Jump(slowPath); in Apply()
Dbuiltins_function_stub_builder.h29 …ply(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
Dbuiltins_number_stub_builder.h31 void ParseFloat(Variable *result, Label *exit, Label *slowPath);
Dbuiltins_object_stub_builder.cpp169 void BuiltinsObjectStubBuilder::ToString(Variable *result, Label *exit, Label *slowPath) in ToString() argument
194 Branch(IsEcmaObject(thisValue_), &ecmaObj, slowPath); in ToString()
204 Branch(TaggedIsString(tag), slowPath, &defaultToString); in ToString()
209 Branch(IsJSObjectType(thisValue_, JSType::JS_OBJECT), &objectTag, slowPath); in ToString()
293 void BuiltinsObjectStubBuilder::Create(Variable *result, Label *exit, Label *slowPath) in Create() argument
302 …Or(BoolAnd(BoolNot(protoIsEcmaObj), BoolNot(protoIsNull)), protoIsJSShared), slowPath, &newObject); in Create()
307 Branch(TaggedIsUndefined(propertiesObject), &noProperties, slowPath); in Create()
666 void BuiltinsObjectStubBuilder::Assign(Variable *result, Label *exit, Label *slowPath) in Assign() argument
674 Branch(IsJSObjectType(target, JSType::JS_OBJECT), &jsObject, slowPath); in Assign()
707 Jump(slowPath); in Assign()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Daccess_object_stub_builder.cpp32 Label slowPath(env); in LoadObjByName() local
38 builder.LoadICByName(&result, &tryFastPath, &slowPath, &exit, callback); in LoadObjByName()
43 Branch(TaggedIsHole(*result), &slowPath, &exit); in LoadObjByName()
45 Bind(&slowPath); in LoadObjByName()
67 Label slowPath(env); in DeprecatedLoadObjByName() local
70 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); in DeprecatedLoadObjByName()
74 Branch(TaggedIsHole(*result), &slowPath, &exit); in DeprecatedLoadObjByName()
76 Bind(&slowPath); in DeprecatedLoadObjByName()
97 Label slowPath(env); in StoreObjByName() local
102 builder.StoreICByName(&result, &tryFastPath, &slowPath, &exit); in StoreObjByName()
[all …]
Dic_stub_builder.h47 void LoadICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success,
49 void StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success);
50 void LoadICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success,
52 void StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success);
53 … void TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success);
54 …void TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success);
58 void SetLabels(Label* tryFastPath, Label *slowPath, Label *success) in SetLabels() argument
61 slowPath_ = slowPath; in SetLabels()
Dic_stub_builder.cpp145 … Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByName() argument
150 SetLabels(tryFastPath, slowPath, success); in LoadICByName()
161 void ICStubBuilder::StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *suc… in StoreICByName() argument
166 SetLabels(tryFastPath, slowPath, success); in StoreICByName()
180 … Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByValue() argument
192 SetLabels(tryFastPath, slowPath, success); in LoadICByValue()
240 void ICStubBuilder::StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *su… in StoreICByValue() argument
245 SetLabels(tryFastPath, slowPath, success); in StoreICByValue()
264 void ICStubBuilder::TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, La… in TryLoadGlobalICByName() argument
269 SetLabels(tryFastPath, slowPath, success); in TryLoadGlobalICByName()
[all …]
Dtyped_array_stub_builder.cpp117 Label slowPath(env); in LoadTypedArrayElement() local
128 Branch(TaggedIsNumber(*result), &exit, &slowPath); in LoadTypedArrayElement()
130 Bind(&slowPath); in LoadTypedArrayElement()
180 Label slowPath(env); in FastGetPropertyByIndex() local
187 Jump(&slowPath); in FastGetPropertyByIndex()
197 Branch(TaggedIsNumber(*result), &exit, &slowPath); in FastGetPropertyByIndex()
200 Bind(&slowPath); in FastGetPropertyByIndex()
222 Label slowPath(env); in FastCopyElementToArray() local
232 Jump(&slowPath); in FastCopyElementToArray()
256 Bind(&slowPath); in FastCopyElementToArray()
[all …]
Doperations_stub_builder.cpp167 Label slowPath(env); in Less() local
186 Branch(TaggedIsNumber(left), &leftIsNumber, &slowPath); in Less()
190 Branch(TaggedIsNumber(right), &rightIsNumber, &slowPath); in Less()
252 Bind(&slowPath); in Less()
274 Label slowPath(env); in LessEq() local
293 Branch(TaggedIsNumber(left), &leftIsNumber, &slowPath); in LessEq()
297 Branch(TaggedIsNumber(right), &rightIsNumber, &slowPath); in LessEq()
359 Bind(&slowPath); in LessEq()
381 Label slowPath(env); in Greater() local
399 Branch(TaggedIsNumber(left), &leftIsNumber, &slowPath); in Greater()
[all …]
Dinterpreter_stub.cpp132 …Branch(Int32LessThan(*varHotnessCounter, Int32(0)), &slowPath, &dispatch); …
133 …Bind(&slowPath); …
339 Label slowPath(env); in DECLARE_ASM_HANDLER() local
345 Branch(TaggedIsException(*argumentsList), &slowPath, &newArgumentsObj); in DECLARE_ASM_HANDLER()
350 Branch(TaggedIsException(*argumentsObj), &slowPath, &checkException); in DECLARE_ASM_HANDLER()
352 Branch(HasPendingException(glue), &slowPath, &dispatch); in DECLARE_ASM_HANDLER()
359 Bind(&slowPath); in DECLARE_ASM_HANDLER()
377 Label slowPath(env); in DECLARE_ASM_HANDLER() local
406 Branch(HasPendingException(glue), &slowPath, &dispatch); in DECLARE_ASM_HANDLER()
413 Bind(&slowPath); in DECLARE_ASM_HANDLER()
[all …]
Dtyped_array_stub_builder.h41 Variable *result, Label *exit, Label *slowPath);
Dcommon_stubs.cpp882 Label slowPath(env); in GenerateCircuit() local
888 Branch(TaggedIsHeapObject(target), &isHeapObject, &slowPath); in GenerateCircuit()
891 Branch(IsJSFunction(target), &isJsFcuntion, &slowPath); in GenerateCircuit()
894 Branch(IsClassConstructor(target), &slowPath, &notCallConstructor); in GenerateCircuit()
911 &slowCall, &slowPath); in GenerateCircuit()
921 Bind(&slowPath); in GenerateCircuit()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dcodegen.cpp807 for (auto slowPath : slowPaths_) { in EmitSlowPaths() local
808 slowPath->Generate(this); in EmitSlowPaths()
1182 … auto slowPath = CreateSlowPath<SlowPathEntrypoint>(newObj, EntrypointId::CREATE_OBJECT_BY_CLASS); in CreateNewObjCallOld() local
1184 …CreateCheckForTLABWithConstSize(newObj, regTlabStart, regTlabSize, classSize, slowPath->GetLabel()… in CreateNewObjCallOld()
1200 slowPath->BindBackLabel(encoder); in CreateNewObjCallOld()
1237 SlowPathShared *slowPath; in CreateJumpToClassResolverPltShared() local
1240 slowPath = search->second; in CreateJumpToClassResolverPltShared()
1241 ASSERT(slowPath->GetTmpReg().GetId() == tmpReg.GetId()); in CreateJumpToClassResolverPltShared()
1243 slowPath = CreateSlowPath<SlowPathShared>(inst, id); in CreateJumpToClassResolverPltShared()
1244 slowPath->SetTmpReg(tmpReg); in CreateJumpToClassResolverPltShared()
[all …]
Dcodegen.h244 auto slowPath = GetLocalAllocator()->New<T>(label, inst, std::forward<Args>(args)...); in CreateSlowPath() local
245 slowPaths_.push_back(slowPath); in CreateSlowPath()
246 return slowPath; in CreateSlowPath()
444 LabelHolder::LabelId slowPath; in CreateUnaryCheck() local
446 slowPath = CreateSlowPath<SlowPathDeoptimize>(inst, type)->GetLabel(); in CreateUnaryCheck()
448 slowPath = CreateSlowPath<T>(inst, id)->GetLabel(); in CreateUnaryCheck()
452 GetEncoder()->EncodeJump(slowPath, src, cc); in CreateUnaryCheck()

12