| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_handle.h | 93 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 …]
|
| D | global_handle_collection.h | 43 thread_->DisposeGlobalHandle(handle.GetAddress()); in Dispose()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 20 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 25 auto inst_save_state = CreateSaveState(Opcode::SaveState, GetPc(instruction->GetAddress())); 26 …check = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 37 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 45 … auto inst = graph_->CreateInstAdd(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 55 … auto inst = graph_->CreateInstCast(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 66 …auto inst = graph_->CreateInstCompare(DataType::BOOL, GetPc(instruction->GetAddress()), ConditionC… 68 … auto inst = graph_->CreateInstCmp(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 79 …auto inst = graph_->CreateInstCompare(DataType::BOOL, GetPc(instruction->GetAddress()), <%= get_cc… 87 …auto inst_jump = graph_->CreateInstIfImm(DataType::NO_TYPE, GetPc(instruction->GetAddress()), Cond… [all …]
|
| D | inst_builder-inl.h | 41 auto save_state = CreateSaveState(Opcode::SaveState, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool() 48 …inst = GetGraph()->CreateInstUnresolvedLoadType(DataType::REFERENCE, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool() 54 … inst = GetGraph()->CreateInstLoadType(DataType::REFERENCE, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool() 61 inst = GetGraph()->CreateInstLoadString(DataType::REFERENCE, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool() 88 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyString() 115 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyNumber()
|
| D | pbc_iterator.h | 39 return inst_.GetAddress() != rhs.inst_.GetAddress(); 62 return INST.GetAddress() - data_; in GetPc()
|
| /arkcompiler/runtime_core/disassembler/templates/ |
| D | get_ins_info.cpp.erb | 35 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/ |
| D | bytecode_instruction.h | 101 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()
|
| D | debug_info_extractor.cpp | 50 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()
|
| D | debug_helpers.h | 118 if (state_->GetAddress() == bc_offset_) { in HandleSpecialOpcode() 123 if (state_->GetAddress() > bc_offset_) { in HandleSpecialOpcode()
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | interpreter_impl.cpp | 83 if (inst.GetAddress() == GetInst().GetAddress()) { in DebugDump() 90 … << reinterpret_cast<uintptr_t>(inst.GetAddress()) << std::dec << ": " << inst << std::endl; in DebugDump()
|
| D | instruction_handler_state.h | 131 return GetInst().GetAddress() - instructions_; in GetBytecodeOffset()
|
| /arkcompiler/runtime_core/runtime/ |
| D | handle_scope.h | 81 …*(reinterpret_cast<T *>(escapeHandle_.GetAddress())) = *(reinterpret_cast<T *>(handle.GetAddress()… in Escape()
|
| D | handle_base.h | 74 inline uintptr_t GetAddress() const in GetAddress() function
|
| /arkcompiler/runtime_core/disassembler/ |
| D | disassembler.cpp | 524 while (bc_ins_first.GetAddress() != bc_ins_cur.GetAddress()) { in getBytecodeInstructionNumber() 527 if (bc_ins_first.GetAddress() > bc_ins_cur.GetAddress()) { in getBytecodeInstructionNumber() 546 const bool try_begin_offset_in_range = bc_ins_last.GetAddress() > try_begin_bc_ins.GetAddress(); in LocateTryBlock() 547 const bool try_end_offset_in_range = bc_ins_last.GetAddress() >= try_end_bc_ins.GetAddress(); in LocateTryBlock() 553 << try_begin_bc_ins.GetAddress(); in LocateTryBlock() 570 << try_end_bc_ins.GetAddress(); in LocateTryBlock() 602 …nst bool handler_begin_offset_in_range = bc_ins_last.GetAddress() > handler_begin_bc_ins.GetAddres… in LocateCatchBlock() 603 …const bool handler_end_offset_in_range = bc_ins_last.GetAddress() > handler_end_bc_ins.GetAddress(… in LocateCatchBlock() 610 << handler_begin_bc_ins.GetAddress(); in LocateCatchBlock() 627 << handler_end_bc_ins.GetAddress(); in LocateCatchBlock() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_snapshot.cpp | 122 Node *node = entryMap_.FindAndEraseNode((*iter)->GetAddress()); in UpdateNodes() 631 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GenerateNode() 893 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GeneratePrivateStringNode() 895 if ((node->GetAddress() == existNode->GetAddress()) && (existNode->GetName()->empty())) { in GeneratePrivateStringNode() 912 auto *objFrom = reinterpret_cast<TaggedObject *>((*iter)->GetAddress()); in FillEdges() 942 JSTaggedValue jsFrom(reinterpret_cast<TaggedObject *>((*iter)->GetAddress())); in FillEdges() 963 auto *from = reinterpret_cast<TaggedObject *>(edge->GetFrom()->GetAddress()); in BridgeAllReferences() 964 auto *to = reinterpret_cast<TaggedObject *>(edge->GetTo()->GetAddress()); in BridgeAllReferences() 1089 auto it = nodesMap_.find(node->GetAddress()); in FindOrInsertNode() 1118 nodesMap_.emplace(node->GetAddress(), node); in InsertEntry()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
| D | instruction.h | 42 const uint8_t *GetAddress() const in GetAddress() function 47 const uint8_t *GetAddress() volatile const in GetAddress() function
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | jsnapi.h | 104 return GetAddress(); 109 return GetAddress(); 114 return GetAddress() == nullptr; in IsEmpty() 119 return IsEmpty() || GetAddress()->IsHole(); in IsNull() 124 inline T *GetAddress() const in GetAddress() function 206 return GetAddress(); 211 return GetAddress(); 216 return GetAddress() == nullptr; in IsEmpty() 231 inline T *GetAddress() const in GetAddress() function 301 return GetAddress(); [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 271 …auto inst = GetGraph()->CreateInstIntrinsic(<%= ret_type %>, GetPc(bc_inst->GetAddress()), intrins… 315 auto inst_save_state = CreateSaveState(Opcode::SaveState, GetPc(bc_inst->GetAddress())); 327 … input = BuildAnyTypeCheckInst(GetPc(bc_inst->GetAddress()), input, inst_save_state); 355 … input = BuildAnyTypeCheckInst(GetPc(bc_inst->GetAddress()), input, inst_save_state); 370 … input = BuildAnyTypeCheckInst(GetPc(bc_inst->GetAddress()), input, inst_save_state); 381 … input = BuildAnyTypeCheckInst(GetPc(bc_inst->GetAddress()), input, inst_save_state);
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | debug_info_extractor.cpp | 60 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in ProcessBegin() 124 cnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetColumn())}); in HandleSetColumn() 132 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in HandleSpecialOpcode()
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | vm_handle.h | 53 return *(reinterpret_cast<T **>(GetAddress())); in GetPtr()
|
| /arkcompiler/runtime_core/verification/gen/templates/ |
| D | cflow_iterate_inl_gen.h.erb | 46 const uint8_t* pc = inst_.GetAddress(); 79 const uint8_t* jump_pc = target_inst.GetAddress();
|
| /arkcompiler/runtime_core/compiler/aot/aot_builder/ |
| D | elf_builder.h | 152 auto GetAddress() const in GetAddress() function 582 patches_.emplace_back(first_patch_argument, [this]() { return dynsym_section_.GetAddress(); }); in ConstructDynamicSection() 589 patches_.emplace_back(second_patch_argument, [this]() { return dynstr_section_.GetAddress(); }); in ConstructDynamicSection() 596 patches_.emplace_back(third_patch_argument, [this]() { return hash_section_.GetAddress(); }); in ConstructDynamicSection() 699 [this]() { return text_section_.GetAddress(); }); in AddSymbols() 702 [this]() { return text_section_.GetAddress() + text_section_.GetDataSize(); }); in AddSymbols() 703 …l("aot", aot_section_.GetDataSize(), aot_section_, [this]() { return aot_section_.GetAddress(); }); in AddSymbols() 705 [this]() { return aot_section_.GetAddress() + aot_section_.GetDataSize(); }); in AddSymbols()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | bytecode_info_collector.cpp | 178 const uint8_t *curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC() 180 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in CollectMethodPcsFromBC() 183 curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi_helper.h | 65 return Local<T>(from.GetAddress()); in ToLocal()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | instruction_pointer.cpp | 35 …EXPECT_EQ(instruction_.GetAddress(), instruction_.GetFrom()) << "InstructionPointer not finished s… in ~InstructionPointer()
|