Home
last modified time | relevance | path

Searched full:getpc (Results 1 – 25 of 31) 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.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()
83 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.cpp132 auto pc = inst_builder->GetPc(inst.GetAddress()); in BuildInstructionsForBB()
179 EnumerateTryBlocksCoveredPc(throwable_inst->GetPc(), [this](const TryCodeBlock &try_block) { in ProcessThrowableInstructions()
206 auto pc = instructions.GetPc(inst); in BuildBasicBlocks()
308 auto pc = instructions.GetPc(inst); in ConnectBasicBlocks()
Dinst_builder.h106 size_t GetPc(const uint8_t *inst_ptr) const;
Dinst_builder.cpp280 size_t InstBuilder::GetPc(const uint8_t *inst_ptr) const in GetPc() function in panda::compiler::InstBuilder
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.cpp122 auto replace = graph->CreateInstIf(DataType::NO_TYPE, inst->GetPc(), cc); in LowerIf()
130 …->GetEventWriter().EventLowering(GetOpcodeString(inst->GetOpcode()), inst->GetId(), inst->GetPc()); in LowerIf()
148 inst->GetPc()); in InPlaceLowerIfImm()
Dvn.cpp112 GetGraph()->GetEventWriter().EventGvn(inst->GetId(), inst->GetPc(), equiv_inst->GetId(), in TryToApplyCse()
113 equiv_inst->GetPc()); in TryToApplyCse()
Dcleanup.cpp184 GetGraph()->GetEventWriter().EventCleanup(phi->GetId(), phi->GetPc()); in RemoveDeadPhi()
287 GetGraph()->GetEventWriter().EventCleanup(inst->GetId(), inst->GetPc()); in Dce()
400 GetGraph()->GetEventWriter().EventCleanup(inst->GetId(), inst->GetPc()); in Removal()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp132 auto offset = GetPc() - method->GetBytecodeArray(); in GetBytecodeOffset()
221 const uint8_t *FrameHandler::GetPc() const in GetPc() function in panda::ecmascript::FrameHandler
227 return frame->GetPc(); in GetPc()
230 return frame->GetPc(); in GetPc()
Dframe_handler.h67 return state->GetPc() == nullptr; in IsEntryFrame()
207 const uint8_t *GetPc() const;
/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/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/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()
Dinst.cpp268 clone->pc_ = GetPc(); in Clone()
/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()
Dcodegen.cpp223 auto ln = ir_interface_->GetLineNumberByPc(inst->GetPc()); in AddLineNumber()
231 auto cn = ir_interface_->GetLineNumberByPc(inst->GetPc()); in AddColumnNumber()
/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/ets_runtime/ecmascript/
Dframes.cpp405 auto offset = frame->GetPc() - method->GetBytecodeArray(); in GetBytecodeOffset()
412 auto offset = frame->GetPc() - method->GetBytecodeArray(); in GetBytecodeOffset()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_resolver.cpp306 auto new_catch_phi = GetGraph()->CreateInstCatchPhi(catch_phi->GetType(), catch_phi->GetPc()); in SqueezeCatchPhiInputs()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dloop_analyzer.cpp141 auto new_phi = GetGraph()->CreateInstPhi(phi->GetType(), phi->GetPc()); in MovePhiInputsToPreHeader()

12