/art/compiler/dex/ |
H A D | post_opt_passes.cc | 53 MIRGraph *mir_graph = c_unit->mir_graph.get(); local 56 AllNodesIterator first(mir_graph); 62 AllNodesIterator second(mir_graph); 70 ChildBlockIterator child_iter(bb, mir_graph);
|
H A D | post_opt_passes.h | 24 #include "mir_graph.h" 43 return !c_unit->mir_graph->MirSsaRepUpToDate(); 63 c_unit->mir_graph->SSATransformationStart(); 64 c_unit->mir_graph->CompilerInitializeSSAConversion(); 105 return !c_unit->mir_graph->DfsOrdersUpToDate(); 112 c_unit->mir_graph.get()->ComputeDFSOrders(); 129 return !c_unit->mir_graph->DominationUpToDate(); 136 c_unit->mir_graph->ComputeDominators(); 145 c_unit->mir_graph->VerifyDataflow(); 163 return !c_unit->mir_graph 221 MIRGraph *mir_graph = c_unit->mir_graph.get(); local [all...] |
H A D | dataflow_iterator.h | 21 #include "mir_graph.h" 67 * @param mir_graph the MIRGraph we are interested in. 71 DataflowIterator(MIRGraph* mir_graph, int32_t start_idx, int32_t end_idx) argument 72 : mir_graph_(mir_graph), 121 * @param mir_graph The MIRGraph considered. 123 explicit PreOrderDfsIterator(MIRGraph* mir_graph) argument 124 : DataflowIterator(mir_graph, 0, mir_graph->GetNumReachableBlocks()) { 127 block_id_list_ = &mir_graph->GetDfsOrder(); 152 * @param mir_graph Th 154 RepeatingPreOrderDfsIterator(MIRGraph* mir_graph) argument 185 RepeatingPostOrderDfsIterator(MIRGraph* mir_graph) argument 215 ReversePostOrderDfsIterator(MIRGraph* mir_graph) argument 246 RepeatingReversePostOrderDfsIterator(MIRGraph* mir_graph) argument 276 PostOrderDOMIterator(MIRGraph* mir_graph) argument 306 AllNodesIterator(MIRGraph* mir_graph) argument 335 TopologicalSortIterator(MIRGraph* mir_graph) argument 375 LoopRepeatingTopologicalSortIterator(MIRGraph* mir_graph) argument [all...] |
H A D | compiler_ir.h | 189 // TODO: move memory management to mir_graph, or just switch to using standard containers. 193 std::unique_ptr<MIRGraph> mir_graph; // MIR container. member in struct:art::CompilationUnit
|
H A D | type_inference.cc | 26 #include "mir_graph.h" 153 TypeInference::CheckCastData::CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument 154 : mir_graph_(mir_graph), 156 num_blocks_(mir_graph->GetNumBlocks()), 157 num_sregs_(mir_graph->GetNumSSARegs()), 393 TypeInference::TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument 394 : mir_graph_(mir_graph), 395 cu_(mir_graph->GetCurrentDexCompilationUnit()->GetCompilationUnit()), 396 check_cast_data_(!mir_graph->HasCheckCast() ? nullptr : 397 InitializeCheckCastData(mir_graph, allo 599 PrepareIFieldTypes(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument 616 PrepareSFieldTypes(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument 650 PrepareSignatures(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument 665 InitializeCheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument [all...] |
H A D | mir_graph.cc | 17 #include "mir_graph.h" 1266 MIR* BasicBlock::GetNextUnconditionalMir(MIRGraph* mir_graph, MIR* current) { argument 1276 next_mir = mir_graph->GetBasicBlock(fall_through)->first_mir_insn; 1859 MIRGraph* mir_graph, const ArenaBitVector* current_loop, 1868 ArenaBitVector candidate_reachable(allocator, mir_graph->GetNumBlocks(), false, kBitMapMisc); 1869 AllNodesIterator iter(mir_graph); 1885 BasicBlock* current_bb = mir_graph->GetBasicBlock(current_id); 1887 ChildBlockIterator child_iter(current_bb, mir_graph); 1912 static void ComputeUnvisitedReachableFrom(MIRGraph* mir_graph, BasicBlockId bb_id, argument 1922 BasicBlock* current_bb = mir_graph 1858 SelectTopologicalSortOrderFallBack( MIRGraph* mir_graph, const ArenaBitVector* current_loop, const ScopedArenaVector<size_t>* visited_cnt_values, ScopedArenaAllocator* allocator, ScopedArenaVector<BasicBlockId>* tmp_stack) argument 2104 ChildBlockIterator(BasicBlock* bb, MIRGraph* mir_graph) argument 2159 MIRGraph* mir_graph = c_unit->mir_graph.get(); local 2163 Copy(MIRGraph* mir_graph) argument 2201 Copy(MIRGraph* mir_graph) argument 2326 Kill(MIRGraph* mir_graph) argument [all...] |
/art/compiler/dex/quick/ |
H A D | dex_file_method_inliner.cc | 26 #include "dex/mir_graph.h" 113 MIR* AllocReplacementMIR(MIRGraph* mir_graph, MIR* invoke) { argument 114 MIR* insn = mir_graph->NewMIR(); 642 bool DexFileMethodInliner::GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, argument 660 move_result = mir_graph->FindMoveResult(bb, invoke); 661 result = GenInlineConst(mir_graph, bb, invoke, move_result, method); 664 move_result = mir_graph->FindMoveResult(bb, invoke); 665 result = GenInlineReturnArg(mir_graph, bb, invoke, move_result, method); 668 move_result = mir_graph->FindMoveResult(bb, invoke); 669 result = GenInlineIGet(mir_graph, b 839 GenInlineConst(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument 861 GenInlineReturnArg(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument 900 GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument 949 GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument [all...] |
H A D | codegen_util.cc | 20 #include "dex/mir_graph.h" 1030 Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument 1038 mir_graph_(mir_graph), 1053 code_buffer_(mir_graph->GetArena()->Adapter()), 1054 encoded_mapping_table_(mir_graph->GetArena()->Adapter()), 1055 core_vmap_table_(mir_graph->GetArena()->Adapter()), 1056 fp_vmap_table_(mir_graph->GetArena()->Adapter()), 1057 native_gc_map_(mir_graph->GetArena()->Adapter()), 1058 patches_(mir_graph->GetArena()->Adapter()),
|
/art/compiler/dex/quick/arm/ |
H A D | target_arm.cc | 26 #include "dex/mir_graph.h" 576 ArmMir2Lir::ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument 577 : Mir2Lir(cu, mir_graph, arena), 591 Mir2Lir* ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, argument 593 return new ArmMir2Lir(cu, mir_graph, arena);
|
/art/compiler/dex/quick/arm64/ |
H A D | target_arm64.cc | 26 #include "dex/mir_graph.h" 606 Arm64Mir2Lir::Arm64Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument 607 : Mir2Lir(cu, mir_graph, arena), 619 Mir2Lir* Arm64CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, argument 621 return new Arm64Mir2Lir(cu, mir_graph, arena);
|
/art/compiler/dex/quick/mips/ |
H A D | target_mips.cc | 900 MipsMir2Lir::MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument 901 : Mir2Lir(cu, mir_graph, arena), in_to_reg_storage_mips64_mapper_(this), 915 Mir2Lir* MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, argument 917 return new MipsMir2Lir(cu, mir_graph, arena);
|
/art/compiler/dex/quick/x86/ |
H A D | target_x86.cc | 836 X86Mir2Lir::X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument 837 : Mir2Lir(cu, mir_graph, arena), 858 Mir2Lir* X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, argument 860 return new X86Mir2Lir(cu, mir_graph, arena);
|