Home
last modified time | relevance | path

Searched full:getpc (Results 1 – 25 of 44) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
25 auto inst_save_state = CreateSaveState(Opcode::SaveState, GetPc(instruction->GetAddress()));
26 …auto inst_check = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetA…
37 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
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.h41 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()
Dpbc_iterator.h60 size_t GetPc(const BytecodeInstruction INST) const in GetPc() function
Dir_builder.cpp140 auto pc = inst_builder->GetPc(inst.GetAddress()); in BuildInstructionsForBB()
190 EnumerateTryBlocksCoveredPc(throwable_inst->GetPc(), [this](const TryCodeBlock &try_block) { in ProcessThrowableInstructions()
217 auto pc = instructions.GetPc(inst); in BuildBasicBlocks()
323 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Ddeoptimize_elimination.cpp57 … sp->GetId(), sp->GetPc()); in RemoveSafePoints()
102 … inst->GetId(), inst->GetPc()); in VisitDefault()
121 … ss->GetId(), ss->GetPc()); in VisitSaveState()
171 … inst->GetId(), inst->GetPc()); in TryToRemoveRedundantSaveState()
266 guard->GetPc()); in RemoveGuard()
281 inst->GetPc()); in RemoveDeoptimizeIf()
289 savestate->GetPc()); in RemoveDeoptimizeIf()
Dlowering.cpp143 auto replace = graph->CreateInstIf(DataType::NO_TYPE, inst->GetPc(), cc); in LowerIf()
151 …->GetEventWriter().EventLowering(GetOpcodeString(inst->GetOpcode()), inst->GetId(), inst->GetPc()); in LowerIf()
169 inst->GetPc()); in InPlaceLowerIfImm()
Dloop_unroll.cpp231 …raph()->CreateInstSub(pre_header_cmp->CastToCompare()->GetOperandsType(), pre_header_cmp->GetPc()); in CreateNewTestInst()
234 …raph()->CreateInstAdd(pre_header_cmp->CastToCompare()->GetOperandsType(), pre_header_cmp->GetPc()); in CreateNewTestInst()
290 …low_compare = GetGraph()->CreateInstCompare(compiler::DataType::BOOL, pre_header_cmp->GetPc(), cc); in FixCompareInst()
295 auto and_inst = GetGraph()->CreateInstAnd(DataType::BOOL, pre_header_cmp->GetPc()); in FixCompareInst()
Dvn.cpp117 GetGraph()->GetEventWriter().EventGvn(inst->GetId(), inst->GetPc(), equiv_inst->GetId(), in TryToApplyCse()
118 equiv_inst->GetPc()); in TryToApplyCse()
Dcleanup.cpp186 GetGraph()->GetEventWriter().EventCleanup(phi->GetId(), phi->GetPc()); in RemoveDeadPhi()
290 GetGraph()->GetEventWriter().EventCleanup(inst->GetId(), inst->GetPc()); in Dce()
403 GetGraph()->GetEventWriter().EventCleanup(inst->GetId(), inst->GetPc()); in Removal()
Dadjust_arefs.cpp141 arr_data->SetPc(def->GetPc()); in ProcessChain()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb271 …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/runtime_core/runtime/jit/
Dprofiling_data.h163 uintptr_t GetPc() const in GetPc() function
260 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindBranchData()
261 if (it == branch_data_.end() || it->GetPc() != from_pc) { in FindBranchData()
/arkcompiler/runtime_core/libark_defect_scan_aux/
Dgraph.cpp74 uint32_t Inst::GetPc() const in GetPc() function in panda::defect_scan_aux::Inst
76 return inst_->GetPc(); in GetPc()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp132 auto offset = GetPc() - method->GetBytecodeArray(); in GetBytecodeOffset()
218 const uint8_t *FrameHandler::GetPc() const in GetPc() function in panda::ecmascript::FrameHandler
224 return frame->GetPc(); in GetPc()
227 return frame->GetPc(); in GetPc()
Dframe_handler.h67 return state->GetPc() == nullptr; in IsEntryFrame()
199 const uint8_t *GetPc() const;
/arkcompiler/runtime_core/runtime/interpreter/arch/aarch64/
Dglobal_regs.h39 ALWAYS_INLINE inline const uint8_t *GetPc() in GetPc() function
/arkcompiler/runtime_core/libark_defect_scan_aux/include/
Dgraph.h46 uint32_t GetPc() const;
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.h44 uint32_t GetPc() const in GetPc() function
Dbytecode_emitter.cpp168 … const auto REAL_IMM_SIZE = GetBitLengthSigned(EstimateMaxDistance(insn_pc, label.GetPc(), bias)); in ReserveSpaceForOffsets()
228 auto offset = static_cast<int32_t>(label.GetPc()) - static_cast<int32_t>(insn_pc); in UpdateBranches()
/arkcompiler/runtime_core/runtime/include/
Dcompiler_interface.h76 const uint8_t *GetPc() const in GetPc() function
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp198 phi_resolver = GetGraph()->CreateInstPhi(inst->GetType(), inst->GetPc()); in CreateResolverBlock()
539 auto resolver_phi = GetGraph()->CreateInstPhi(phi->GetType(), phi->GetPc()); in BuildClonedLoopHeaderDataFlow()
643 auto phi_in = GetGraph()->CreateInstPhi(inst->GetType(), inst->GetPc()); in UpdateUsersForClonedLoopHeader()
645 auto phi_out = GetGraph()->CreateInstPhi(inst->GetType(), inst->GetPc()); in UpdateUsersForClonedLoopHeader()
753 auto new_phi = GetGraph()->CreateInstPhi(phi->GetType(), phi->GetPc()); in CreateNewOutsideSucc()
914 …o phi_resolver = outside_succ->GetGraph()->CreateInstPhi(check_phi->GetType(), check_phi->GetPc()); in GetPhiResolver()
/arkcompiler/runtime_core/runtime/interpreter/
Dstate.h107 return BytecodeInstruction(arch::regs::GetPc()); in GetInst()
/arkcompiler/runtime_core/compiler/docs/
Dir_builder.md130 auto inst = graph_->CreateInstAdd(DataType::INT32, GetPc(instruction->GetAddress()));
Dlowering_doc.md37 Inst* new_inst = CreateInstAddI(inst->GetType(), inst->GetPc(), val);
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp103 pc_ins_map->emplace(instructions.GetPc(insn), &ins); in BuildMapFromPcToIns()
173 auto pc = static_cast<int32_t>(instructions.GetPc(insn)); in BuildMapFromPcToType()

12