Home
last modified time | relevance | path

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

12345

/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
25 …auto instSaveState = CreateSaveState(compiler::Opcode::SaveState, GetPc(instruction->GetAddress())…
26 …auto instCheck = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAd…
33 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
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/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()
82 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyNumber()
Dpbc_iterator.h66 size_t GetPc(const BytecodeInstruction INST) const in GetPc() function
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h43 pc_ = Builder()->GetPc(bcInst->GetAddress()); in BuildCallHelper()
243 auto saveState = CreateSaveState(Opcode::SaveState, GetPc(bcInst->GetAddress())); in BuildMonitor()
244 auto inst = GetGraph()->CreateInstMonitor(DataType::VOID, GetPc(bcInst->GetAddress())); in BuildMonitor()
250 …auto nullCheck = graph_->CreateInstNullCheck(DataType::REFERENCE, GetPc(bcInst->GetAddress()), def… in BuildMonitor()
289 … auto inst = GetGraph()->CreateInstAbs(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildAbsIntrinsic()
326 …auto inst = CreateBinaryOperation<OPCODE>(GetGraph(), GetMethodReturnType(methodId), GetPc(bcInst-… in BuildBinaryOperationIntrinsic()
338 …auto inst = GetGraph()->CreateInstSqrt(GetMethodReturnType(methodId), GetPc(bcInst->GetAddress())); in BuildSqrtIntrinsic()
354 … auto inst = GetGraph()->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), vreg, vreg, in BuildIsNanIntrinsic()
364 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringLengthIntrinsic()
389 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildStringIsEmptyIntrinsic()
[all …]
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…
41 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
65 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
75 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
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.h60 size_t GetPc(const BytecodeInstruction inst) const in GetPc() function
/arkcompiler/runtime_core/libabckit/src/templates/abckit_intrinsics/
Dinst_builder_abckit_intrinsics.inc.erb72 auto pc = GetPc(bcInst->GetAddress());
175 …inst = GetGraph()->CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddres…
177 …inst = GetGraph()->CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddres…
179 …inst = GetGraph()->CreateInstIntrinsic(ark::compiler::DataType::REFERENCE, GetPc(bcInst->GetAddres…
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/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()
80 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildUint8ClampedArraySetIntrinsic()
122 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildTypedArraySet()
135 auto bcAddr = GetPc(bcInst->GetAddress()); in BuildBigInt64ArraySetIntrinsic()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dloop_idioms.cpp253 return GetGraph()->CreateInstIntrinsic(DataType::VOID, store_.inst->GetPc(), ID); in CreateIntrinsic()
280 return GetGraph()->CreateInstIntrinsic(DataType::VOID, store_.inst->GetPc(), id); in CreateIntrinsic()
313 auto neg = GetGraph()->CreateInstNeg(offset->GetType(), offset->GetPc(), offset); in NegateIfNeeded()
328 … auto add = GetGraph()->CreateInstAdd((*srcEnd)->GetType(), (*srcEnd)->GetPc(), (*srcEnd), one); in PatchRange()
338 … GetGraph()->CreateInstAdd((*srcStart)->GetType(), (*srcStart)->GetPc(), (*srcStart), one); in PatchRange()
339 … auto addEnd = GetGraph()->CreateInstAdd((*srcEnd)->GetType(), (*srcEnd)->GetPc(), (*srcEnd), one); in PatchRange()
349 … auto add = GetGraph()->CreateInstAdd((*srcEnd)->GetType(), (*srcEnd)->GetPc(), (*srcEnd), one); in PatchRange()
370 auto newB = GetGraph()->CreateEmptyBlock(store_.inst->GetPc()); in ReplaceLoopCompletely()
377 … GetGraph()->CreateInstAdd(DataType::INT32, load_.inst->GetPc(), loopInfo_.init, load_.idxOffset); in ReplaceLoopCompletely()
379 …Inst *srcEnd = GetGraph()->CreateInstAdd(DataType::INT32, load_.inst->GetPc(), loopInfo_.test, loa… in ReplaceLoopCompletely()
[all …]
Dsavestate_optimization.cpp46 … sp->GetId(), sp->GetPc()); in RemoveSafePoints()
96 … inst->GetId(), inst->GetPc()); in VisitDefault()
115 … ss->GetId(), ss->GetPc()); in VisitSaveState()
134 … inst->GetId(), inst->GetPc()); in TryToRemoveRedundantSaveState()
Dreserve_string_builder_buffer.cpp228 DataType::REFERENCE, ctorCall->GetPc(), CopySaveState(graph, ctorCall->GetSaveState()), in CreateInstructionNewObjectsArray()
236 …auto newObjectsArray = graph->CreateInstNewArray(DataType::REFERENCE, ctorCall->GetPc(), loadClass… in CreateInstructionNewObjectsArray()
246 auto storeArray = graph->CreateInstStoreArray(DataType::REFERENCE, ctorCall->GetPc()); in StoreStringBuilderConstructorArgument()
256 auto lenArray = graph->CreateInstLenArray(DataType::INT32, ctorCall->GetPc(), arg); in CreateStringBuilderConstructorArgumentLength()
259 auto argLength = graph->CreateInstShr(DataType::INT32, ctorCall->GetPc()); in CreateStringBuilderConstructorArgumentLength()
281 …auto storeObject = graph->CreateInstStoreObject(DataType::REFERENCE, ctorCall->GetPc(), instance, … in StoreStringBuilderBufferField()
294 …auto storeObject = graph->CreateInstStoreObject(DataType::INT32, ctorCall->GetPc(), instance, inde… in StoreStringBuilderIndexField()
305 …auto storeObject = graph->CreateInstStoreObject(DataType::INT32, ctorCall->GetPc(), instance, leng… in StoreStringBuilderLengthField()
316 …auto storeObject = graph->CreateInstStoreObject(DataType::BOOL, ctorCall->GetPc(), instance, isCom… in StoreStringBuilderIsCompressedField()
347 … argString = GetGraph()->CreateInstInitString(DataType::REFERENCE, ctorCall->GetPc(), ctorArg, in ReplaceInitialBufferSizeConstantNotInlined()
Dlowering.cpp59 …->GetEventWriter().EventLowering(GetOpcodeString(inst->GetOpcode()), inst->GetId(), inst->GetPc()); in VisitCastValueToAnyType()
116 … inst->GetId(), inst->GetPc()); in VisitCast()
304 …graph->CreateInstAShr(inst->GetType(), inst->GetPc(), input0, graph->FindOrCreateConstant(typeSize… in ReplaceSignedDivPowerOfTwo()
306 …auto shr = graph->CreateInstShr(inst->GetType(), inst->GetPc(), ashr, graph->FindOrCreateConstant(… in ReplaceSignedDivPowerOfTwo()
308 auto add = graph->CreateInstAdd(inst->GetType(), inst->GetPc(), shr, input0); in ReplaceSignedDivPowerOfTwo()
310 …Inst *ashr2 = graph->CreateInstAShr(inst->GetType(), inst->GetPc(), add, graph->FindOrCreateConsta… in ReplaceSignedDivPowerOfTwo()
315 result = graph->CreateInstNeg(inst->GetType(), inst->GetPc(), ashr2); in ReplaceSignedDivPowerOfTwo()
343 auto shrInst = graph->CreateInstShr(inst->GetType(), inst->GetPc(), input0, power); in ReplaceUnsignedDivPowerOfTwo()
402 auto divImmInst = graph->CreateInstDivI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo()
406 auto modImmInst = graph->CreateInstModI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo()
[all …]
Doptimize_string_concat.cpp136 … auto ctorCall = graph->CreateInstCallStatic(DataType::VOID, instance->GetPc(), methodId, method); in CreateStringBuilderDefaultConstructorCall()
148 return graph->CreateInstLoadArray(DataType::REFERENCE, array->GetPc(), array, index); in CreateLoadArray()
158 return graph->CreateInstLenArray(DataType::INT32, newArray->GetPc(), newArray); in CreateLenArray()
230 auto pc = instance->GetPc(); in CreateAppendArgsLoop()
306 …auto instance = CreateInstructionStringBuilderInstance(GetGraph(), concatCall->GetPc(), concatCall… in ReplaceStringConcatWithStringBuilderAppend()
Dadjust_arefs.cpp173 auto arrData = InsertPointerArithmetic(def, off, head, def->GetPc(), true); in ProcessChain()
253 newBase = InsertPointerArithmetic(base, newOff, mem, mem->GetPc(), true); in ProcessIndex()
256 newBase = InsertPointerArithmetic(base, newOff, mem, mem->GetPc(), false); in ProcessIndex()
263 newBase = InsertPointerArithmetic(base, newOff, mem, mem->GetPc(), true); in ProcessIndex()
Ddeoptimize_elimination.cpp168 guard->GetPc()); in RemoveGuard()
183 inst->GetPc()); in RemoveDeoptimizeIf()
191 savestate->GetPc()); in RemoveDeoptimizeIf()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecodeopt_peepholes.cpp108 …deInstruction(graph->GetRuntime()->GetMethodCode(graph->GetMethod()) + inst->GetPc()).GetFormat()); in VisitNewObject()
109 if (inst->GetBasicBlock()->IsTry() && callInit->GetPc() - inst->GetPc() > newobjSize) { in VisitNewObject()
137 initObject->SetPc(callInit->GetPc()); in VisitNewObject()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/
Dets_inst_builder.cpp56 auto pc = GetPc(bcInst->GetAddress()); in BuildLdObjByName()
152 auto pc = GetPc(bcInst->GetAddress()); in BuildStObjByName()
198 …auto cmpInst = graph_->CreateInstCompare(DataType::BOOL, GetPc(bcInst->GetAddress()), GetDefinitio… in BuildIsNullValue()
207 auto pc = GetPc(bcInst->GetAddress()); in BuildEquals()
242 auto pc = GetPc(bcInst->GetAddress()); in BuildTypeof()
262 auto pc = GetPc(bcInst->GetAddress()); in BuildIstrue()
284 auto pc = GetPc(bcInst->GetAddress()); in BuildCallByName()
/arkcompiler/runtime_core/static_core/runtime/jit/
Dprofiling_data.h163 uintptr_t GetPc() const in GetPc() function
219 uintptr_t GetPc() const in GetPc() function
361 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindBranchData()
362 if (it == branchData_.end() || it->GetPc() != fromPc) { in FindBranchData()
374 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindThrowData()
375 if (it == throwData_.end() || it->GetPc() != fromPc) { in FindThrowData()
/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()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/
Dets_intrinsics_peephole.cpp71 auto pc = intrinsic->GetPc(); in ReplaceTypeofWithIsInstance()
160 auto pc = intrinsic->GetPc(); in TryInsertFieldInst()
205 auto pc = intrinsic->GetPc(); in TryInsertCallInst()
270 …auto compareNull = graph->CreateInstCompare(DataType::BOOL, intrinsic->GetPc(), input, graph->GetO… in ReplaceWithCompareNullish()
273 …graph->CreateInstCompare(DataType::BOOL, intrinsic->GetPc(), input, graph->GetOrCreateUniqueObject… in ReplaceWithCompareNullish()
276 …auto orInst = graph->CreateInstOr(DataType::BOOL, intrinsic->GetPc(), compareNull, compareUniqueOb… in ReplaceWithCompareNullish()
365 auto pc = intrinsic->GetPc(); in PeepholeDoubleToString()
411 auto loadType = graph->CreateInstLoadType(DataType::REFERENCE, intrinsic->GetPc()); in PeepholeGetTypeInfo()
432 auto pc = intrinsic->GetPc(); in PeepholeStringFromCharCodeSingle()
542 auto pc = intrinsic->GetPc(); in BuildLoadPropertyChain()
Dets_intrinsics_inlining_expansion.cpp29 auto bcAddr = callInst->GetPc(); in ExpandIntrinsicEscompatArrayGet()
67 auto bcAddr = callInst->GetPc(); in ExpandIntrinsicEscompatArraySet()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.cpp120 auto replace = graph->CreateInstIf(DataType::NO_TYPE, inst->GetPc(), cc); in LowerIf()
128 …->GetEventWriter().EventLowering(GetOpcodeString(inst->GetOpcode()), inst->GetId(), inst->GetPc()); in LowerIf()
146 inst->GetPc()); in InPlaceLowerIfImm()
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/
Dinst_builder_dyn-inl.h33 GetGraph()->CreateInstIntrinsic(ark::compiler::DataType::ANY, GetPc(bcInst->GetAddress()), in BuildAbcKitLoadStringIntrinsic()
Dpbc_iterator_dyn.h65 size_t GetPc(const BytecodeInst &inst) const in GetPc() function

12345