Home
last modified time | relevance | path

Searched full:getaddress (Results 1 – 25 of 91) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/abc2program/
Dabc_code_processor.cpp53 while (bcInsFirst.GetAddress() != bcInsCur.GetAddress()) { in GetBytecodeInstructionNumber()
56 if (bcInsFirst.GetAddress() > bcInsCur.GetAddress()) { in GetBytecodeInstructionNumber()
77 if (immToLabel.bcInsLast.GetAddress() <= bcInsDest.GetAddress()) { in TranslateImmToLabel()
80 … << (immToLabel.bcIns.GetAddress() - immToLabel.insArr) << ": invalid jump offset 0x" in TranslateImmToLabel()
97 … << (immToLabel.bcIns.GetAddress() - immToLabel.insArr) << ": invalid jump offset 0x" in TranslateImmToLabel()
111 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in FillProgramData()
167 …handlerBeginOffsetInRange = locateCatchBlock.bcInsLast.GetAddress() > handlerBeginBcIns.GetAddress in LocateCatchBlock()
168 …ol handlerEndOffsetInRange = locateCatchBlock.bcInsLast.GetAddress() > handlerEndBcIns.GetAddress(… in LocateCatchBlock()
174 << handlerBeginBcIns.GetAddress(); in LocateCatchBlock()
190 << handlerEndBcIns.GetAddress(); in LocateCatchBlock()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/
Dir_build_intrinsics_ets.cpp45 …GetGraph()->CreateInstBitcast(itype, GetPc(bcInst->GetAddress()), GetArgDefinition(bcInst, 0, accR… in BuildIsFiniteIntrinsic()
47 …GetGraph()->CreateInstShr(itype, GetPc(bcInst->GetAddress()), bitcast, FindOrCreateConstant(fpFrac… in BuildIsFiniteIntrinsic()
48 …auto mask = GetGraph()->CreateInstAnd(itype, GetPc(bcInst->GetAddress()), shift, FindOrCreateConst… in BuildIsFiniteIntrinsic()
49 auto cmp = GetGraph()->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), mask, in BuildIsFiniteIntrinsic()
59 …GetGraph()->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), GetArgDefinition(bcInst… in BuildStdRuntimeEquals()
67 auto bitcast = GetGraph()->CreateInstBitcast(DataType::INT64, GetPc(bcInst->GetAddress()), in BuildSignbitIntrinsic()
71 …GetGraph()->CreateInstShr(DataType::INT64, GetPc(bcInst->GetAddress()), bitcast, FindOrCreateConst… in BuildSignbitIntrinsic()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h40 return inst_.GetAddress() != rhs.inst_.GetAddress();
45 return inst_.GetAddress() == rhs.inst_.GetAddress();
68 return INST.GetAddress() - data_; in GetPc()
Dinst_templates.yaml20 …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 …]
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()
/arkcompiler/ets_runtime/ecmascript/
Djs_handle.h104 inline uintptr_t GetAddress() const in GetAddress() function
110 explicit JSHandle(const JSHandle<S> &handle) : address_(handle.GetAddress()) {} in JSHandle()
116 return JSHandle<T>(handle.GetAddress()); in Cast()
122 if (GetAddress() == 0U) { in GetTaggedValue()
125 …return *(reinterpret_cast<JSTaggedValue *>(GetAddress())); // NOLINT(clang-analyzer-core.NullDere… in GetTaggedValue()
131 if (GetAddress() == 0U) { in GetTaggedType()
134 …return *reinterpret_cast<JSTaggedType *>(GetAddress()); // NOLINT(clang-analyzer-core.NullDerefer… in GetTaggedType()
159 return GetAddress() == 0U; in IsEmpty()
198 return reinterpret_cast<JSTaggedValue *>(GetAddress());
204 return reinterpret_cast<JSTaggedValue *>(GetAddress());
[all …]
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml20 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
25 …auto instSaveState = CreateSaveState(compiler::Opcode::SaveState, GetPc(instruction->GetAddress())…
26 …Check = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
33 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
41 … auto inst = graph_->CreateInstAdd(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
47 … auto inst = graph_->CreateInstCast(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
58 …auto inst = graph_->CreateInstCompare(compiler::DataType::BOOL, GetPc(instruction->GetAddress()), …
60 … auto inst = graph_->CreateInstCmp(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
72 …auto inst = graph_->CreateInstIf(compiler::DataType::NO_TYPE, GetPc(instruction->GetAddress()), Ge…
75 …auto inst = graph_->CreateInstIf(compiler::DataType::NO_TYPE, GetPc(instruction->GetAddress()), Ge…
[all …]
/arkcompiler/runtime_core/libabckit/src/templates/abckit_intrinsics/
Dinst_builder_abckit_intrinsics.inc.erb72 auto pc = GetPc(bcInst->GetAddress());
175 …>CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddress()), ark::compile…
177 …>CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddress()), ark::compile…
179 …>CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddress()), ark::compile…
212 …inst = GetGraph()->CreateInstIntrinsic(retType, GetPc(bcInst->GetAddress()), ark::compiler::Runtim…
216 …inst = GetGraph()->CreateInstIntrinsic(retType, GetPc(bcInst->GetAddress()), ark::compiler::Runtim…
220 …inst = GetGraph()->CreateInstIntrinsic(retType, GetPc(bcInst->GetAddress()), ark::compiler::Runtim…
252 …inst = GetGraph()->CreateInstIntrinsic(type, GetPc(bcInst->GetAddress()), ark::compiler::RuntimeIn…
256 …inst = GetGraph()->CreateInstIntrinsic(type, GetPc(bcInst->GetAddress()), ark::compiler::RuntimeIn…
260 …inst = GetGraph()->CreateInstIntrinsic(type, GetPc(bcInst->GetAddress()), ark::compiler::RuntimeIn…
[all …]
/arkcompiler/runtime_core/static_core/disassembler/templates/
Dget_ins_info.cpp.erb36 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) {
40 << bc_ins.GetAddress() - BytecodeInstruction(ins_arr).GetAddress();
57 const uint8_t* pc = bc_ins.GetAddress();
/arkcompiler/runtime_core/disassembler/templates/
Dget_ins_info.cpp.erb34 while (bc_ins.GetAddress() != bc_ins_last.GetAddress()) {
38 << instruction_offset + bc_ins.GetAddress() - BytecodeInstruction(ins_arr).GetAddress();
55 const uint8_t* pc = bc_ins.GetAddress();
/arkcompiler/runtime_core/verifier/
Dverifier.cpp123 while (bc_ins.GetAddress() < bc_ins_last.GetAddress()) { in VerifyRegisterIndex()
238 while (bc_ins.GetAddress() < bc_ins_last.GetAddress()) { in CollectIdInInstructions()
577 instruction_index_map_[current_ins.GetAddress()] = index; in PrecomputeInstructionIndices()
579 while (current_ins.GetAddress() < bc_ins_last.GetAddress()) { in PrecomputeInstructionIndices()
587 instruction_index_map_[current_ins.GetAddress()] = index; in PrecomputeInstructionIndices()
594 if (instruction_index_map_.find(bc_ins_cur.GetAddress()) != instruction_index_map_.end()) { in IsMethodBytecodeInstruction()
605 const auto bc_ins_forward_size = bc_ins_last.GetAddress() - bc_ins.GetAddress(); in VerifyJumpInstruction()
607 const auto bc_ins_backward_size = bc_ins.GetAddress() - bc_ins_first.GetAddress(); in VerifyJumpInstruction()
631 … << "). incorrect instruction at offset: 0x" << (bc_ins.GetAddress() - ins_arr) in VerifyJumpInstruction()
682 …nst bool handler_begin_offset_in_range = bc_ins_last.GetAddress() > handler_begin_bc_ins.GetAddres… in VerifyCatchBlocks()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h43 pc_ = Builder()->GetPc(bcInst->GetAddress()); in BuildCallHelper()
253 auto saveState = CreateSaveState(Opcode::SaveState, GetPc(bcInst->GetAddress())); in BuildMonitor()
254 auto inst = GetGraph()->CreateInstMonitor(DataType::VOID, GetPc(bcInst->GetAddress())); in BuildMonitor()
260 …auto nullCheck = graph_->CreateInstNullCheck(DataType::REFERENCE, GetPc(bcInst->GetAddress()), def… in BuildMonitor()
299 … auto inst = GetGraph()->CreateInstAbs(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildAbsIntrinsic()
336 …ateBinaryOperation<OPCODE>(GetGraph(), GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildBinaryOperationIntrinsic()
348 …auto inst = GetGraph()->CreateInstSqrt(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildSqrtIntrinsic()
364 … auto inst = GetGraph()->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), vreg, vreg, in BuildIsNanIntrinsic()
374 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringLengthIntrinsic()
399 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringIsEmptyIntrinsic()
[all …]
Dinst_templates.yaml20 …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()));
41 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
65 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()),
75 …->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), GetDefinitio…
80 … auto inst = graph_->CreateInstAdd(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()));
91 …auto inst = graph_->CreateInstCast(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), …
99 …auto inst = graph_->CreateInstCompare(DataType::BOOL, GetPc(instruction->GetAddress()), GetDefinit…
103 …auto inst = graph_->CreateInstCmp(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), G…
[all …]
Dpbc_iterator.h39 return inst_.GetAddress() != rhs.inst_.GetAddress();
62 return inst.GetAddress() - data_; in GetPc()
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/
Dbytecode_inst.h134 const uint8_t *GetAddress() const in GetAddress() function
139 const uint8_t *GetAddress() volatile const in GetAddress() function
209 const uint8_t *GetAddress() const in GetAddress() function
211 return Base::GetAddress(); in GetAddress()
214 const uint8_t *GetAddress() volatile const in GetAddress() function
216 return Base::GetAddress(); in GetAddress()
Dpbc_iterator_dyn.h44 return inst_.GetAddress() != rhs.inst_.GetAddress();
67 return inst.GetAddress() - data_; in GetPc()
/arkcompiler/runtime_core/static_core/libpandafile/
Ddebug_info_extractor.cpp44 lnt_.push_back({state_->GetAddress(), state_->GetLine()}); in ProcessBegin()
90 lvt_.push_back({name, type, type, regNumber, state_->GetAddress(), 0}); in HandleStartLocal()
99 lvt_.push_back({name, type, typeSign, regNumber, state_->GetAddress(), 0}); in HandleStartLocalExtended()
108 it->endOffset = state_->GetAddress(); in HandleEndLocal()
128 cnt_.push_back({state_->GetAddress(), state_->GetColumn()}); in HandleSetColumn()
136 lnt_.push_back({state_->GetAddress(), state_->GetLine()}); in HandleSpecialOpcode()
172 var.endOffset = 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
337 const uint8_t *GetAddress() const in GetAddress() function
339 return Base::GetAddress(); in GetAddress()
342 const uint8_t *GetAddress() volatile const in GetAddress() function
344 return Base::GetAddress(); in GetAddress()
Ddebug_helpers.h123 if (state_->GetAddress() == bcOffset_) { in HandleSpecialOpcode()
128 if (state_->GetAddress() > bcOffset_) { in HandleSpecialOpcode()
/arkcompiler/runtime_core/libpandafile/
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
331 const uint8_t *GetAddress() const in GetAddress() function
333 return Base::GetAddress(); in GetAddress()
336 const uint8_t *GetAddress() volatile const in GetAddress() function
338 return Base::GetAddress(); in GetAddress()
Ddebug_info_extractor.cpp49 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in ProcessBegin()
95 lvt_.push_back({name, type, type, reg_number, state_->GetAddress(), 0}); in HandleStartLocal()
104 lvt_.push_back({name, type, type_sign, reg_number, state_->GetAddress(), 0}); in HandleStartLocalExtended()
113 it->end_offset = state_->GetAddress(); in HandleEndLocal()
127 cnt_.push_back({state_->GetAddress(), state_->GetColumn()}); in HandleSetColumn()
135 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in HandleSpecialOpcode()
171 var.end_offset = state_->GetAddress(); in ProcessVars()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp51 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in ProcessBegin()
60 iter->endOffset = state_->GetAddress(); in ProcessEnd()
103 uint32_t startOffset = state_->GetAddress(); in HandleStartLocal()
113 uint32_t startOffset = state_->GetAddress(); in HandleStartLocalExtended()
125 iter->endOffset = state_->GetAddress(); in HandleEndLocal()
135 cnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetColumn())}); in HandleSetColumn()
143 lnt_.push_back({state_->GetAddress(), static_cast<int32_t>(state_->GetLine())}); in HandleSpecialOpcode()
/arkcompiler/runtime_core/static_core/runtime/
Dhandle_scope.h81 …*(reinterpret_cast<T *>(escapeHandle_.GetAddress())) = *(reinterpret_cast<T *>(handle.GetAddress()… in Escape()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/
Dets_inst_builder.cpp36 auto pc = GetPc(bcInst->GetAddress()); in BuildLaunch()
85 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName()
181 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName()
227 …auto cmpInst = graph_->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), GetDefinitio… in BuildIsUndefined()
235 auto pc = GetPc(bcInst->GetAddress()); in BuildEquals()
/arkcompiler/runtime_core/libabckit/src/adapter_static/
Dabckit_inst_builder-inl.h108 … inst = GetGraph()->CreateInstUnresolvedLoadType(DataType::REFERENCE, GetPc(bcInst->GetAddress())); in AbcKitBuildLoadFromPool()
114 inst = GetGraph()->CreateInstLoadType(DataType::REFERENCE, GetPc(bcInst->GetAddress())); in AbcKitBuildLoadFromPool()
125 auto saveState = CreateSaveState(Opcode::SaveState, GetPc(bcInst->GetAddress())); in AbcKitBuildLoadFromPool()

1234