| /arkcompiler/runtime_core/static_core/models/thread_pool/ |
| D | thread_pool.tla | 366 scale_lock_, cond_var_, queue_size_, pc, stack 374 scale_lock_, cond_var_, queue_size_, pc, stack, worker_num_, 399 /\ pc = [self \in ProcSet |-> CASE self \in workers_set -> "worker_inactive" 403 timed_wait_signal_entry(self) == /\ pc[self] = "timed_wait_signal_entry" 404 /\ \/ /\ pc' = [pc EXCEPT ![self] = "timed_wait_signal_wait"] 405 \/ /\ pc' = [pc EXCEPT ![self] = "timed_wait_signal_exit"] 413 timed_wait_signal_wait(self) == /\ pc[self] = "timed_wait_signal_wait" 417 /\ pc' = [pc EXCEPT ![self] = "timed_wait_signal_wait_1"] 425 timed_wait_signal_wait_1(self) == /\ pc[self] = "timed_wait_signal_wait_1" 430 … /\ pc' = [pc EXCEPT ![self] = Head(stack[self]).pc] [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | panda_file_translator.cpp | 368 #define ADD_NOP_INST(pc, oldLen, newOpcode) \ argument 373 *(pc + newLen + i) = static_cast<uint8_t>(EcmaOpcode::NOP); \ 382 auto pc = const_cast<uint8_t *>(inst.GetAddress()); in FixOpcode() local 388 *pc = static_cast<uint8_t>(EcmaOpcode::MOV_V4_V4); in FixOpcode() 392 *pc = static_cast<uint8_t>(EcmaOpcode::MOV_V8_V8); in FixOpcode() 396 *pc = static_cast<uint8_t>(EcmaOpcode::MOV_V16_V16); in FixOpcode() 403 *pc = static_cast<uint8_t>(newOpcode); in FixOpcode() 405 if (memcpy_s(pc + 1, sizeof(uint16_t), &newId, sizeof(uint16_t)) != EOK) { in FixOpcode() 409 ADD_NOP_INST(pc, oldLen, newOpcode); in FixOpcode() 413 *pc = static_cast<uint8_t>(EcmaOpcode::JMP_IMM8); in FixOpcode() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | cache.h | 26 bool Has(const void *pc, Method *caller) const in Has() argument 28 const auto &entry = data_[GetIndex(pc)]; in Has() 29 return entry.pc == pc && entry.caller == caller; in Has() 33 T *Get(const void *pc, Method *caller) const in Get() argument 35 if (UNLIKELY(!Has(pc, caller))) { in Get() 38 return static_cast<T *>(data_[GetIndex(pc)].item); in Get() 42 void Set(const void *pc, T *item, Method *caller) in Set() argument 44 data_[GetIndex(pc)] = {pc, caller, item}; in Set() 55 const void *pc {nullptr}; 60 Entry *GetEntry(const void *pc) in GetEntry() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | interpreter_stub.h | 45 StringIdInfo() : constpool(0), pc(0), offset(Offset::INVALID), in StringIdInfo() 49 : constpool(inputConstpool), pc(inputPc), offset(inputOffset), in StringIdInfo() 53 : constpool(inputConstpool), pc(0), offset(Offset::INVALID), in StringIdInfo() 63 return pc; in GetPc() 89 …return (constpool != 0) && (pc != 0) && (offset != Offset::INVALID) && (length != Length::INVALID); in IsValid() 96 GateRef pc { 0 }; 115 inline GateRef ReadInst4_0(GateRef pc); 116 inline GateRef ReadInst4_1(GateRef pc); 117 inline GateRef ReadInst4_2(GateRef pc); 118 inline GateRef ReadInst4_3(GateRef pc); [all …]
|
| D | interpreter_stub-inl.h | 45 GateRef InterpreterStubBuilder::ReadInst8_0(GateRef pc) in ReadInst8_0() argument 47 return LoadPrimitive(VariableType::INT8(), pc, IntPtr(1)); // 1 : skip 1 byte of bytecode in ReadInst8_0() 50 GateRef InterpreterStubBuilder::ReadInst8_1(GateRef pc) in ReadInst8_1() argument 52 return LoadPrimitive(VariableType::INT8(), pc, IntPtr(2)); // 2 : skip 1 byte of bytecode in ReadInst8_1() 55 GateRef InterpreterStubBuilder::ReadInst8_2(GateRef pc) in ReadInst8_2() argument 57 return LoadPrimitive(VariableType::INT8(), pc, IntPtr(3)); // 3 : skip 1 byte of bytecode in ReadInst8_2() 60 GateRef InterpreterStubBuilder::ReadInst8_3(GateRef pc) in ReadInst8_3() argument 62 return LoadPrimitive(VariableType::INT8(), pc, IntPtr(4)); // 4 : skip 1 byte of bytecode in ReadInst8_3() 65 GateRef InterpreterStubBuilder::ReadInst8_4(GateRef pc) in ReadInst8_4() argument 67 return LoadPrimitive(VariableType::INT8(), pc, IntPtr(5)); // 5 : skip 1 byte of bytecode in ReadInst8_4() [all …]
|
| D | interpreter_stub.cpp | 31 GateRef pc = PtrArgument(static_cast<size_t>(InterpreterHandlerInputs::PC)); \ 41 GenerateCircuitImpl(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, callback); \ 45 void name##StubBuilder::GenerateCircuitImpl(GateRef glue, GateRef sp, GateRef pc, \ 52 …[this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType … 57 …profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(glue, state), … 64 …[this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType … 69 …profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(glue, state), … 95 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, offset) 99 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, *varAcc, hotnessCounter, offset) 103 // Dispatch(glue, sp, pc, constpool, *varProfileTypeInfo, acc, *varHotnessCounter, offset) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/js_interop/ |
| D | js_interop_inst_builder.cpp | 28 static IntrinsicInst *Build(InstBuilder *ib, size_t pc, const ARGS &...inputs) in Build() 31 return ib->BuildInteropIntrinsic<N>(pc, ID, RET_TYPE, {PARAM_TYPES...}, {inputs...}); in Build() 58 IntrinsicInst *InstBuilder::BuildInteropIntrinsic(size_t pc, RuntimeInterface::IntrinsicId id, Data… in BuildInteropIntrinsic() argument 62 auto intrinsic = GetGraph()->CreateInstIntrinsic(retType, pc, id); in BuildInteropIntrinsic() 72 Inst *InstBuilder::BuildInitJSCallClass(RuntimeInterface::MethodPtr method, size_t pc, SaveStateIns… in BuildInitJSCallClass() argument 77 … BuildLoadStaticInst(pc, DataType::UINT32, GetRuntime()->GetFieldId(cpOffsetField), saveState); in BuildInitJSCallClass() 82 IntrinsicCompilerInitJSCallClassForCtx::Build(this, pc, loadAndInitJSCallClass, saveState); in BuildInitJSCallClass() 87 … size_t pc, RuntimeInterface::MethodPtr method, in BuildResolveInteropCallIntrinsic() argument 96 jsFn = IntrinsicCompilerConvertJSValueToLocal::Build(this, pc, arg0, saveState); in BuildResolveInteropCallIntrinsic() 97 jsThis = IntrinsicCompilerConvertJSValueToLocal::Build(this, pc, arg1, saveState); in BuildResolveInteropCallIntrinsic() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | aot_data.cpp | 25 intptr_t AotData::GetSharedSlowPathOffset(RuntimeInterface::EntrypointId id, uintptr_t pc) const in GetSharedSlowPathOffset() 31 return offset - (codeAddress_ + pc + CodeInfo::GetCodeOffset(graph_->GetArch())); in GetSharedSlowPathOffset() 34 void AotData::SetSharedSlowPathOffset(RuntimeInterface::EntrypointId id, uintptr_t pc) in SetSharedSlowPathOffset() argument 36 …slowPathData_->SetSharedSlowPathOffset(id, codeAddress_ + pc + CodeInfo::GetCodeOffset(graph_->Get… in SetSharedSlowPathOffset() 39 intptr_t AotData::GetEntrypointOffset(uint64_t pc, int32_t slotId) const in GetEntrypointOffset() argument 45 // Decrement by sum of method code start address and current pc in GetEntrypointOffset() 46 offset -= static_cast<intptr_t>(codeAddress_ + pc); in GetEntrypointOffset() 52 intptr_t AotData::GetPltSlotOffset(uint64_t pc, uint32_t methodId) in GetPltSlotOffset() argument 55 return GetEntrypointOffset(pc, slotId); in GetPltSlotOffset() 71 intptr_t AotData::GetVirtIndexSlotOffset(uint64_t pc, uint32_t methodId) in GetVirtIndexSlotOffset() argument [all …]
|
| D | aot_data.h | 83 intptr_t GetEntrypointOffset(uint64_t pc, int32_t slotId) const; 84 intptr_t GetSharedSlowPathOffset(RuntimeInterface::EntrypointId id, uintptr_t pc) const; 85 void SetSharedSlowPathOffset(RuntimeInterface::EntrypointId id, uintptr_t pc); 86 intptr_t GetPltSlotOffset(uint64_t pc, uint32_t methodId); 87 intptr_t GetVirtIndexSlotOffset(uint64_t pc, uint32_t methodId); 88 intptr_t GetClassSlotOffset(uint64_t pc, uint32_t klassId, bool init); 89 intptr_t GetCommonSlotOffset(uint64_t pc, uint32_t id); 90 intptr_t GetStringSlotOffset(uint64_t pc, uint32_t stringId); 91 uint64_t GetInfInlineCacheSlotOffset(uint64_t pc, uint64_t cacheIdx);
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | ir_builder.h | 41 uint32_t pc {}; 100 void CreateBlock(size_t pc) in CreateBlock() argument 102 if (blocks_[pc] == nullptr) { in CreateBlock() 103 blocks_[pc] = GetGraph()->CreateEmptyBlock(); in CreateBlock() 104 blocks_[pc]->SetGuestPc(pc); in CreateBlock() 108 BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc() argument 110 return blocks_[pc]; in GetBlockForPc() 113 BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc() argument 116 ASSERT(pc > 0); in GetPrevBlockForPc() 117 pc--; in GetPrevBlockForPc() [all …]
|
| D | ir_builder.cpp | 124 auto pc = inst_builder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local 125 …// Break if current pc is pc of some basic block, that means that it is the end of the current blo… in BuildInstructionsForBB() 126 if (pc != bb->GetGuestPc() && GetBlockForPc(pc) != nullptr) { in BuildInstructionsForBB() 198 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local 201 CreateBlock(pc); in BuildBasicBlocks() 206 auto target_pc = pc + static_cast<size_t>(offset); in BuildBasicBlocks() 222 void IrBuilder::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc() argument 225 if (begin_pc <= pc && pc < try_block.boundaries.end_pc) { in EnumerateTryBlocksCoveredPc() 268 auto pc = catch_block.GetHandlerPc(); in CreateTryCatchBoundariesBlocks() local 269 catches_pc_.insert(pc); in CreateTryCatchBoundariesBlocks() [all …]
|
| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/ |
| D | ir_builder_dyn.h | 37 uint32_t pc {}; 99 void CreateBlock(size_t pc) in CreateBlock() argument 101 if (blocks_[pc] == nullptr) { in CreateBlock() 102 blocks_[pc] = GetGraph()->CreateEmptyBlock(); in CreateBlock() 103 blocks_[pc]->SetGuestPc(pc); in CreateBlock() 107 compiler::BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc() argument 109 return blocks_[pc]; in GetBlockForPc() 112 compiler::BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc() argument 115 ASSERT(pc > 0); in GetPrevBlockForPc() 116 pc--; in GetPrevBlockForPc() [all …]
|
| D | ir_builder_dyn.cpp | 80 auto pc = instBuilder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local 81 …// Break if current pc is pc of some basic block, that means that it is the end of the current blo… in BuildInstructionsForBB() 82 if (pc != bb->GetGuestPc() && GetBlockForPc(pc) != nullptr) { in BuildInstructionsForBB() 152 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local 155 CreateBlock(pc); in BuildBasicBlocks() 160 auto targetPc = pc + static_cast<size_t>(offset); in BuildBasicBlocks() 175 void IrBuilderDynamic::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc() argument 178 if (begin_pc <= pc && pc < try_block.boundaries.endPc) { in EnumerateTryBlocksCoveredPc() 215 auto pc = pfw->GetCatchBlockHandlerPc(catchBlock); in CreateTryCatchBoundariesBlocks() local 216 catchesPc_.insert(pc); in CreateTryCatchBoundariesBlocks() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/tests/ |
| D | js_stackinfo_test.cpp | 455 uintptr_t pc = 0; in HWTEST_F_L0() local 467 ArkStepParam arkStepParam{ &fp[0], &sp, &pc, &isJsFrame }; in HWTEST_F_L0() 503 uintptr_t pc = 0; in HWTEST_F_L0() local 515 ArkStepParam arkStepParam{ &fp[0], &sp, &pc, &isJsFrame }; in HWTEST_F_L0() 688 uintptr_t pc = 0; in HWTEST_F_L0() local 696 EXPECT_TRUE(pre_frame.pc == frame[2]); in HWTEST_F_L0() 698 ArkStepParam arkStepParam{ &fp, &sp, &pc, &isJsFrame }; in HWTEST_F_L0() 701 EXPECT_TRUE(*arkStepParam.pc == frame[2]); in HWTEST_F_L0() 718 uintptr_t pc = 0; in HWTEST_F_L0() local 722 unwind_stack_frame_s cur_frame = { fp, pc }; in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | ir_builder.h | 47 uint32_t pc {}; 112 void CreateBlock(size_t pc) in CreateBlock() argument 114 if (blocks_[pc] == nullptr) { in CreateBlock() 115 blocks_[pc] = GetGraph()->CreateEmptyBlock(); in CreateBlock() 116 blocks_[pc]->SetGuestPc(pc); in CreateBlock() 120 BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc() argument 122 return blocks_[pc]; in GetBlockForPc() 125 BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc() argument 128 ASSERT(pc > 0); in GetPrevBlockForPc() 129 pc--; in GetPrevBlockForPc() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | compiler_intrinsics.cpp | 28 Field *TryGetField(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetField() argument 30 bool useIc = pc != ark::compiler::INVALID_PC; in TryGetField() 32 auto address = method->GetInstructions() + (useIc ? pc : 0); in TryGetField() 39 ark::Method *TryGetCallee(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetCallee() argument 41 bool useIc = pc != ark::compiler::INVALID_PC; in TryGetCallee() 43 auto address = method->GetInstructions() + (useIc ? pc : 0); in TryGetCallee() 102 T CompilerEtsLdObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByName() argument 116 Field *field = TryGetField<FIELD_TYPE, true>(method, rawField, pc, klass); in CompilerEtsLdObjByName() 125 auto callee = TryGetCallee<FIELD_TYPE, true>(method, rawField, pc, klass); in CompilerEtsLdObjByName() 201 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName() argument [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | stacktrace.cpp | 80 void PrintFrame(size_t frameNum, uintptr_t pc, std::ostream &out) in PrintFrame() argument 84 out << "#" << std::setw(2U) << std::left << frameNum << ": 0x" << std::hex << pc << " "; in PrintFrame() 88 VmaEntry *vma = FindVma(pc); in PrintFrame() 92 vma = FindVma(pc); in PrintFrame() 95 uintptr_t pcOffset = pc - vma->baseAddr; in PrintFrame() 96 // pc points to the instruction after the call in PrintFrame() 97 // Decrement pc to get source line number pointing to the function call in PrintFrame() 107 if (ReadSymbol(pc, &function, &offset)) { in PrintFrame() 146 bool ReadSymbol(uintptr_t pc, std::string *function, uintptr_t *offset) in ReadSymbol() argument 149 if (dladdr(reinterpret_cast<void *>(pc), &info) != 0 && info.dli_sname != nullptr) { in ReadSymbol() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/jit/ |
| D | profiling_data.h | 47 void Init(uintptr_t pc) in Init() argument 49 SetBytecodePc(pc); in Init() 89 void SetBytecodePc(uintptr_t pc) in SetBytecodePc() argument 93 bytecodePc_.store(pc, std::memory_order_release); in SetBytecodePc() 153 void Init(uintptr_t pc, uint64_t taken = 0, uint64_t notTaken = 0) 156 pc_.store(pc, std::memory_order_relaxed); 211 void Init(uintptr_t pc, uint64_t taken = 0) 214 pc_.store(pc, std::memory_order_relaxed); 265 CallSiteInlineCache *FindInlineCache(uintptr_t pc) in FindInlineCache() argument 268 auto ic = std::lower_bound(ics.begin(), ics.end(), pc, in FindInlineCache() [all …]
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | stacktrace.cpp | 105 void PrintFrame(size_t frame_num, uintptr_t pc, std::ostream &out) in PrintFrame() argument 109 out << "#" << std::setw(2U) << std::left << frame_num << ": 0x" << std::hex << pc << " "; in PrintFrame() 113 VmaEntry *vma = FindVma(pc); in PrintFrame() 117 vma = FindVma(pc); in PrintFrame() 120 uintptr_t pc_offset = pc - vma->start_addr + vma->offset; in PrintFrame() 121 // pc points to the instruction after the call in PrintFrame() 122 // Decrement pc to get source line number pointing to the function call in PrintFrame() 132 if (ReadSymbol(pc, &function, &offset)) { in PrintFrame() 171 bool ReadSymbol(uintptr_t pc, std::string *function, uintptr_t *offset) in ReadSymbol() argument 174 if (dladdr(reinterpret_cast<void *>(pc), &info) != 0 && info.dli_sname != nullptr) { in ReadSymbol() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/ |
| D | ets_inst_builder.cpp | 56 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName() local 65 auto intrinsic = GetGraph()->CreateInstIntrinsic(type, pc, GetIntrinsicId(type)); in BuildLdObjByName() 70 auto saveState = CreateSaveState(Opcode::SaveState, pc); in BuildLdObjByName() 74 …graph_->CreateInstNullCheck(DataType::REFERENCE, pc, GetDefinition(bcInst->GetVReg(0)), saveState); in BuildLdObjByName() 86 intrinsic->AddImm(GetGraph()->GetAllocator(), pc); in BuildLdObjByName() 128 IntrinsicInst *InstBuilder::CreateStObjByNameIntrinsic(size_t pc, compiler::DataType::Type type) in CreateStObjByNameIntrinsic() argument 132 auto *intrinsic = GetGraph()->CreateInstIntrinsic(DataType::VOID, pc, id); in CreateStObjByNameIntrinsic() 146 template IntrinsicInst *InstBuilder::CreateStObjByNameIntrinsic<true>(size_t pc, compiler::DataType… 147 template IntrinsicInst *InstBuilder::CreateStObjByNameIntrinsic<false>(size_t pc, compiler::DataTyp… 152 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName() local [all …]
|
| /arkcompiler/runtime_core/static_core/verification/cflow/ |
| D | cflow_check.cpp | 32 uint8_t const *&pc) in CheckValidFlagInstructionException() argument 36 OffsetAsHexStr(methodStart, pc)); in CheckValidFlagInstructionException() 41 … method->GetFullName(), OffsetAsHexStr(methodStart, target), OffsetAsHexStr(methodStart, pc)); in CheckValidFlagInstructionException() 45 !cflowInfo->IsFlagSet(pc, CflowMethodInfo::EXCEPTION_HANDLER)) { in CheckValidFlagInstructionException() 48 … (OffsetAsHexStr(method->GetInstructions(), pc))); in CheckValidFlagInstructionException() 64 [&](auto type, uint8_t const *pc, size_t size, [[maybe_unused]] bool exceptionSource, in CheckCode() 67 … if (CheckValidFlagInstructionException(method, cflowInfo, target, methodStart, pc) == in CheckCode() 76 … (OffsetAsHexStr(method->GetInstructions(), pc))); in CheckCode() 81 if (&pc[size] == methodEnd) { in CheckCode() 90 if (&pc[size] == (*handlerStarts)[nandlerIndex + 1]) { in CheckCode() [all …]
|
| D | cflow_info.cpp | 46 … [this, method]([[maybe_unused]] auto typ, uint8_t const *pc, size_t sz, bool exceptionSource, in FillCodeMaps() 48 SetFlag(pc, INSTRUCTION); in FillCodeMaps() 50 SetFlag(pc, EXCEPTION_SOURCE); in FillCodeMaps() 55 … method->GetFullName(), OffsetAsHexStr(addrStart_, tgt), OffsetAsHexStr(addrStart_, pc)); in FillCodeMaps() 60 … uint8_t const *nextInstPc = &pc[sz]; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in FillCodeMaps() 65 LOG_VERIFIER_CFLOW_INVALID_INSTRUCTION(OffsetAsHexStr(addrStart_, pc)); in FillCodeMaps() 101 [this, catchBlockEnd]([[maybe_unused]] auto typ, uint8_t const *pc, size_t sz, in ProcessCatchBlocks() 104 SetFlag(pc, EXCEPTION_HANDLER); in ProcessCatchBlocks() 105 … uint8_t const *nextInstPc = &pc[sz]; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ProcessCatchBlocks() 110 LOG_VERIFIER_CFLOW_INVALID_INSTRUCTION(OffsetAsHexStr(addrStart_, pc)); in ProcessCatchBlocks()
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | deoptimization.md | 25 3. create StateStamp(in compile time) for this address(np - native pc) 32 The function `Deoptimize` calculates bitecode pc where we should start executing code in the interp… 46 DeoptimizeAfterIFrame(thread, pc, iframe, cframe, last_iframe); 48 DeoptimizeAfterCFrame(thread, pc, iframe, cframe, last_iframe); 69 * bytecode pc of the entry 92 * bytecode pc of the entry 96 …compiled_frame_`(saves false) fields in the thread register and calls interpreter from bytecode pc. 97 … inlined method, we call interpreter for all inlined methods from bytecode pc which is taken from … 103 int64_t InvokeInterpreter(ManagedThread* thread, const uint8_t* pc, Frame* frame, Frame* last_frame… 107 interpreter::Execute(thread, pc, frame, thread->HasPendingException()); [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | deoptimization.cpp | 35 * @param pc PC from which interpreter starts execution 44 extern "C" [[noreturn]] void DeoptimizeAfterCFrame(ManagedThread *thread, const uint8_t *pc, Frame … 49 * @param pc PC from which interpreter starts execution 58 extern "C" [[noreturn]] void DeoptimizeAfterIFrame(ManagedThread *thread, const uint8_t *pc, Frame … 135 …evFrameDeopt(FrameKind prevFrameKind, ManagedThread *thread, StackWalker *stack, const uint8_t *pc, in InvalidateCompiledEntryPoint() argument 142 … pc - stack->GetMethod()->GetInstructions(), events::DeoptimizationAfter::CFRAME); in InvalidateCompiledEntryPoint() 158 DeoptimizeAfterCFrame(thread, pc, iframe, cframe.GetFrameOrigin(), lastIframe, in InvalidateCompiledEntryPoint() 163 pc - stack->GetMethod()->GetInstructions(), in InvalidateCompiledEntryPoint() 167 DeoptimizeAfterIFrame(thread, pc, iframe, cframe.GetFrameOrigin(), lastIframe, in InvalidateCompiledEntryPoint() 181 [[noreturn]] NO_ADDRESS_SANITIZE void Deoptimize(StackWalker *stack, const uint8_t *pc, bool hasExc… in InvalidateCompiledEntryPoint() argument [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/fibers/arch/aarch64/ |
| D | update.S | 44 // context->PC = func 45 str x1, [x0, GPR_O(PC)] 78 // %x8 = context->PC 79 ldr x8, [x0, GPR_O(PC)] 80 // context->PC = func 81 str x1, [x0, GPR_O(PC)] 85 // pretend that we called the func(), i.e. put context's PC to LR
|