Home
last modified time | relevance | path

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

123456

/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()
61 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()
Dinterpreter_impl.cpp37 void ExecuteImplType(InterpreterType interpreterType, ManagedThread *thread, const uint8_t *pc, Fra… in ExecuteImplType()
77 void ExecuteImpl(ManagedThread *thread, const uint8_t *pc, Frame *frame, bool jumpToEh) in ExecuteImpl()
/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()
153 void Init(uintptr_t pc) in Init()
211 void Init(uintptr_t pc) in Init()
255 CallSiteInlineCache *FindInlineCache(uintptr_t pc) in FindInlineCache()
263 void UpdateInlineCaches(uintptr_t pc, Class *cls) in UpdateInlineCaches()
272 void UpdateBranchTaken(uintptr_t pc) in UpdateBranchTaken()
279 void UpdateBranchNotTaken(uintptr_t pc) in UpdateBranchNotTaken()
286 int64_t GetBranchTakenCounter(uintptr_t pc) in GetBranchTakenCounter()
293 int64_t GetBranchNotTakenCounter(uintptr_t pc) in GetBranchNotTakenCounter()
[all …]
/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.cpp46 Field *TryGetField(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetField()
67 ark::Method *TryGetCallee(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetCallee()
147 T CompilerEtsLdObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByName()
243 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName()
277 void CompilerEtsStObjByNameRef(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameRef()
308 extern "C" int32_t CompilerEtsLdObjByNameI32(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI32()
313 extern "C" int64_t CompilerEtsLdObjByNameI64(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI64()
318 extern "C" float CompilerEtsLdObjByNameF32(ark::Method *method, int32_t id, uint32_t pc, ark::Objec… in CompilerEtsLdObjByNameF32()
323 extern "C" double CompilerEtsLdObjByNameF64(ark::Method *method, int32_t id, uint32_t pc, ark::Obje… in CompilerEtsLdObjByNameF64()
328 …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.h40 GateRef InterpreterStubBuilder::ReadInst8_0(GateRef pc) in ReadInst8_0()
45 GateRef InterpreterStubBuilder::ReadInst8_1(GateRef pc) in ReadInst8_1()
50 GateRef InterpreterStubBuilder::ReadInst8_2(GateRef pc) in ReadInst8_2()
55 GateRef InterpreterStubBuilder::ReadInst8_3(GateRef pc) in ReadInst8_3()
60 GateRef InterpreterStubBuilder::ReadInst8_4(GateRef pc) in ReadInst8_4()
65 GateRef InterpreterStubBuilder::ReadInst8_5(GateRef pc) in ReadInst8_5()
70 GateRef InterpreterStubBuilder::ReadInst8_6(GateRef pc) in ReadInst8_6()
75 GateRef InterpreterStubBuilder::ReadInst8_7(GateRef pc) in ReadInst8_7()
80 GateRef InterpreterStubBuilder::ReadInst8_8(GateRef pc) in ReadInst8_8()
85 GateRef InterpreterStubBuilder::ReadInst8_9(GateRef pc) in ReadInst8_9()
[all …]
Dprofiler_stub_builder.h42 SlotIDInfo(GateRef pc, SlotIDFormat format) in SlotIDInfo()
76 GateRef pc = 0; member
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.cpp308 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV4V4()
320 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV8V8()
332 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleMovV16V16()
344 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleLdaStrId16()
355 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm8()
365 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm16()
375 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJmpImm32()
385 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm8()
401 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm16()
417 …JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof… in HandleJeqzImm32()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/
Dets_inst_builder.cpp36 auto pc = GetPc(bcInst->GetAddress()); in BuildLaunch() local
85 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName() local
157 IntrinsicInst *InstBuilder::CreateStObjByNameIntrinsic(size_t pc, compiler::DataType::Type type) in CreateStObjByNameIntrinsic()
181 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName() local
235 auto pc = GetPc(bcInst->GetAddress()); in BuildEquals() local
/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/static_core/plugins/ets/runtime/
Dets_entrypoints.cpp117 ObjectHeader *LaunchFromInterpreterImpl(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterImpl()
143 extern "C" ObjectHeader *LaunchFromInterpreterShort(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterShort()
148 extern "C" ObjectHeader *LaunchFromInterpreterLong(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterLong()
153 extern "C" ObjectHeader *LaunchFromInterpreterRange(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterRange()
159 Method *caller, const uint8_t *pc) in LookupFieldByNameEntrypoint()
175 const uint8_t *pc) in LookupGetterByNameEntrypoint()
190 const uint8_t *pc) in LookupSetterByNameEntrypoint()
204 Method *caller, const uint8_t *pc) in LookupGetterByNameShortEntrypoint()
210 Method *caller, const uint8_t *pc) in LookupGetterByNameLongEntrypoint()
216 Method *caller, const uint8_t *pc) in LookupGetterByNameObjEntrypoint()
[all …]
/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/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.h110 void CreateBlock(size_t pc) in CreateBlock()
118 BasicBlock *GetBlockForPc(size_t pc) in GetBlockForPc()
123 BasicBlock *GetPrevBlockForPc(size_t pc) in GetPrevBlockForPc()
Dir_builder.cpp269 …rBuilder::AddInstructionToBB(BasicBlock *bb, BytecodeInstruction &inst, [[maybe_unused]] size_t pc, in AddInstructionToBB()
321 auto pc = instBuilder->GetPc(inst.GetAddress()); in BuildInstructionsForBB() local
339 auto pc = bb->GetSuccsBlocks()[0]->GetGuestPc(); in BuildInstructionsForBB() local
382 auto pc = instructions.GetPc(inst); in BuildBasicBlocks() local
406 void IrBuilder::EnumerateTryBlocksCoveredPc(uint32_t pc, const Callback &callback) in EnumerateTryBlocksCoveredPc()
449 auto pc = catchBlock.GetHandlerPc(); in CreateTryCatchBoundariesBlocks() local
469 for (auto pc : catchesPc_) { in CreateTryCatchBoundariesBlocks() local
480 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks() local
519 void IrBuilder::TrackTryBoundaries(size_t pc, const BytecodeInstruction &inst, BasicBlock *targetBb, in TrackTryBoundaries()
564 BasicBlock *IrBuilder::GetBlockToJump(BytecodeInstruction *inst, size_t pc) in GetBlockToJump()
[all …]
/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/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.cpp23 void Execute(ManagedThread *thread, const uint8_t *pc, Frame *frame) in Execute()
Dtest_interpreter_impl.cpp24 void ExecuteImpl(ManagedThread *thread, const uint8_t *pc, Frame *frame) in ExecuteImpl()

123456