Home
last modified time | relevance | path

Searched defs:pc (Results 1 – 25 of 153) sorted by relevance

1234567

/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dcache.h26 bool Has(const void *pc, Method *caller) const in Has()
33 T *Get(const void *pc, Method *caller) const in Get()
42 void Set(const void *pc, T *item, Method *caller) in Set()
60 Entry *GetEntry(const void *pc) in GetEntry()
66 static size_t GetIndex(const void *pc) in GetIndex()
Dinstruction_handler_base.h114 auto pc = GetBytecodeOffset(); in UpdateBytecodeOffset() local
124 auto pc = UpdateBytecodeOffset(); in InstrumentInstruction() local
241 ALWAYS_INLINE void JumpTo(const uint8_t *pc) in JumpTo()
317 auto pc = this->GetBytecodeOffset(); in UpdateBranchStatistics() local
330 auto pc = this->GetBytecodeOffset(); in UpdateThrowStatistics() local
Dstate.h92 …ALWAYS_INLINE inline State(ManagedThread *thread, const uint8_t *pc, Frame *frame, const void *con… in State()
101 ALWAYS_INLINE inline void UpdateState(const uint8_t *pc, Frame *frame) in UpdateState()
179 …ALWAYS_INLINE inline State(ManagedThread *thread, const uint8_t *pc, Frame *frame, const void *con… in State()
188 ALWAYS_INLINE inline void UpdateState(const uint8_t *pc, Frame *frame) in UpdateState()
Dinterpreter.cpp27 void Execute(ManagedThread *thread, const uint8_t *pc, Frame *frame, bool jumpToEh) in Execute()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Daot_data.cpp34 void AotData::SetSharedSlowPathOffset(RuntimeInterface::EntrypointId id, uintptr_t pc) in SetSharedSlowPathOffset()
39 intptr_t AotData::GetEntrypointOffset(uint64_t pc, int32_t slotId) const in GetEntrypointOffset()
52 intptr_t AotData::GetPltSlotOffset(uint64_t pc, uint32_t methodId) in GetPltSlotOffset()
71 intptr_t AotData::GetVirtIndexSlotOffset(uint64_t pc, uint32_t methodId) in GetVirtIndexSlotOffset()
84 intptr_t AotData::GetClassSlotOffset(uint64_t pc, uint32_t klassId, bool init) in GetClassSlotOffset()
90 intptr_t AotData::GetStringSlotOffset(uint64_t pc, uint32_t stringId) in GetStringSlotOffset()
122 intptr_t AotData::GetCommonSlotOffset(uint64_t pc, uint32_t id) in GetCommonSlotOffset()
135 uint64_t AotData::GetInfInlineCacheSlotOffset(uint64_t pc, uint64_t cacheIdx) in GetInfInlineCacheSlotOffset()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dcompiler_intrinsics.cpp28 Field *TryGetField(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetField()
39 ark::Method *TryGetCallee(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetCallee()
102 T CompilerEtsLdObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByName()
201 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName()
236 void CompilerEtsStObjByNameRef(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameRef()
269 extern "C" int32_t CompilerEtsLdObjByNameI32(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI32()
274 extern "C" int64_t CompilerEtsLdObjByNameI64(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI64()
279 extern "C" float CompilerEtsLdObjByNameF32(ark::Method *method, int32_t id, uint32_t pc, ark::Objec… in CompilerEtsLdObjByNameF32()
284 extern "C" double CompilerEtsLdObjByNameF64(ark::Method *method, int32_t id, uint32_t pc, ark::Obje… in CompilerEtsLdObjByNameF64()
289 …tern "C" ark::ObjectHeader *CompilerEtsLdObjByNameObj(ark::Method *method, int32_t id, uint32_t pc, in CompilerEtsLdObjByNameObj()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dinterpreter_stub-inl.h45 GateRef InterpreterStubBuilder::ReadInst8_0(GateRef pc) in ReadInst8_0()
50 GateRef InterpreterStubBuilder::ReadInst8_1(GateRef pc) in ReadInst8_1()
55 GateRef InterpreterStubBuilder::ReadInst8_2(GateRef pc) in ReadInst8_2()
60 GateRef InterpreterStubBuilder::ReadInst8_3(GateRef pc) in ReadInst8_3()
65 GateRef InterpreterStubBuilder::ReadInst8_4(GateRef pc) in ReadInst8_4()
70 GateRef InterpreterStubBuilder::ReadInst8_5(GateRef pc) in ReadInst8_5()
75 GateRef InterpreterStubBuilder::ReadInst8_6(GateRef pc) in ReadInst8_6()
80 GateRef InterpreterStubBuilder::ReadInst8_7(GateRef pc) in ReadInst8_7()
85 GateRef InterpreterStubBuilder::ReadInst8_8(GateRef pc) in ReadInst8_8()
90 GateRef InterpreterStubBuilder::ReadInst8_9(GateRef pc) in ReadInst8_9()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/
Dets_inst_builder.cpp56 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName() local
128 IntrinsicInst *InstBuilder::CreateStObjByNameIntrinsic(size_t pc, compiler::DataType::Type type) in CreateStObjByNameIntrinsic()
152 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName() local
207 auto pc = GetPc(bcInst->GetAddress()); in BuildEquals() local
242 auto pc = GetPc(bcInst->GetAddress()); in BuildTypeof() local
262 auto pc = GetPc(bcInst->GetAddress()); in BuildIstrue() local
284 auto pc = GetPc(bcInst->GetAddress()); in BuildCallByName() local
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.cpp344 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV4V4()
356 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV8V8()
368 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV16V16()
380 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleLdaStrId16()
391 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm8()
401 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm16()
411 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm32()
421 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm8()
437 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm16()
453 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm32()
[all …]
/arkcompiler/runtime_core/static_core/runtime/jit/
Dprofiling_data.h47 void Init(uintptr_t pc) in Init()
89 void SetBytecodePc(uintptr_t pc) in SetBytecodePc()
265 CallSiteInlineCache *FindInlineCache(uintptr_t pc) in FindInlineCache()
273 void UpdateInlineCaches(uintptr_t pc, Class *cls) in UpdateInlineCaches()
283 void UpdateBranchTaken(uintptr_t pc) in UpdateBranchTaken()
291 void UpdateBranchNotTaken(uintptr_t pc) in UpdateBranchNotTaken()
299 int64_t GetBranchTakenCounter(uintptr_t pc) in GetBranchTakenCounter()
306 int64_t GetBranchNotTakenCounter(uintptr_t pc) in GetBranchNotTakenCounter()
313 void UpdateThrowTaken(uintptr_t pc) in UpdateThrowTaken()
331 int64_t GetThrowTakenCounter(uintptr_t pc) in GetThrowTakenCounter()
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/
Dir_builder_dyn.cpp80 auto pc = instBuilder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local
152 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local
175 void IrBuilderDynamic::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc()
215 auto pc = pfw->GetCatchBlockHandlerPc(catchBlock); in CreateTryCatchBoundariesBlocks() local
225 for (auto pc : catchesPc_) { in CreateTryCatchBoundariesBlocks() local
231 … compiler::BasicBlock *targetBlock, size_t &pc, BytecodeInst &inst) in AddSuccs()
270 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks() local
283 void IrBuilderDynamic::TrackTryBoundaries(size_t pc) in TrackTryBoundaries()
317 compiler::BasicBlock *IrBuilderDynamic::GetBlockToJump(BytecodeInst *inst, size_t pc) in GetBlockToJump()
403 for (auto pc : catchesPc_) { in ConnectTryCatchBlocks() local
Dir_builder_dyn.h99 void CreateBlock(size_t pc) in CreateBlock()
107 compiler::BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc()
112 compiler::BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.h100 void CreateBlock(size_t pc) in CreateBlock()
108 BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc()
113 BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc()
Dir_builder.cpp124 auto pc = inst_builder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local
198 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local
222 void IrBuilder::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc()
268 auto pc = catch_block.GetHandlerPc(); in CreateTryCatchBoundariesBlocks() local
284 for (auto pc : catches_pc_) { in CreateTryCatchBoundariesBlocks() local
301 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks() local
342 void IrBuilder::TrackTryBoundaries(size_t pc, const BytecodeInstruction &inst) in TrackTryBoundaries()
376 BasicBlock *IrBuilder::GetBlockToJump(BytecodeInstruction *inst, size_t pc) in GetBlockToJump()
462 for (auto pc : catches_pc_) { in ConnectTryCatchBlocks() local
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/js_interop/
Djs_interop_inst_builder.cpp58 IntrinsicInst *InstBuilder::BuildInteropIntrinsic(size_t pc, RuntimeInterface::IntrinsicId id, Data… in BuildInteropIntrinsic()
72 Inst *InstBuilder::BuildInitJSCallClass(RuntimeInterface::MethodPtr method, size_t pc, SaveStateIns… in BuildInitJSCallClass()
87size_t pc, RuntimeInterface::MethodPtr method, in BuildResolveInteropCallIntrinsic()
112 IntrinsicInst *InstBuilder::CreateInteropCallIntrinsic(size_t pc, RuntimeInterface::InteropCallKind… in CreateInteropCallIntrinsic()
121 …der::BuildReturnValueConvertInteropIntrinsic(RuntimeInterface::InteropCallKind callKind, size_t pc, in BuildReturnValueConvertInteropIntrinsic()
153 auto pc = GetPc(bcInst->GetAddress()); in BuildInteropCall() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_entrypoints.cpp119 ObjectHeader *LaunchFromInterpreterImpl(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterImpl()
145 extern "C" ObjectHeader *LaunchFromInterpreterShort(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterShort()
150 extern "C" ObjectHeader *LaunchFromInterpreterLong(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterLong()
155 extern "C" ObjectHeader *LaunchFromInterpreterRange(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterRange()
161 Method *caller, const uint8_t *pc) in LookupFieldByNameEntrypoint()
175 const uint8_t *pc) in LookupGetterByNameEntrypoint()
189 const uint8_t *pc) in LookupSetterByNameEntrypoint()
202 Method *caller, const uint8_t *pc) in LookupGetterByNameShortEntrypoint()
208 Method *caller, const uint8_t *pc) in LookupGetterByNameLongEntrypoint()
214 Method *caller, const uint8_t *pc) in LookupGetterByNameObjEntrypoint()
[all …]
/arkcompiler/runtime_core/static_core/verification/cflow/
Dcflow_check.cpp32 uint8_t const *&pc) in CheckValidFlagInstructionException()
65 auto target) -> std::optional<VerificationStatus> { in CheckCode()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dir_builder.h112 void CreateBlock(size_t pc) in CreateBlock()
120 BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc()
125 BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc()
Dir_builder.cpp270 …rBuilder::AddInstructionToBB(BasicBlock *bb, BytecodeInstruction &inst, [[maybe_unused]] size_t pc, in AddInstructionToBB()
322 auto pc = instBuilder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local
340 auto pc = bb->GetSuccsBlocks()[0]->GetGuestPc(); in BuildInstructionsForBB() local
383 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local
407 void IrBuilder::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc()
451 auto pc = catchBlock.GetHandlerPc(); in CreateTryCatchBoundariesBlocks() local
471 for (auto pc : catchesPc_) { in CreateTryCatchBoundariesBlocks() local
482 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks() local
521 void IrBuilder::TrackTryBoundaries(size_t pc, const BytecodeInstruction &inst, BasicBlock *targetBb, in TrackTryBoundaries()
566 BasicBlock *IrBuilder::GetBlockToJump(BytecodeInstruction *inst, size_t pc) in GetBlockToJump()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/tests/
Djs_stackinfo_test.cpp455 uintptr_t pc = 0; in HWTEST_F_L0() local
503 uintptr_t pc = 0; in HWTEST_F_L0() local
688 uintptr_t pc = 0; in HWTEST_F_L0() local
718 uintptr_t pc = 0; in HWTEST_F_L0() local
747 uintptr_t pc = 0; in HWTEST_F_L0() local
776 uintptr_t pc = 0; in HWTEST_F_L0() local
813 uintptr_t pc = 0; in HWTEST_F_L0() local
851 uintptr_t pc = 0; in HWTEST_F_L0() local
880 uintptr_t pc = 0; in HWTEST_F_L0() local
911 uintptr_t pc = 0; in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dbytecode_instruction.h91 explicit BytecodeInstBase(const uint8_t *pc) : pc_ {pc} {} in BytecodeInstBase()
139 explicit BytecodeInstBase(const uint8_t *pc, const uint8_t *from, const uint8_t *to) in BytecodeInstBase()
233 explicit BytecodeInst(const uint8_t *pc) : Base {pc} in BytecodeInst()
238 …explicit BytecodeInst(const uint8_t *pc, const uint8_t *from, const uint8_t *to) : Base {pc, from,… in BytecodeInst()
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction.h91 explicit BytecodeInstBase(const uint8_t *pc) : pc_ {pc} {} in BytecodeInstBase()
139 explicit BytecodeInstBase(const uint8_t *pc, const uint8_t *from, const uint8_t *to) in BytecodeInstBase()
233 explicit BytecodeInst(const uint8_t *pc) : Base {pc} in BytecodeInst()
238 …explicit BytecodeInst(const uint8_t *pc, const uint8_t *from, const uint8_t *to) : Base {pc, from,… in BytecodeInst()
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/
Dtest_interpreter_impl.cpp24 void ExecuteImpl(ManagedThread *thread, const uint8_t *pc, Frame *frame) in ExecuteImpl()
Dtest_interpreter.cpp23 void Execute(ManagedThread *thread, const uint8_t *pc, Frame *frame) in Execute()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dir_interface.h87 size_t GetLineNumberByPc(size_t pc) const in GetLineNumberByPc()
99 uint32_t GetColumnNumberByPc(size_t pc) const in GetColumnNumberByPc()

1234567