| /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()
|
| D | intrinsics_ir_build_virtual_call_ets.inl | 33 … auto inst = GetGraph()->CreateInstCast(DataType::FLOAT64, Builder()->GetPc(bcInst_->GetAddress()),
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 20 …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 …]
|
| 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()
|
| D | pbc_iterator.h | 66 size_t GetPc(const BytecodeInstruction INST) const in GetPc() function
|
| /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 …auto inst = CreateBinaryOperation<OPCODE>(GetGraph(), GetMethodReturnType(methodId), GetPc(bcInst-… 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 | inst_templates.yaml | 20 …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… 62 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres… 72 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres… 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 …]
|
| D | pbc_iterator.h | 60 size_t GetPc(const BytecodeInstruction inst) const in GetPc() function
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | savestate_optimization.cpp | 46 … sp->GetId(), sp->GetPc()); in RemoveSafePoints() 96 … inst->GetId(), inst->GetPc()); in VisitDefault() 115 … ss->GetId(), ss->GetPc()); in VisitSaveState() 136 … inst->GetId(), inst->GetPc()); in TryToRemoveRedundantSaveState()
|
| D | reserve_string_builder_buffer.cpp | 228 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()
|
| D | lowering.cpp | 59 …->GetEventWriter().EventLowering(GetOpcodeString(inst->GetOpcode()), inst->GetId(), inst->GetPc()); in VisitCastValueToAnyType() 116 … inst->GetId(), inst->GetPc()); in VisitCast() 290 …graph->CreateInstAShr(inst->GetType(), inst->GetPc(), input0, graph->FindOrCreateConstant(typeSize… in ReplaceSignedDivPowerOfTwo() 292 …auto shr = graph->CreateInstShr(inst->GetType(), inst->GetPc(), ashr, graph->FindOrCreateConstant(… in ReplaceSignedDivPowerOfTwo() 294 auto add = graph->CreateInstAdd(inst->GetType(), inst->GetPc(), shr, input0); in ReplaceSignedDivPowerOfTwo() 296 …Inst *ashr2 = graph->CreateInstAShr(inst->GetType(), inst->GetPc(), add, graph->FindOrCreateConsta… in ReplaceSignedDivPowerOfTwo() 301 result = graph->CreateInstNeg(inst->GetType(), inst->GetPc(), ashr2); in ReplaceSignedDivPowerOfTwo() 329 auto shrInst = graph->CreateInstShr(inst->GetType(), inst->GetPc(), input0, power); in ReplaceUnsignedDivPowerOfTwo() 388 auto divImmInst = graph->CreateInstDivI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo() 392 auto modImmInst = graph->CreateInstModI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo() [all …]
|
| D | loop_idioms.cpp | 201 auto fillArray = GetGraph()->CreateInstIntrinsic(DataType::VOID, store->GetPc(), intrinsicId); in CreateArrayInitIntrinsic() 234 …auto sub = GetGraph()->CreateInstSub(DataType::INT32, inst->GetPc(), loopInfo->test, loopInfo->ini… in ReplaceArrayInitLoop() 235 auto cmp = GetGraph()->CreateInstCompare(DataType::BOOL, inst->GetPc(), sub, in ReplaceArrayInitLoop() 239 …GetGraph()->CreateInstIfImm(DataType::NO_TYPE, inst->GetPc(), cmp, 0, DataType::BOOL, ConditionCod… in ReplaceArrayInitLoop()
|
| D | optimize_string_concat.cpp | 159 … auto ctorCall = graph->CreateInstCallStatic(DataType::VOID, instance->GetPc(), methodId, method); in CreateStringBuilderDefaultConstructorCall() 171 return graph->CreateInstLoadArray(DataType::REFERENCE, array->GetPc(), array, index); in CreateLoadArray() 181 return graph->CreateInstLenArray(DataType::INT32, newArray->GetPc(), newArray); in CreateLenArray() 240 auto pc = instance->GetPc(); in CreateAppendArgsLoop() 298 …auto instance = CreateInstructionStringBuilderInstance(GetGraph(), concatCall->GetPc(), concatCall… in ReplaceStringConcatWithStringBuilderAppend()
|
| D | adjust_arefs.cpp | 173 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()
|
| D | deoptimize_elimination.cpp | 168 guard->GetPc()); in RemoveGuard() 183 inst->GetPc()); in RemoveDeoptimizeIf() 191 savestate->GetPc()); in RemoveDeoptimizeIf()
|
| D | loop_unroll.cpp | 282 … GetGraph()->CreateInstSub(preHeaderCmp->CastToCompare()->GetOperandsType(), preHeaderCmp->GetPc(), in CreateNewTestInst() 288 … GetGraph()->CreateInstAdd(preHeaderCmp->CastToCompare()->GetOperandsType(), preHeaderCmp->GetPc(), in CreateNewTestInst() 346 …owCompare = GetGraph()->CreateInstCompare(compiler::DataType::BOOL, preHeaderCmp->GetPc(), newTest, in FixCompareInst() 352 …auto andInst = GetGraph()->CreateInstAnd(DataType::BOOL, preHeaderCmp->GetPc(), preHeaderCmp, over… in FixCompareInst()
|
| /arkcompiler/runtime_core/static_core/runtime/jit/ |
| D | profiling_data.h | 163 uintptr_t GetPc() const in GetPc() function 219 uintptr_t GetPc() const in GetPc() function 318 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindBranchData() 319 if (it == branchData_.end() || it->GetPc() != fromPc) { in FindBranchData() 331 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindThrowData() 332 if (it == throwData_.end() || it->GetPc() != fromPc) { in FindThrowData()
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | bytecodeopt_peepholes.cpp | 111 …deInstruction(graph->GetRuntime()->GetMethodCode(graph->GetMethod()) + inst->GetPc()).GetFormat()); in VisitNewObject() 112 if (inst->GetBasicBlock()->IsTry() && callInit->GetPc() - inst->GetPc() > newobjSize) { in VisitNewObject() 140 initObject->SetPc(callInit->GetPc()); in VisitNewObject()
|
| /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()
|
| D | ets_inst_templates.yaml | 32 …auto cmp_inst = graph_->CreateInstCompare(DataType::BOOL, GetPc(instruction->GetAddress()), GetDef…
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | lowering.cpp | 120 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()
|
| D | vn.cpp | 112 GetGraph()->GetEventWriter().EventGvn(inst->GetId(), inst->GetPc(), equiv_inst->GetId(), in TryToApplyCse() 113 equiv_inst->GetPc()); in TryToApplyCse()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ |
| D | ets_intrinsics_peephole.cpp | 117 auto pc = intrinsic->GetPc(); in TryInsertFieldInst() 162 auto pc = intrinsic->GetPc(); in TryInsertCallInst() 227 …auto compareNull = graph->CreateInstCompare(DataType::BOOL, intrinsic->GetPc(), input, graph->GetO… in ReplaceWithCompareNullish() 230 …graph->CreateInstCompare(DataType::BOOL, intrinsic->GetPc(), input, graph->GetOrCreateUndefinedIns… in ReplaceWithCompareNullish() 233 … auto orInst = graph->CreateInstOr(DataType::BOOL, intrinsic->GetPc(), compareNull, compareUndef); in ReplaceWithCompareNullish() 286 auto pc = intrinsic->GetPc(); in PeepholeDoubleToString() 416 auto pc = intrinsic->GetPc(); in BuildLoadPropertyChain()
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/ |
| D | graph.cpp | 74 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/ |
| D | frame_handler.cpp | 135 auto offset = GetPc() - method->GetBytecodeArray(); in GetBytecodeOffset() 259 const uint8_t *FrameHandler::GetPc() const in GetPc() function in panda::ecmascript::FrameHandler 265 return frame->GetPc(); in GetPc() 268 return frame->GetPc(); in GetPc()
|