| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_handle.h | 104 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/static_core/plugins/ets/compiler/ |
| D | ir_build_intrinsics_ets.cpp | 45 …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/ |
| D | pbc_iterator.h | 40 return inst_.GetAddress() != rhs.inst_.GetAddress(); 45 return inst_.GetAddress() == rhs.inst_.GetAddress(); 68 return INST.GetAddress() - data_; in GetPc()
|
| 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 | 30 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/runtime_core/static_core/disassembler/templates/ |
| D | get_ins_info.cpp.erb | 36 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/ |
| D | get_ins_info.cpp.erb | 34 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/static_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 30 pc_ = Builder()->GetPc(bcInst->GetAddress()); in BuildCallHelper() 228 auto saveState = CreateSaveState(Opcode::SaveState, GetPc(bcInst->GetAddress())); in BuildMonitor() 229 auto inst = GetGraph()->CreateInstMonitor(DataType::VOID, GetPc(bcInst->GetAddress())); in BuildMonitor() 235 …auto nullCheck = graph_->CreateInstNullCheck(DataType::REFERENCE, GetPc(bcInst->GetAddress()), def… in BuildMonitor() 279 … auto inst = GetGraph()->CreateInstAbs(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildAbsIntrinsic() 316 …ateBinaryOperation<OPCODE>(GetGraph(), GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildBinaryOperationIntrinsic() 328 …auto inst = GetGraph()->CreateInstSqrt(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildSqrtIntrinsic() 344 … auto inst = GetGraph()->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), vreg, vreg, in BuildIsNanIntrinsic() 354 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringLengthIntrinsic() 379 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringIsEmptyIntrinsic() [all …]
|
| D | pbc_iterator.h | 39 return inst_.GetAddress() != rhs.inst_.GetAddress(); 62 return inst.GetAddress() - data_; in GetPc()
|
| 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())); 41 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 62 …inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), 72 …->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), GetDefinitio… 77 … auto inst = graph_->CreateInstAdd(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress())); 88 …auto inst = graph_->CreateInstCast(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), … 96 …auto inst = graph_->CreateInstCompare(DataType::BOOL, GetPc(instruction->GetAddress()), GetDefinit… 100 …auto inst = graph_->CreateInstCmp(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddress()), G… [all …]
|
| /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/static_core/libpandafile/ |
| D | debug_info_extractor.cpp | 45 lnt_.push_back({state_->GetAddress(), state_->GetLine()}); in ProcessBegin() 91 lvt_.push_back({name, type, type, regNumber, state_->GetAddress(), 0}); in HandleStartLocal() 100 lvt_.push_back({name, type, typeSign, regNumber, state_->GetAddress(), 0}); in HandleStartLocalExtended() 109 it->endOffset = state_->GetAddress(); in HandleEndLocal() 129 cnt_.push_back({state_->GetAddress(), state_->GetColumn()}); in HandleSetColumn() 137 lnt_.push_back({state_->GetAddress(), state_->GetLine()}); in HandleSpecialOpcode() 173 var.endOffset = state_->GetAddress(); in ProcessVars()
|
| 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 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()
|
| D | debug_helpers.h | 123 if (state_->GetAddress() == bcOffset_) { in HandleSpecialOpcode() 128 if (state_->GetAddress() > bcOffset_) { in HandleSpecialOpcode()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | debug_info_extractor.cpp | 51 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/ets_runtime/ecmascript/tests/ |
| D | global_index_map_test.cpp | 39 GlobalIndexMap::GetGlobalIndexMap(thread->GetCurrentEcmaContext()).GetAddress()); in HWTEST_F_L0() 55 GlobalIndexMap::GetGlobalIndexMap(thread->GetCurrentEcmaContext()).GetAddress()); in HWTEST_F_L0() 85 GlobalIndexMap::GetGlobalIndexMap(thread->GetCurrentEcmaContext()).GetAddress()); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | handle_scope.h | 81 …*(reinterpret_cast<T *>(escapeHandle_.GetAddress())) = *(reinterpret_cast<T *>(handle.GetAddress()… in Escape()
|
| /arkcompiler/runtime_core/static_core/disassembler/ |
| D | disassembler.cpp | 118 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in GetInsInfo() 121 uintptr_t bc = bcIns.GetAddress() - BytecodeInstruction(insArr).GetAddress(); in GetInsInfo() 132 const uint8_t *pc = bcIns.GetAddress(); in GetInsInfo() 727 while (bcInsFirst.GetAddress() != bcInsCur.GetAddress()) { in GetBytecodeInstructionNumber() 730 if (bcInsFirst.GetAddress() > bcInsCur.GetAddress()) { in GetBytecodeInstructionNumber() 749 const bool tryBeginOffsetInRange = bcInsLast.GetAddress() > tryBeginBcIns.GetAddress(); in LocateTryBlock() 750 const bool tryEndOffsetInRange = bcInsLast.GetAddress() >= tryEndBcIns.GetAddress(); in LocateTryBlock() 756 << tryBeginBcIns.GetAddress(); in LocateTryBlock() 772 << tryEndBcIns.GetAddress(); in LocateTryBlock() 803 const bool handlerBeginOffsetInRange = bcInsLast.GetAddress() > handlerBeginBcIns.GetAddress(); in LocateCatchBlock() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/ |
| D | ets_inst_builder.cpp | 36 auto pc = GetPc(bcInst->GetAddress()); in BuildLaunch() 56 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName() 161 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName() 195 auto pc = GetPc(bcInst->GetAddress()); in BuildEquals()
|
| /arkcompiler/runtime_core/verifier/ |
| D | verifier.cpp | 110 while (bc_ins.GetAddress() < bc_ins_last.GetAddress()) { in VerifyRegisterIndex() 207 while (bc_ins.GetAddress() < bc_ins_last.GetAddress()) { in CollectIdInInstructions() 554 const auto bc_ins_forward_size = bc_ins_last.GetAddress() - bc_ins.GetAddress(); in VerifyJumpInstruction() 556 const auto bc_ins_backward_size = bc_ins.GetAddress() - bc_ins_first.GetAddress(); in VerifyJumpInstruction() 639 while (bc_ins.GetAddress() < bc_ins_last.GetAddress()) { in CheckConstantPoolMethodContent()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | vm_handle.h | 49 inline explicit VMHandle(const VMHandle<P> &other) : HandleBase(other.GetAddress()) in VMHandle() 68 return *(reinterpret_cast<T **>(GetAddress())); in GetPtr()
|
| /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/runtime_core/static_core/runtime/interpreter/ |
| D | interpreter_impl.cpp | 151 if (inst.GetAddress() == GetInst().GetAddress()) { in DebugDump() 158 … << reinterpret_cast<uintptr_t>(inst.GetAddress()) << std::dec << ": " << inst << std::endl; in DebugDump()
|