| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 46 type_id = GetRuntime()->ResolveTypeIndex(method, type_index); in BuildLoadFromPool() 47 if (GetRuntime()->ResolveType(method, type_id) == nullptr) { in BuildLoadFromPool() 50 GetRuntime()->GetUnresolvedTypes()->AddTableSlot(method, type_id, in BuildLoadFromPool() 60 …type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool() 84 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyString() 111 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyNumber()
|
| D | inst_builder.h | 36 runtime_(graph->GetRuntime()), in InstBuilder() 39 VREGS_AND_ARGS_COUNT(graph->GetRuntime()->GetMethodRegistersCount(method) + in InstBuilder() 40 graph->GetRuntime()->GetMethodTotalArgumentsCount(method)), in InstBuilder() 41 instructions_buf_(GetGraph()->GetRuntime()->GetMethodCode(GetGraph()->GetMethod())), in InstBuilder() 134 GetGraph()->GetRuntime()->FillInstIdTypePairByPc(id, pc); in TryFillInstIdTypePair() 263 const RuntimeInterface *GetRuntime() const in GetRuntime() function 268 RuntimeInterface *GetRuntime() in GetRuntime() function
|
| D | ir_builder.cpp | 33 … << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetMethod()) << "." in RunImpl() 34 << GetGraph()->GetRuntime()->GetMethodName(GetMethod()) in RunImpl() 35 … << "(args=" << GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) in RunImpl() 36 … << ", regs=" << GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) in RunImpl() 39 auto instructions_buf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in RunImpl() 40 …BytecodeInstructions pbc_instructions(instructions_buf, GetGraph()->GetRuntime()->GetMethodCodeSiz… in RunImpl() 41 size_t vregs_count = GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + in RunImpl() 42 GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) + 1; in RunImpl() 102 …auto panda_file = static_cast<panda_file::File *>(GetGraph()->GetRuntime()->GetBinaryFileForMethod… in CheckMethodLimitations() 104 … panda_file::File::EntityId(GetGraph()->GetRuntime()->GetMethodId(GetMethod()))); in CheckMethodLimitations() [all …]
|
| D | inst_builder.cpp | 28 auto num_args = GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in Prepare() 33 auto reg_num = GetRuntime()->GetMethodRegistersCount(GetMethod()) + i; in Prepare() 311 return GetRuntime()->GetMethodReturnType(GetMethod()); in GetCurrentMethodReturnType() 316 return GetRuntime()->GetMethodTotalArgumentType(GetMethod(), index); in GetCurrentMethodArgumentType() 321 return GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in GetCurrentMethodArgumentsCount() 326 return GetRuntime()->GetMethodReturnType(GetMethod(), id); in GetMethodReturnType() 331 return GetRuntime()->GetMethodArgumentType(GetMethod(), id, index); in GetMethodArgumentType() 336 return GetRuntime()->GetMethodArgumentsCount(GetMethod(), id); in GetMethodArgumentsCount()
|
| /arkcompiler/runtime_core/compiler/optimizer/analysis/ |
| D | object_type_propagation.cpp | 31 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewObject() 41 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewArray() 51 auto klass = self->GetGraph()->GetRuntime()->GetStringClass(inst->GetMethod()); in VisitLoadString()
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | object_type_check_elimination.cpp | 76 …auto tgt_klass = graph->GetRuntime()->GetClass(is_instance->GetMethod(), is_instance->GetTypeId()); in TryEliminateIsInstance() 94 bool result = graph->GetRuntime()->IsAssignableFrom(tgt_klass, ref_klass); in TryEliminateIsInstance() 111 … auto tgt_klass = graph->GetRuntime()->GetClass(check_cast->GetMethod(), check_cast->GetTypeId()); in TryEliminateCheckCast() 128 bool result = graph->GetRuntime()->IsAssignableFrom(tgt_klass, ref_klass); in TryEliminateCheckCast()
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | codegen_arm64.rb | 28 @prologue += %Q(auto runtime_info = visitor->GetGraph()->GetRuntime();) 43 if (cg->GetGraph()->GetRuntime()->GetGCEntryPoint() == 0) { 47 auto runtime_info = visitor->GetGraph()->GetRuntime();
|
| D | inst_builder_gen.cpp.erb | 336 …m_idx<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), m_idx<%= id16… 340 …string_id<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), string_id… 344 …literalarray_id<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), lit… 352 … auto input = GetDefinition(GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + 1);
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 171 GetGraph()->GetRuntime()->GetLanguageExtensionSize() / PointerSize(GetGraph()->GetArch()); in GetLanguageExtensionOffsetFromSpInBytes() 185 runtime_(graph->GetRuntime()), in Codegen() 223 method_id_ = graph->GetRuntime()->GetMethodId(method); in Codegen() 317 ASSERT(GetRuntime()->GetObjMarkWordOffset(GetArch()) == 0); in CreateIrtocIntrinsic() 321 ASSERT(GetRuntime()->GetObjMarkWordOffset(GetArch()) == 0); in CreateIrtocIntrinsic() 325 ASSERT(GetRuntime()->GetObjMarkWordOffset(GetArch()) == 0); in CreateIrtocIntrinsic() 372 … MemRef(ThreadReg(), GetRuntime()->GetTlsFrameKindOffset(GetArch()))); in GeneratePrologue() 379 GetEncoder()->EncodeStackOverflowCheck(-GetRuntime()->GetStackOverflowCheckOffset()); in GeneratePrologue() 916 auto runtime = GetRuntime(); in CreateStackMapRec() 932 … code_builder_->BeginInlineInfo(method, GetRuntime()->GetMethodId(call_inst->GetCallMethod()), in CreateStackMapRec() [all …]
|
| D | disassembly.cpp | 84 …ss << "disasm_" << exec_num << '_' << codegen_->GetRuntime()->GetClassNameFromMethod(graph->GetMet… in Init() 85 …<< codegen_->GetRuntime()->GetMethodName(graph->GetMethod()) << (graph->IsOsrMode() ? "_osr" : "")… in Init() 113 …stream << indent << "name: " << codegen->GetRuntime()->GetMethodFullName(graph->GetMethod(), true)… in PrintMethodEntry() 117 … stream << indent << "id: " << codegen->GetRuntime()->GetMethodId(graph->GetMethod()) << std::endl; in PrintMethodEntry()
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | optimize_bytecode.cpp | 98 auto instructions_buf = graph->GetRuntime()->GetMethodCode(method_ptr); in BuildMapFromPcToIns() 99 …compiler::BytecodeInstructions instructions(instructions_buf, graph->GetRuntime()->GetMethodCodeSi… in BuildMapFromPcToIns() 160 ExtractTypeInfo(function, graph->GetRuntime(), &tmp_order_type_map, prog); in BuildMapFromPcToType() 164 const auto *instruction_buf = graph->GetRuntime()->GetMethodCode(method_ptr); in BuildMapFromPcToType() 165 …compiler::BytecodeInstructions instructions(instruction_buf, graph->GetRuntime()->GetMethodCodeSiz… in BuildMapFromPcToType() 174 graph->GetRuntime()->AddPcTypePair(pc, it->second); in BuildMapFromPcToType()
|
| D | codegen.cpp | 72 bool need_handle_ins_type = GetGraph()->GetRuntime()->HasInsTypeinfo(); in RunImpl() 122 if (GetGraph()->GetRuntime()->FillArgTypePairs(&args_types_map)) { in AddTypeInfoIndexForArguments() 161 auto type = GetGraph()->GetRuntime()->GetTypeInfoIndexByInstId(id); in AddTypeInfoIndexForIns() 187 const auto &key = *(GetGraph()->GetRuntime()->GetTypeLiteralArrayKey()); in UpdateTypeInfoIndexAnnotation()
|
| /arkcompiler/runtime_core/irtoc/backend/ |
| D | compilation_unit.h | 90 compiler::RuntimeInterface *GetRuntime() in GetRuntime() function 92 return GetGraph()->GetRuntime(); in GetRuntime()
|
| /arkcompiler/runtime_core/irtoc/backend/compiler/ |
| D | codegen_fastpath.cpp | 50 auto args_num = GetRuntime()->GetMethodArgumentsCount(GetGraph()->GetMethod()); in GeneratePrologue() 75 auto args_num = GetRuntime()->GetMethodArgumentsCount(GetGraph()->GetMethod()); in GetCallerRegistersToRestore() 78 …if (auto ret_type {GetRuntime()->GetMethodReturnType(GetGraph()->GetMethod())}; ret_type != DataTy… in GetCallerRegistersToRestore() 147 auto args_num = GetRuntime()->GetMethodArgumentsCount(GetGraph()->GetMethod()); in IntrinsicSlowPathEntry()
|
| D | codegen_boundary.cpp | 39 …encoder->EncodeStr(GetTarget().GetLinkReg(), MemRef(ThreadReg(), GetRuntime()->GetTlsFrameOffset(G… in GeneratePrologue() 50 … encoder->EncodeStr(tmp, MemRef(ThreadReg(), GetRuntime()->GetTlsFrameOffset(GetArch()))); in GeneratePrologue()
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | adjust_arefs_test.cpp | 70 …INST(11, Opcode::AddI).ptr().Inputs(0).Imm(graph->GetRuntime()->GetArrayDataOffset(graph->GetArch(… in TEST_F() 141 …INST(11, Opcode::AddI).ptr().Inputs(0).Imm(graph->GetRuntime()->GetArrayDataOffset(graph->GetArch(… in TEST_F() 147 …INST(15, Opcode::AddI).ptr().Inputs(0).Imm(graph->GetRuntime()->GetArrayDataOffset(graph->GetArch(… in TEST_F() 225 …INST(11, Opcode::AddI).ptr().Inputs(0).Imm(graph->GetRuntime()->GetArrayDataOffset(graph->GetArch(… in TEST_F() 315 …INST(11, Opcode::AddI).ptr().Inputs(0).Imm(graph->GetRuntime()->GetArrayDataOffset(graph->GetArch(… in TEST_F()
|
| /arkcompiler/runtime_core/compiler/optimizer/ |
| D | pass_manager.cpp | 72 ASSERT(GetGraph()->GetRuntime() != nullptr); in GetFileName() 86 ss_filename << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetGraph()->GetMethod()) << "_" in GetFileName() 87 << GetGraph()->GetRuntime()->GetMethodName(GetGraph()->GetMethod()); in GetFileName()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | analysis.cpp | 104 …auto is_compressed_enabled = inst->GetBasicBlock()->GetGraph()->GetRuntime()->IsCompressedStringsE… in IsSuitableForImplicitNullCheck() 136 auto runtime = graph->GetRuntime(); in IsInstNotNull()
|
| D | dump.cpp | 399 …ArenaString class_name(GetBasicBlock()->GetGraph()->GetRuntime()->GetClassName(GetClassPtr()), ada… in DumpOpcode() 501 auto field_name = FieldToString(graph->GetRuntime(), GetObjField(), graph->GetLocalAllocator()); in DumpOpcode() 518 auto field_name = FieldToString(graph->GetRuntime(), GetObjField(), graph->GetLocalAllocator()); in DumpOpcode() 535 auto field_name = FieldToString(graph->GetRuntime(), GetObjField(), graph->GetLocalAllocator()); in DumpOpcode() 547 auto field_name = FieldToString(graph->GetRuntime(), GetObjField(), graph->GetLocalAllocator()); in DumpOpcode() 571 … : ArenaString(graph->GetRuntime()->GetClassName(GetClass()), adapter)); in DumpOpcode() 609 ArenaString method(graph->GetRuntime()->GetMethodFullName(GetCallMethod()), adapter); in DumpOpcode() 833 auto byte_code = graph->GetRuntime()->GetBytecodeString(graph->GetMethod(), pc_); in Dump() 938 const auto &runtime = GetRuntime(); in Dump()
|
| D | graph.cpp | 586 sstream << graph->GetRuntime()->GetClassNameFromMethod(method) in GetMethodFullName() 587 << "::" << graph->GetRuntime()->GetMethodName(method); in GetMethodFullName() 738 …return block->IsInverted() == true_succ ? GetRuntime()->GetBranchNotTakenCounter(method, last_inst… in GetBranchCounter() 739 … : GetRuntime()->GetBranchTakenCounter(method, last_inst->GetPc()); in GetBranchCounter()
|
| /arkcompiler/runtime_core/compiler/ |
| D | compile_method.cpp | 59 auto cha = graph->GetRuntime()->GetCha(); in CheckSingleImplementation() 65 << graph->GetRuntime()->GetMethodFullName(si_method); in CheckSingleImplementation() 308 JitDebugWriter jit_writer(graph->GetArch(), graph->GetRuntime(), code_allocator, method_name); in EmitElf() 313 auto klass = reinterpret_cast<Class *>(graph->GetRuntime()->GetClass(method)); in EmitElf()
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsic_codegen_test.inl.erb | 20 if (EncodesBuiltin(GetGraph()->GetRuntime(), RuntimeInterface::IntrinsicId::<%= intrinsic.entrypoin…
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | reg_alloc_base.cpp | 230 …static_cast<size_t>(GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetGraph()->GetMethod()… in ReserveTempRegisters() 251 …lang_ext_slots = GetGraph()->GetRuntime()->GetLanguageExtensionSize() / PointerSize(GetGraph()->Ge… in GetTotalSlotsCount()
|
| /arkcompiler/runtime_core/compiler/aot/aot_builder/ |
| D | aot_builder.cpp | 127 ASSERT(GetRuntime() != nullptr); in FillHeader() 128 aot_header_.environment_checksum = GetRuntime()->GetEnvironmentChecksum(arch_); in FillHeader()
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | function.rb | 202 Output.println("[[maybe_unused]] auto *runtime = GetGraph()->GetRuntime();") 228 Output.println("[[maybe_unused]] auto *runtime = graph->GetRuntime();")
|