Lines Matching refs:callee_graph

1799 void HInliner::SubstituteArguments(HGraph* callee_graph,  in SubstituteArguments()  argument
1803 ArtMethod* const resolved_method = callee_graph->GetArtMethod(); in SubstituteArguments()
1806 for (HInstructionIterator instructions(callee_graph->GetEntryBlock()->GetInstructions()); in SubstituteArguments()
1813 current->ReplaceWith(callee_graph->GetNullConstant()); in SubstituteArguments()
1815 current->ReplaceWith(callee_graph->GetIntConstant(argument->AsIntConstant()->GetValue())); in SubstituteArguments()
1817 current->ReplaceWith(callee_graph->GetLongConstant(argument->AsLongConstant()->GetValue())); in SubstituteArguments()
1820 callee_graph->GetFloatConstant(argument->AsFloatConstant()->GetValue())); in SubstituteArguments()
1823 callee_graph->GetDoubleConstant(argument->AsDoubleConstant()->GetValue())); in SubstituteArguments()
1840 ReferenceTypePropagation(callee_graph, in SubstituteArguments()
1855 bool HInliner::CanInlineBody(const HGraph* callee_graph, in CanInlineBody() argument
1858 const DexFile& callee_dex_file = callee_graph->GetDexFile(); in CanInlineBody()
1859 ArtMethod* const resolved_method = callee_graph->GetArtMethod(); in CanInlineBody()
1864 HBasicBlock* exit_block = callee_graph->GetExitBlock(); in CanInlineBody()
1911 for (HBasicBlock* block : callee_graph->GetReversePostOrderSkipEntryBlock()) { in CanInlineBody()
2036 HGraph* callee_graph = new (graph_->GetAllocator()) HGraph( in TryBuildAndInlineHelper() local
2049 callee_graph->SetArtMethod(resolved_method); in TryBuildAndInlineHelper()
2064 HGraphBuilder builder(callee_graph, in TryBuildAndInlineHelper()
2080 SubstituteArguments(callee_graph, invoke_instruction, receiver_type, dex_compilation_unit); in TryBuildAndInlineHelper()
2082 RunOptimizations(callee_graph, code_item, dex_compilation_unit); in TryBuildAndInlineHelper()
2085 if (!CanInlineBody(callee_graph, invoke_instruction->GetBlock(), &number_of_instructions)) { in TryBuildAndInlineHelper()
2093 const int32_t callee_instruction_counter = callee_graph->GetCurrentInstructionId(); in TryBuildAndInlineHelper()
2095 *return_replacement = callee_graph->InlineInto(graph_, invoke_instruction); in TryBuildAndInlineHelper()
2100 DCHECK_EQ(callee_instruction_counter, callee_graph->GetCurrentInstructionId()) in TryBuildAndInlineHelper()
2118 void HInliner::RunOptimizations(HGraph* callee_graph, in RunOptimizations() argument
2123 HDeadCodeElimination dce(callee_graph, inline_stats_, "dead_code_elimination$inliner"); in RunOptimizations()
2124 HConstantFolding fold(callee_graph, "constant_folding$inliner"); in RunOptimizations()
2125 InstructionSimplifier simplify(callee_graph, codegen_, inline_stats_); in RunOptimizations()
2141 LOG_NOTE() << "Calls in " << callee_graph->GetArtMethod()->PrettyMethod() in RunOptimizations()
2148 size_t number_of_instructions = CountNumberOfInstructions(callee_graph); in RunOptimizations()
2150 LOG_NOTE() << "Calls in " << callee_graph->GetArtMethod()->PrettyMethod() in RunOptimizations()
2156 CodeItemDataAccessor accessor(callee_graph->GetDexFile(), code_item); in RunOptimizations()
2157 HInliner inliner(callee_graph, in RunOptimizations()