Home
last modified time | relevance | path

Searched refs:GetRuntime (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder.h36 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()
128 GetGraph()->GetRuntime()->FillInstIdTypePairByPc(id, pc); in TryFillInstIdTypePair()
244 const RuntimeInterface *GetRuntime() const in GetRuntime() function
249 RuntimeInterface *GetRuntime() in GetRuntime() function
Dinst_builder-inl.h34 …type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool()
52 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyString()
79 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyNumber()
Dir_builder.cpp33 … << 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 …]
Dinst_builder.cpp27 auto num_args = GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in Prepare()
32 auto reg_num = GetRuntime()->GetMethodRegistersCount(GetMethod()) + i; in Prepare()
277 return GetRuntime()->GetMethodArgumentsCount(GetMethod(), id); in GetMethodArgumentsCount()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.cpp67 ASSERT(GetGraph()->GetRuntime() != nullptr); in GetFileName()
81 ss_filename << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetGraph()->GetMethod()) << "_" in GetFileName()
82 << GetGraph()->GetRuntime()->GetMethodName(GetGraph()->GetMethod()); in GetFileName()
Dpass_manager_statistics.cpp156 auto m_name = graph_->GetRuntime()->GetMethodFullName(graph_->GetMethod(), true); in DumpStatisticsCsv()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp98 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()
Dreg_encoder.h145 auto adapter = GetGraph()->GetRuntime(); in GetNumArgsFromGraph()
Dcodegen.cpp72 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()
Dreg_encoder.cpp316 …LOG(DEBUG, BYTECODE_OPTIMIZER) << GetGraph()->GetRuntime()->GetMethodFullName(GetGraph()->GetMetho… in CalculateNumNeededTemps()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcodegen_test.cpp532 graph->GetRuntime()->AddPcTypePair(pc, type); in __anona44e78530802()
535 graph->GetRuntime()->FillInstIdTypePairByPc(id, pc); in __anona44e78530802()
546 const auto &key = *(graph->GetRuntime()->GetTypeLiteralArrayKey()); in __anona44e78530802()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_base.cpp223 …static_cast<size_t>(GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetGraph()->GetMethod()… in ReserveTempRegisters()
Dreg_alloc_graph_coloring.cpp325 …COMPILER_LOG(DEBUG, REGALLOC) << "GC RA passed " << gr->GetRuntime()->GetMethodName(gr->GetMethod(… in Allocate()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb330 …m_idx<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), m_idx<%= id16…
334 …string_id<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), string_id…
338 …literalarray_id<%= id16_index %> = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), lit…
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp455 sstream << graph->GetRuntime()->GetClassNameFromMethod(method) in GetMethodFullName()
456 << "::" << graph->GetRuntime()->GetMethodName(method); in GetMethodFullName()
Dgraph.h169 … = GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), GetArch(), method, GetRuntime(), in CreateChildGraph()
801 RuntimeInterface *GetRuntime() const in GetRuntime() function
Ddump.cpp532 const auto &runtime = GetRuntime(); in Dump()
Dgraph_cloner.cpp40 … GetGraph()->GetRuntime(), GetGraph()->GetParentGraph(), GetGraph()->GetMode()); in CloneGraph()
/arkcompiler/runtime_core/compiler/tests/
Dinst_generator.h37 RuntimeInterface *GetRuntime() in GetRuntime() function