/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | profiler_stub_builder.h | 90 void PGOProfiler(GateRef glue, GateRef pc, GateRef func, GateRef profileTypeInfo, 93 void PGOProfiler(GateRef glue, GateRef func, GateRef profileTypeInfo, GateRef slotIdOrOffset, 96 void TryDump(GateRef glue, GateRef func, GateRef profileTypeInfo); 97 void TryPreDump(GateRef glue, GateRef func, GateRef profileTypeInfo); 100 GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef target, GateRef profileTypeInfo); 102 GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef target, GateRef profileTypeInfo); 105 GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef profileTypeInfo, GateRef type); 107 GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef constructor, GateRef profileTypeInfo); 109 GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef newObj, GateRef profileTypeInfo); 110 void ProfileBranch(GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef profileTypeInfo, boo [all...] |
H A D | profiler_stub_builder.cpp | 29 void ProfilerStubBuilder::PGOProfiler(GateRef glue, GateRef pc, GateRef func, GateRef profileTypeInfo, in PGOProfiler() argument 36 PGOProfiler(glue, func, profileTypeInfo, slotIdInfo, values, type); in PGOProfiler() 39 PGOProfiler(glue, func, profileTypeInfo, slotIdInfo, values, type); in PGOProfiler() 43 void ProfilerStubBuilder::PGOProfiler(GateRef glue, GateRef func, GateRef profileTypeInfo, in PGOProfiler() argument 47 PGOProfiler(glue, func, profileTypeInfo, slotIdInfo, values, type); in PGOProfiler() 50 void ProfilerStubBuilder::TryDump(GateRef glue, GateRef func, GateRef profileTypeInfo) in TryDump() argument 60 BRANCH(IsProfileTypeInfoWithBigMethod(profileTypeInfo), &exit, &needDump); in TryDump() 62 BRANCH(IsProfileTypeInfoDumped(profileTypeInfo), &exit, &updatePeriodCounter); in TryDump() 65 SetDumpPeriodIndex(glue, profileTypeInfo); in TryDump() 73 void ProfilerStubBuilder::TryPreDump(GateRef glue, GateRef func, GateRef profileTypeInfo) in TryPreDump() argument 90 ProfileOpType( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef profileTypeInfo, GateRef type) ProfileOpType() argument 128 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, *curTaggedSlotValue); ProfileOpType() local 137 ProfileDefineClass( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef constructor, GateRef profileTypeInfo) ProfileDefineClass() argument 176 ProfileCreateObject( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef newObj, GateRef profileTypeInfo) ProfileCreateObject() argument 219 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, weakCtor); ProfileCreateObject() local 228 ProfileCall( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef target, GateRef profileTypeInfo) ProfileCall() argument 289 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, nonType); ProfileCall() local 302 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, target); ProfileCall() local 360 ProfileNativeCall( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef target, GateRef profileTypeInfo) ProfileNativeCall() argument 399 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(invalidId)); ProfileNativeCall() local 406 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(newId)); ProfileNativeCall() local 415 IsProfileTypeInfoDumped(GateRef profileTypeInfo, ProfileOperation callback) IsProfileTypeInfoDumped() argument 558 ProfileBranch( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef profileTypeInfo, bool isTrue) ProfileBranch() argument 621 VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(newSlotValue)); ProfileBranch() local 637 TryPreDumpInner(GateRef glue, GateRef func, GateRef profileTypeInfo) TryPreDumpInner() argument 728 ProfileGetIterator( GateRef glue, SlotIDInfo slotInfo, GateRef func, GateRef iterator, GateRef profileTypeInfo) ProfileGetIterator() argument 767 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(invalidKind)); ProfileGetIterator() local 774 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(newIterKind)); ProfileGetIterator() local 808 GetBitFieldOffsetFromProfileTypeInfo(GateRef profileTypeInfo) GetBitFieldOffsetFromProfileTypeInfo() argument 816 IsProfileTypeInfoDumped(GateRef profileTypeInfo) IsProfileTypeInfoDumped() argument 823 IsProfileTypeInfoPreDumped(GateRef profileTypeInfo) IsProfileTypeInfoPreDumped() argument 830 IsProfileTypeInfoWithBigMethod(GateRef profileTypeInfo) IsProfileTypeInfoWithBigMethod() argument 837 IsProfileTypeInfoHotAndValid(GateRef profileTypeInfo) IsProfileTypeInfoHotAndValid() argument 865 SetDumpPeriodIndex(GateRef glue, GateRef profileTypeInfo) SetDumpPeriodIndex() argument 869 Store(VariableType::INT32(), glue, profileTypeInfo, periodCounterOffset, newCount); SetDumpPeriodIndex() local 872 SetPreDumpPeriodIndex(GateRef glue, GateRef profileTypeInfo) SetPreDumpPeriodIndex() argument 876 Store(VariableType::INT32(), glue, profileTypeInfo, periodCounterOffset, newCount); SetPreDumpPeriodIndex() local 879 IsCompiledOrTryCompile(GateRef glue, GateRef func, GateRef profileTypeInfo, ProfileOperation callback) IsCompiledOrTryCompile() argument 888 GetJitHotnessThresholdOffset(GateRef profileTypeInfo) GetJitHotnessThresholdOffset() argument 895 GetJitHotnessCntOffset(GateRef profileTypeInfo) GetJitHotnessCntOffset() argument 901 SetJitHotnessCnt(GateRef glue, GateRef profileTypeInfo, GateRef hotnessCnt) SetJitHotnessCnt() argument 904 Store(VariableType::INT16(), glue, profileTypeInfo, hotnessCntOffset, hotnessCnt); SetJitHotnessCnt() local 907 GetJitHotnessCnt(GateRef profileTypeInfo) GetJitHotnessCnt() argument 914 GetJitHotnessThreshold(GateRef profileTypeInfo) GetJitHotnessThreshold() argument 921 GetJitCallThresholdOffset(GateRef profileTypeInfo) GetJitCallThresholdOffset() argument 928 GetJitCallThreshold(GateRef profileTypeInfo) GetJitCallThreshold() argument 935 GetJitCallCntOffset(GateRef profileTypeInfo) GetJitCallCntOffset() argument 941 GetJitCallCnt(GateRef profileTypeInfo) GetJitCallCnt() argument 948 GetOsrHotnessThresholdOffset(GateRef profileTypeInfo) GetOsrHotnessThresholdOffset() argument 955 GetOsrHotnessThreshold(GateRef profileTypeInfo) GetOsrHotnessThreshold() argument 962 GetBaselineJitHotnessThresholdOffset(GateRef profileTypeInfo) GetBaselineJitHotnessThresholdOffset() argument 969 GetBaselineJitHotnessThreshold(GateRef profileTypeInfo) GetBaselineJitHotnessThreshold() argument 976 GetOsrHotnessCntOffset(GateRef profileTypeInfo) GetOsrHotnessCntOffset() argument 982 GetOsrHotnessCnt(GateRef profileTypeInfo) GetOsrHotnessCnt() argument 989 IsCompiledOrTryCompile(GateRef glue, GateRef func, GateRef profileTypeInfo) IsCompiledOrTryCompile() argument 1025 Store(VariableType::INT8(), glue, profileTypeInfo, jitCallCntOffset, TruncInt32ToInt8(newJitCallCnt)); IsCompiledOrTryCompile() local 1034 Store(VariableType::INT8(), glue, profileTypeInfo, jitCallCntOffset, TruncInt32ToInt8(newJitCallCnt)); IsCompiledOrTryCompile() local 1046 TryJitCompile(GateRef glue, OffsetInfo offsetInfo, GateRef func, GateRef profileTypeInfo) TryJitCompile() argument 1111 Store(VariableType::INT16(), glue, profileTypeInfo, jitHotnessCntOffset, newJitHotnessCnt); TryJitCompile() local 1118 Store(VariableType::INT16(), glue, profileTypeInfo, jitHotnessCntOffset, newJitHotnessCnt); TryJitCompile() local 1149 Store(VariableType::INT16(), glue, profileTypeInfo, osrHotnessCntOffset, Int16(0)); TryJitCompile() local 1160 Store(VariableType::INT16(), glue, profileTypeInfo, osrHotnessCntOffset, newOsrHotnessCnt); TryJitCompile() local 1167 PGOProfiler(GateRef glue, GateRef func, GateRef profileTypeInfo, SlotIDInfo slotIdInfo, const std::vector<GateRef> &values, OperationType type) PGOProfiler() argument [all...] |
H A D | access_object_stub_builder.h | 37 GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback = ProfileOperation()); 40 GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback = ProfileOperation()); 44 GateRef profileTypeInfo, 51 GateRef profileTypeInfo, 54 GateRef LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, 56 GateRef StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, 58 GateRef StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef profileTypeInfo, 62 GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback); 64 GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback); 66 GateRef profileTypeInfo, GateRe [all...] |
H A D | access_object_stub_builder.cpp | 25 GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) in LoadObjByName() 38 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadObjByName() 55 CallRuntime(glue, RTSTUB_ID(LoadICByName), {profileTypeInfo, receiver, propKey, IntToTaggedInt(slotId)}); in LoadObjByName() 65 GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) in LoadPrivatePropertyByName() 78 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadPrivatePropertyByName() 92 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), {profileTypeInfo, receiver, key, IntToTaggedInt(slotId)}); in LoadPrivatePropertyByName() 131 GateRef value, GateRef profileTypeInfo, GateRef slotId, in StoreObjByName() 144 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId, callback); in StoreObjByName() 161 glue, RTSTUB_ID(StoreICByName), {profileTypeInfo, receiver, propKey, value, IntToTaggedInt(slotId)}); in StoreObjByName() 175 GateRef profileTypeInfo, in StorePrivatePropertyByName() 24 LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadObjByName() argument 64 LoadPrivatePropertyByName( GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadPrivatePropertyByName() argument 130 StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreObjByName() argument 171 StorePrivatePropertyByName(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StorePrivatePropertyByName() argument 229 LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadObjByValue() argument 295 StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreObjByValue() argument 332 StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreOwnByIndex() argument 379 TryLoadGlobalByName(GateRef glue, GateRef prop, const StringIdInfo &info, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) TryLoadGlobalByName() argument 429 TryStoreGlobalByName(GateRef glue, GateRef prop, const StringIdInfo &info, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) TryStoreGlobalByName() argument 492 LoadGlobalVar(GateRef glue, GateRef prop, const StringIdInfo &info, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadGlobalVar() argument 530 StoreGlobalVar(GateRef glue, GateRef prop, const StringIdInfo &info, GateRef value, GateRef profileTypeInfo, GateRef slotId) StoreGlobalVar() argument [all...] |
H A D | ic_stub_builder.h | 29 void SetParameters(GateRef glue, GateRef receiver, GateRef profileTypeInfo, in SetParameters() argument 34 profileTypeInfo_ = profileTypeInfo; in SetParameters() 40 void SetParameters(GateRef glue, GateRef receiver, GateRef profileTypeInfo, in SetParameters() argument 43 SetParameters(glue, receiver, profileTypeInfo, value, slotId, callback); in SetParameters()
|
H A D | interpreter_stub.h | 178 GateRef profileTypeInfo, GateRef slotId);
181 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
184 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
187 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
190 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
199 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef format);
201 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef index);
203 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter);
205 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter);
207 GateRef profileTypeInfo, GateRe [all...] |
H A D | interpreter_stub-inl.h | 564 GateRef profileTypeInfo, GateRef slotId) in UpdateProfileTypeInfoCellToFunction() 576 BRANCH(TaggedIsUndefined(profileTypeInfo), &profileTypeInfoEnd, &profileTypeInfoNotUndefined); in UpdateProfileTypeInfoCellToFunction() 579 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in UpdateProfileTypeInfoCellToFunction() 584 SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, newProfileTypeInfoCell, in UpdateProfileTypeInfoCellToFunction() local 675 void InterpreterStubBuilder::Dispatch(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, in Dispatch() argument 681 DispatchBase(target, glue, sp, newPc, constpool, profileTypeInfo, acc, hotnessCounter); in Dispatch() 686 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchLast() 689 DispatchBase(target, glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter); in DispatchLast() 694 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchDebugger() 698 auto args = { glue, sp, pc, constpool, profileTypeInfo, ac in DispatchDebugger() 563 UpdateProfileTypeInfoCellToFunction(GateRef glue, GateRef function, GateRef profileTypeInfo, GateRef slotId) UpdateProfileTypeInfoCellToFunction() argument 685 DispatchLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchLast() argument 693 DispatchDebugger(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchDebugger() argument 703 DispatchDebuggerLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchDebuggerLast() argument 718 DispatchWithId(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef index) DispatchWithId() argument 731 CheckException(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckException() argument 749 CheckPendingException(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckPendingException() argument 767 CheckExceptionWithVar(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckExceptionWithVar() argument 787 CheckExceptionWithJump(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, Label *jump) CheckExceptionWithJump() argument [all...] |
H A D | common_stubs.cpp | 286 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); in GenerateCircuit() local 287 Return(InstanceOf(glue, object, target, profileTypeInfo, slotId, ProfileOperation())); in GenerateCircuit() 470 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); in GenerateCircuit() local 471 Return(builder.LoadObjByName(glue, receiver, id, info, profileTypeInfo, slotId, ProfileOperation())); in GenerateCircuit() 493 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); in GenerateCircuit() local 494 Return(builder.StoreObjByName(glue, receiver, id, info, value, profileTypeInfo, slotId, ProfileOperation())); in GenerateCircuit() 523 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); in GenerateCircuit() local 524 Return(builder.LoadObjByValue(glue, receiver, key, profileTypeInfo, slotId)); in GenerateCircuit() 544 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); in GenerateCircuit() local 545 Return(builder.StoreObjByValue(glue, receiver, key, value, profileTypeInfo, slotI in GenerateCircuit() 643 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); GenerateCircuit() local 656 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); GenerateCircuit() local 668 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); GenerateCircuit() local 681 GateRef profileTypeInfo = UpdateProfileTypeInfo(glue, jsFunc); GenerateCircuit() local [all...] |
H A D | pass_manager.cpp | 49 bool JitPassManager::Compile(JSHandle<ProfileTypeInfo> &profileTypeInfo, in Compile() argument 74 return cmpDriver_->CompileMethod(jsPandaFile, methodLiteral, profileTypeInfo, pcStart, header, abcId, in Compile() 79 JSHandle<ProfileTypeInfo> &profileTypeInfo, in Compile() 106 static_cast<JitCompilationEnv*>(compilationEnv_)->SetProfileTypeInfo(profileTypeInfo); in Compile() variable 109 jitProfiler_->ProfileBytecode(compilationEnv_->GetJSThread(), profileTypeInfo, nullptr, in Compile()
|
H A D | compilation_driver.h | 153 JSHandle<ProfileTypeInfo> &profileTypeInfo, const uint8_t *pcStart, in CompileMethod() 171 return cb(bytecodeInfo_.GetRecordNameWithIndex(0), methodName, methodLiteral, profileTypeInfo, in CompileMethod() 152 CompileMethod(const JSPandaFile *jsPandaFile, MethodLiteral *methodLiteral, JSHandle<ProfileTypeInfo> &profileTypeInfo, const uint8_t *pcStart, const panda_file::File::Header *header, ApEntityId abcId, const Callback &cb) CompileMethod() argument
|
H A D | interpreter_stub.cpp | 50 GateRef profileTypeInfo = TaggedPointerArgument( \
57 GenerateCircuitImpl(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, callback); \
62 GateRef constpool, GateRef profileTypeInfo, \
68 [this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType type) { \
70 profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, format, type); \
76 [this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType type) { \
78 profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, format, type); \
100 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, offset)
102 DISPATCH_BASE(profileTypeInfo, acc, hotnessCounter, offset)
104 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, *varAc [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter_assembly.cpp | 112 profileTypeInfo = UpdateHotnessCounter(thread, sp); \ 310 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleMovV4V4() 322 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleMovV8V8() 334 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleMovV16V16() 346 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleLdaStrId16() 357 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleJmpImm8() 367 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleJmpImm16() 377 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleJmpImm32() 387 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleJeqzImm8() 403 JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, in HandleJeqzImm16() 309 HandleMovV4V4( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV4V4() argument 321 HandleMovV8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV8V8() argument 333 HandleMovV16V16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV16V16() argument 345 HandleLdaStrId16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaStrId16() argument 356 HandleJmpImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm8() argument 366 HandleJmpImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm16() argument 376 HandleJmpImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm32() argument 386 HandleJeqzImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm8() argument 402 HandleJeqzImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm16() argument 418 HandleJeqzImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm32() argument 434 HandleJnezImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm8() argument 450 HandleJnezImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm16() argument 466 HandleJnezImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm32() argument 482 HandleLdaV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaV8() argument 493 HandleStaV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleStaV8() argument 503 HandleLdaiImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaiImm32() argument 513 HandleFldaiImm64( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleFldaiImm64() argument 523 HandleReturn( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleReturn() argument 551 HandleReturnundefined( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleReturnundefined() argument 580 HandleLdnan( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdnan() argument 589 HandleLdinfinity( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdinfinity() argument 598 HandleLdundefined( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdundefined() argument 607 HandleLdnull( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdnull() argument 616 HandleLdsymbol( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdsymbol() argument 627 HandleLdglobal( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdglobal() argument 639 HandleLdtrue( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdtrue() argument 648 HandleLdfalse( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdfalse() argument 657 HandleGetunmappedargs( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetunmappedargs() argument 673 HandleAsyncfunctionenter( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleAsyncfunctionenter() argument 685 HandleTonumberImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleTonumberImm8() argument 704 HandleNegImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNegImm8() argument 728 HandleNotImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNotImm8() argument 752 HandleIncImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleIncImm8() argument 779 HandleDecImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleDecImm8() argument 806 HandleThrow( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrow() argument 816 HandleTypeofImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleTypeofImm8() argument 826 HandleGetpropiterator( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetpropiterator() argument 838 HandleResumegenerator( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleResumegenerator() argument 854 HandleGetresumemode( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetresumemode() argument 870 HandleGetiteratorImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetiteratorImm8() argument 884 HandleGetasynciteratorImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetasynciteratorImm8() argument 898 HandleThrowConstassignmentPrefV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowConstassignmentPrefV8() argument 910 HandleThrowPatternnoncoerciblePrefNone( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowPatternnoncoerciblePrefNone() argument 921 HandleThrowIfnotobjectPrefV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowIfnotobjectPrefV8() argument 940 HandleCloseiteratorImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleCloseiteratorImm8V8() argument 955 HandleAdd2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleAdd2Imm8V8() argument 991 HandleSub2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleSub2Imm8V8() argument 1025 HandleMul2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMul2Imm8V8() argument 1047 HandleDiv2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleDiv2Imm8V8() argument 1070 HandleMod2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMod2Imm8V8() argument 1093 HandleEqImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleEqImm8V8() argument 1117 HandleNoteqImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNoteqImm8V8() argument 1142 HandleLessImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLessImm8V8() argument [all...] |
H A D | interpreter-inl.cpp | 745 state->profileTypeInfo = thisFunc->GetProfileTypeInfo(); in Execute() 832 state->profileTypeInfo = func->GetProfileTypeInfo(); in GeneratorReEnterInterpreter() 1010 JSTaggedValue profileTypeInfo, uint16_t slotId) in UpdateProfileTypeInfoCellToFunction() 1012 if (!profileTypeInfo.IsUndefined()) { in UpdateProfileTypeInfoCellToFunction() 1013 JSHandle<ProfileTypeInfo> profileTypeArray(thread, profileTypeInfo); in UpdateProfileTypeInfoCellToFunction() 1482 state->profileTypeInfo = func->GetProfileTypeInfo(); in RunInternal() 2230 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); in RunInternal() local 2231 if (!profileTypeInfo.IsUndefined()) { in RunInternal() 2233 auto profileTypeArray = ProfileTypeInfo::Cast(profileTypeInfo.GetTaggedObject()); in RunInternal() 2246 profileTypeInfo in RunInternal() 1009 UpdateProfileTypeInfoCellToFunction(JSThread *thread, JSHandle<JSFunction> &function, JSTaggedValue profileTypeInfo, uint16_t slotId) UpdateProfileTypeInfoCellToFunction() argument 2549 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2612 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2694 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2735 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2777 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2902 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 2930 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 3004 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 3109 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 4982 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 5005 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 5417 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 5472 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 5784 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 5841 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 6316 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 6378 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 6658 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 6927 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 6980 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7034 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7096 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7152 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7210 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7268 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local 7340 auto profileTypeInfo = GetRuntimeProfileTypeInfo(sp); RunInternal() local [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | invoke_cache.h | 28 static bool SetMonoConstuctCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, 31 static bool SetPolyConstuctCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, 41 static bool SetMonoInlineCallCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, 44 static bool SetPolyInlineCallCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId,
|
H A D | invoke_cache.cpp | 23 bool InvokeCache::SetMonoConstuctCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, in SetMonoConstuctCacheSlot() argument 31 profileTypeInfo->Set(thread, slotId, newTarget); in SetMonoConstuctCacheSlot() 32 profileTypeInfo->Set(thread, slotId + 1, initialHClass); in SetMonoConstuctCacheSlot() 37 bool InvokeCache::SetPolyConstuctCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, in SetPolyConstuctCacheSlot() argument 43 JSHandle<TaggedArray> profileTypeInfoArr(thread, profileTypeInfo); in SetPolyConstuctCacheSlot() 122 bool InvokeCache::SetMonoInlineCallCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, in SetMonoInlineCallCacheSlot() argument 128 profileTypeInfo->Set(thread, slotId, callee); in SetMonoInlineCallCacheSlot() 132 profileTypeInfo->Set(thread, slotId, JSTaggedValue::Hole()); in SetMonoInlineCallCacheSlot() 136 bool InvokeCache::SetPolyInlineCallCacheSlot(JSThread *thread, ProfileTypeInfo *profileTypeInfo, uint32_t slotId, in SetPolyInlineCallCacheSlot() argument 142 JSHandle<TaggedArray> profileTypeInfoArr(thread, profileTypeInfo); in SetPolyInlineCallCacheSlot() [all...] |
H A D | ic_runtime_stub.h | 26 static inline JSTaggedValue LoadGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 29 static inline JSTaggedValue StoreGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 32 static inline JSTaggedValue LoadICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 39 static inline JSTaggedValue StoreICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 65 static inline JSTaggedValue LoadICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 70 static inline JSTaggedValue StoreICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 73 static inline JSTaggedValue StoreOwnICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 84 static inline JSTaggedValue LoadMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, 86 static inline JSTaggedValue LoadValueMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, 88 static inline JSTaggedValue StoreMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValu [all...] |
H A D | ic_runtime.h | 33 ICRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in ICRuntime() argument 34 : thread_(thread), icAccessor_(thread, profileTypeInfo, slotId, kind) in ICRuntime() 70 LoadICRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in LoadICRuntime() argument 71 : ICRuntime(thread, profileTypeInfo, slotId, kind) in LoadICRuntime() 87 StoreICRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in StoreICRuntime() argument 88 : ICRuntime(thread, profileTypeInfo, slotId, kind) in StoreICRuntime()
|
H A D | ic_runtime_stub-inl.h | 39 JSTaggedValue ICRuntimeStub::LoadGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, in LoadGlobalICByName() argument 44 JSTaggedValue handler = profileTypeInfo->Get(slotId); in LoadGlobalICByName() 52 return LoadMiss(thread, profileTypeInfo, globalValue, key, slotId, kind); in LoadGlobalICByName() 55 JSTaggedValue ICRuntimeStub::StoreGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, in StoreGlobalICByName() argument 60 JSTaggedValue handler = profileTypeInfo->Get(slotId); in StoreGlobalICByName() 68 return StoreMiss(thread, profileTypeInfo, globalValue, key, value, slotId, kind); in StoreGlobalICByName() 110 ARK_NOINLINE JSTaggedValue ICRuntimeStub::LoadICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, in LoadICByName() argument 114 return LoadMiss(thread, profileTypeInfo, receiver, key, slotId, ICKind::NamedLoadIC); in LoadICByName() 148 ARK_NOINLINE JSTaggedValue ICRuntimeStub::LoadICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, in LoadICByValue() argument 152 return LoadValueMiss(thread, profileTypeInfo, receive in LoadICByValue() 177 StoreICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreICByValue() argument 185 StoreOwnICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreOwnICByValue() argument 211 StoreICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreICByName() argument 647 LoadMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId, ICKind kind) LoadMiss() argument 658 LoadValueMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId, ICKind kind) LoadValueMiss() argument 669 StoreMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId, ICKind kind, bool isOwn) StoreMiss() argument [all...] |
H A D | profile_type_info.h | 340 JSHandle<ProfileTypeInfo> profileTypeInfo) 342 if (profileTypeInfo->GetExtraInfoMap().IsUndefined()) { 344 profileTypeInfo->SetExtraInfoMap(thread, dictJShandle); 347 JSHandle<NumberDictionary> dictJShandle(thread, profileTypeInfo->GetExtraInfoMap()); 354 JSHandle<ProfileTypeInfo> profileTypeInfo) 365 profileTypeInfo->SetExtraInfoMap(thread, dict); 446 ProfileTypeAccessor(JSThread* thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in ProfileTypeAccessor() argument 447 : thread_(thread), profileTypeInfo_(profileTypeInfo), slotId_(slotId), kind_(kind) in ProfileTypeAccessor()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 214 JSHandle<ProfileTypeInfo> profileTypeInfo(vm_->GetJSThread(), profileTypeInfoCell->GetValue()); in ProfileDefineGetterSetter() 216 profileTypeInfo); in ProfileDefineGetterSetter() 220 holderHClassHandle, profileTypeInfo); in ProfileDefineGetterSetter() 316 auto profileTypeInfo = ProfileTypeInfo::Cast(profileTypeInfoVal.GetTaggedObject()); in UpdateTrackInfo() local 317 if (profileTypeInfo->IsProfileTypeInfoWithBigMethod()) { in UpdateTrackInfo() 320 if (!profileTypeInfo->IsProfileTypeInfoPreDumped()) { in UpdateTrackInfo() 321 profileTypeInfo->SetPreDumpPeriodIndex(); in UpdateTrackInfo() 733 auto profileTypeInfo = ProfileTypeInfo::Cast(profileTypeInfoVal.GetTaggedObject()); in ProfileBytecode() local 756 DumpICByName(abcId, recordName, methodId, bcOffset, slotId, profileTypeInfo, BCType::LOAD); in ProfileBytecode() 762 DumpICByName(abcId, recordName, methodId, bcOffset, slotId, profileTypeInfo, BCTyp in ProfileBytecode() 967 DumpICByName(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, BCType type) DumpICByName() argument 990 DumpICByValue(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, BCType type) DumpICByValue() argument 1308 DumpOpType(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpOpType() argument 1327 DumpDefineClass(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpDefineClass() argument 1388 DumpCreateObject(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, int32_t traceId) DumpCreateObject() argument 1429 DumpCall(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpCall() argument 1459 DumpGetIterator(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpGetIterator() argument 1477 DumpNewObjRange(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpNewObjRange() argument 1502 DumpInstanceof(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpInstanceof() argument [all...] |
H A D | pgo_profiler.h | 164 ProfileTypeInfo *profileTypeInfo, BCType type); 166 uint32_t slotId, ProfileTypeInfo *profileTypeInfo, BCType type); 185 ProfileTypeInfo *profileTypeInfo); 187 uint32_t slotId, ProfileTypeInfo *profileTypeInfo); 190 uint32_t slotId, ProfileTypeInfo *profileTypeInfo, int32_t traceId); 192 ProfileTypeInfo *profileTypeInfo); 194 uint32_t slotId, ProfileTypeInfo *profileTypeInfo); 196 uint32_t slotId, ProfileTypeInfo *profileTypeInfo); 198 uint32_t slotId, ProfileTypeInfo *profileTypeInfo);
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.cpp | 32 void JITProfiler::ProfileBytecode(JSThread *thread, const JSHandle<ProfileTypeInfo> &profileTypeInfo, in ProfileBytecode() argument 55 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 66 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 76 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 87 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 99 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 110 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 121 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 133 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() 167 profileTypeInfo_ = *profileTypeInfo; in ProfileBytecode() [all...] |
H A D | jit_task.cpp | 343 JSHandle<ProfileTypeInfo> profileTypeInfo = sustainingJSHandle_->NewHandle(profileTypeInfo_); in SustainingJSHandles() local 344 SetProfileTypeInfo(profileTypeInfo); in SustainingJSHandles() 366 JSHandle<ProfileTypeInfo> profileTypeInfo(hostThread_, in CloneProfileTypeInfo() 370 JSTaggedValue value = profileTypeInfo->Get(i); in CloneProfileTypeInfo()
|
/arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
H A D | deoptimizer.cpp | 438 auto profileTypeInfo = function->GetProfileTypeInfo(); in Dump() local 439 if (profileTypeInfo.IsUndefined()) { in Dump() 548 ProfileTypeInfo *profileTypeInfo = ProfileTypeInfo::Cast(profileTypeInfoVal.GetTaggedObject()); in ResetJitHotness() local 549 profileTypeInfo->SetJitHotnessCnt(0); in ResetJitHotness() 552 uint16_t threshold = profileTypeInfo->GetJitHotnessThreshold(); in ResetJitHotness() 554 profileTypeInfo->SetJitHotnessThreshold(threshold); in ResetJitHotness()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stub_builder.h | 120 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchLast() 123 DispatchBase(target, glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter); in DispatchLast() 127 void Dispatch(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, in Dispatch() argument 133 DispatchBase(target, glue, sp, newPc, constpool, profileTypeInfo, acc, hotnessCounter); in Dispatch() 119 DispatchLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchLast() argument
|