Home
last modified time | relevance | path

Searched refs:GetAddress (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Djs_handle.h93 inline uintptr_t GetAddress() const in GetAddress() function
99 explicit JSHandle(const JSHandle<S> &handle) : address_(handle.GetAddress()) {} in JSHandle()
105 return JSHandle<T>(handle.GetAddress()); in Cast()
110 if (GetAddress() == 0U) { in GetTaggedValue()
113 …return *(reinterpret_cast<JSTaggedValue *>(GetAddress())); // NOLINT(clang-analyzer-core.NullDere… in GetTaggedValue()
118 if (GetAddress() == 0U) { in GetTaggedType()
121 …return *reinterpret_cast<JSTaggedType *>(GetAddress()); // NOLINT(clang-analyzer-core.NullDerefer… in GetTaggedType()
146 return GetAddress() == 0U; in IsEmpty()
183 return reinterpret_cast<JSTaggedValue *>(GetAddress());
189 return reinterpret_cast<JSTaggedValue *>(GetAddress());
[all …]
Dglobal_handle_collection.h43 thread_->DisposeGlobalHandle(handle.GetAddress()); in Dispose()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h39 return inst_.GetAddress() != rhs.inst_.GetAddress();
62 return INST.GetAddress() - data_; in GetPc()
Dinst_builder-inl.h30 auto save_state = CreateSaveState(Opcode::SaveState, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool()
35 inst = GetGraph()->CreateInstLoadString(DataType::REFERENCE, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool()
56 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyString()
82 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyNumber()
Dir_builder.cpp132 auto pc = inst_builder->GetPc(inst.GetAddress()); in BuildInstructionsForBB()
138 … << reinterpret_cast<void *>(inst.GetAddress() - instructions_buf); in BuildInstructionsForBB()
194 …return inst->GetAddress() != nullptr && InstBuilder::GetInstructionJumpOffset(inst) == INVALID_OFF… in InstNotJump()
/arkcompiler/runtime_core/disassembler/templates/
Dget_ins_info.cpp.erb35 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) {
39 << code_id.GetOffset() + bc_ins.GetAddress() - BytecodeInstruction(ins_arr).GetAddress();
56 const uint8_t* pc = bc_ins.GetAddress();
/arkcompiler/runtime_core/libpandafile/
Ddebug_info_extractor.cpp50 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in ProcessBegin()
96 lvt_.push_back({name, type, type, reg_number, state_->GetAddress(), 0}); in HandleStartLocal()
105 lvt_.push_back({name, type, type_sign, reg_number, state_->GetAddress(), 0}); in HandleStartLocalExtended()
114 it->end_offset = state_->GetAddress(); in HandleEndLocal()
128 cnt_.push_back({state_->GetAddress(), state_->GetColumn()}); in HandleSetColumn()
136 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in HandleSpecialOpcode()
172 var.end_offset = state_->GetAddress(); in ProcessVars()
Dbytecode_instruction.h101 const uint8_t *GetAddress() const in GetAddress() function
106 const uint8_t *GetAddress() volatile const in GetAddress() function
171 const uint8_t *GetAddress() const in GetAddress() function
191 const uint8_t *GetAddress() volatile const in GetAddress() function
326 const uint8_t *GetAddress() const in GetAddress() function
328 return Base::GetAddress(); in GetAddress()
331 const uint8_t *GetAddress() volatile const in GetAddress() function
333 return Base::GetAddress(); in GetAddress()
Ddebug_helpers.h118 if (state_->GetAddress() == bc_offset_) { in HandleSpecialOpcode()
123 if (state_->GetAddress() > bc_offset_) { in HandleSpecialOpcode()
Dline_number_program.h89 uint32_t GetAddress() const in GetAddress() function
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp53 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in ProcessBegin()
62 iter->endOffset = state_->GetAddress(); in ProcessEnd()
105 uint32_t startOffset = state_->GetAddress(); in HandleStartLocal()
115 uint32_t startOffset = state_->GetAddress(); in HandleStartLocalExtended()
127 iter->endOffset = state_->GetAddress(); in HandleEndLocal()
137 cnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetColumn())}); in HandleSetColumn()
145 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in HandleSpecialOpcode()
Dpanda_file_translator.cpp315 auto pc = const_cast<uint8_t *>(inst.GetAddress()); in FixOpcode()
1427 auto pc = const_cast<uint8_t *>(inst.GetAddress()); in FixInstructionId32()
1510 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in TranslateBytecode()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp123 Node *node = entryMap_.FindAndEraseNode((*iter)->GetAddress()); in UpdateNodes()
125 entryIdMap_->EraseId((*iter)->GetAddress()); in UpdateNodes()
631 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GenerateNode()
897 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GeneratePrivateStringNode()
899 if ((node->GetAddress() == existNode->GetAddress()) && (existNode->GetName()->empty())) { in GeneratePrivateStringNode()
917 auto *objFrom = reinterpret_cast<TaggedObject *>(entryFrom->GetAddress()); in FillEdges()
956 JSTaggedValue jsFrom(reinterpret_cast<TaggedObject *>((*iter)->GetAddress())); in FillPrimitiveEdge()
996 auto *from = reinterpret_cast<TaggedObject *>(edge->GetFrom()->GetAddress()); in BridgeAllReferences()
997 auto *to = reinterpret_cast<TaggedObject *>(edge->GetTo()->GetAddress()); in BridgeAllReferences()
1122 auto it = nodesMap_.find(node->GetAddress()); in FindOrInsertNode()
[all …]
Dheap_profiler.cpp78 auto addr = node->GetAddress(); in RemoveDeadEntryId()
Dheap_snapshot.h110 Address GetAddress() const in GetAddress() function
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp521 while (bc_ins_first.GetAddress() != bc_ins_cur.GetAddress()) { in getBytecodeInstructionNumber()
524 if (bc_ins_first.GetAddress() > bc_ins_cur.GetAddress()) { in getBytecodeInstructionNumber()
543 const bool try_begin_offset_in_range = bc_ins_last.GetAddress() > try_begin_bc_ins.GetAddress(); in LocateTryBlock()
544 const bool try_end_offset_in_range = bc_ins_last.GetAddress() >= try_end_bc_ins.GetAddress(); in LocateTryBlock()
550 << try_begin_bc_ins.GetAddress(); in LocateTryBlock()
567 << try_end_bc_ins.GetAddress(); in LocateTryBlock()
599 …nst bool handler_begin_offset_in_range = bc_ins_last.GetAddress() > handler_begin_bc_ins.GetAddres… in LocateCatchBlock()
600 …const bool handler_end_offset_in_range = bc_ins_last.GetAddress() > handler_end_bc_ins.GetAddress(… in LocateCatchBlock()
607 << handler_begin_bc_ins.GetAddress(); in LocateCatchBlock()
624 << handler_end_bc_ins.GetAddress(); in LocateCatchBlock()
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dinstruction.h42 const uint8_t *GetAddress() const in GetAddress() function
47 const uint8_t *GetAddress() volatile const in GetAddress() function
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.cpp84 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in MethodEntry()
89 std::pair<uint16_t, uint16_t> lexVarPos = ReadStlexvarParams(bcIns.GetAddress(), op); in MethodEntry()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h107 return GetAddress();
112 return GetAddress();
117 return GetAddress() == nullptr; in IsEmpty()
122 return IsEmpty() || GetAddress()->IsHole(); in IsNull()
127 inline T *GetAddress() const in GetAddress() function
209 return GetAddress();
214 return GetAddress();
219 return GetAddress() == nullptr; in IsEmpty()
236 inline T *GetAddress() const in GetAddress() function
306 return GetAddress();
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dpgo_bc_info.cpp67 uint32_t bcOffset = bcIns.GetAddress() - method->GetBytecodeArray(); in Record()
Dbytecode_info_collector.cpp243 const uint8_t *curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC()
247 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in CollectMethodPcsFromBC()
259 curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC()
265 pcOffsets.emplace_back(bcInsLast.GetAddress()); in CollectMethodPcsFromBC()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_helper.h77 return Local<T>(from.GetAddress()); in ToLocal()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb269 …auto inst = GetGraph()->CreateInstIntrinsic(<%= ret_type %>, GetPc(bc_inst->GetAddress()), intrins…
313 auto inst_save_state = CreateSaveState(Opcode::SaveState, GetPc(bc_inst->GetAddress()));
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp794 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) { in TEST()
/arkcompiler/runtime_core/compiler/docs/
Dir_builder.md130 auto inst = graph_->CreateInstAdd(DataType::INT32, GetPc(instruction->GetAddress()));

12