Home
last modified time | relevance | path

Searched refs:cu (Results 1 – 25 of 31) sorted by relevance

12

/art/compiler/dex/
Dfrontend.cc556 CompilationUnit& cu) { in CanCompileMethod() argument
558 if (cu.num_dalvik_registers > kMaxAllowedDalvikRegisters) { in CanCompileMethod()
559 VLOG(compiler) << "Too many dalvik registers : " << cu.num_dalvik_registers; in CanCompileMethod()
564 if (kSupportedTypes[cu.instruction_set] == nullptr && in CanCompileMethod()
565 kUnsupportedOpcodesSize[cu.instruction_set] == 0U) { in CanCompileMethod()
571 if (!CanCompileShorty(shorty, cu.instruction_set)) { in CanCompileMethod()
576 const int *unsupport_list = kUnsupportedOpcodes[cu.instruction_set]; in CanCompileMethod()
577 int unsupport_list_size = kUnsupportedOpcodesSize[cu.instruction_set]; in CanCompileMethod()
579 for (unsigned int idx = 0; idx < cu.mir_graph->GetNumBlocks(); idx++) { in CanCompileMethod()
580 BasicBlock* bb = cu.mir_graph->GetBasicBlock(idx); in CanCompileMethod()
[all …]
Dpass_driver_me_post_opt.h31 explicit PassDriverMEPostOpt(CompilationUnit* cu) : PassDriverME<PassDriverMEPostOpt>(cu) { in PassDriverMEPostOpt() argument
Dpass_driver_me_opts.h31 explicit PassDriverMEOpts(CompilationUnit* cu):PassDriverME<PassDriverMEOpts>(cu) { in PassDriverMEOpts() argument
Dpass_driver_me.h31 explicit PassDriverME(CompilationUnit* cu) in PassDriverME() argument
34 pass_me_data_holder_.c_unit = cu; in PassDriverME()
Dglobal_value_numbering.cc23 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator) in GlobalValueNumbering() argument
24 : cu_(cu), in GlobalValueNumbering()
25 mir_graph_(cu->mir_graph.get()), in GlobalValueNumbering()
Dglobal_value_numbering.h31 GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator);
/art/compiler/driver/
Ddex_compilation_unit.cc26 DexCompilationUnit::DexCompilationUnit(CompilationUnit* cu) in DexCompilationUnit() argument
27 : cu_(cu), in DexCompilationUnit()
28 class_loader_(cu->class_loader), in DexCompilationUnit()
29 class_linker_(cu->class_linker), in DexCompilationUnit()
30 dex_file_(cu->dex_file), in DexCompilationUnit()
31 code_item_(cu->code_item), in DexCompilationUnit()
32 class_def_idx_(cu->class_def_idx), in DexCompilationUnit()
33 dex_method_idx_(cu->method_idx), in DexCompilationUnit()
34 access_flags_(cu->access_flags), in DexCompilationUnit()
35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) { in DexCompilationUnit()
[all …]
Ddex_compilation_unit.h36 explicit DexCompilationUnit(CompilationUnit* cu);
38 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker,
/art/compiler/
Dcompilers.cc101 Backend* QuickCompiler::GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const { in GetCodeGenerator() argument
103 switch (cu->instruction_set) { in GetCodeGenerator()
105 mir_to_lir = ArmCodeGenerator(cu, cu->mir_graph.get(), &cu->arena); in GetCodeGenerator()
108 mir_to_lir = Arm64CodeGenerator(cu, cu->mir_graph.get(), &cu->arena); in GetCodeGenerator()
111 mir_to_lir = MipsCodeGenerator(cu, cu->mir_graph.get(), &cu->arena); in GetCodeGenerator()
116 mir_to_lir = X86CodeGenerator(cu, cu->mir_graph.get(), &cu->arena); in GetCodeGenerator()
119 LOG(FATAL) << "Unexpected instruction set: " << cu->instruction_set; in GetCodeGenerator()
125 bool set_max = cu->mir_graph->SetMaxAvailableNonSpecialCompilerTemps(max_temps); in GetCodeGenerator()
Dcompiler.cc148 Backend* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const { in GetCodeGenerator() argument
150 cu, cu->mir_graph.get(), &cu->arena, in GetCodeGenerator()
154 void InitCompilationUnit(CompilationUnit& cu) const { in InitCompilationUnit()
156 cu.disable_opt |= in InitCompilationUnit()
Dcompilers.h55 Backend* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const OVERRIDE;
57 void InitCompilationUnit(CompilationUnit& cu) const OVERRIDE {} in InitCompilationUnit() argument
Dcompiler.h80 virtual Backend* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const = 0;
95 virtual void InitCompilationUnit(CompilationUnit& cu) const = 0;
/art/compiler/dex/quick/
Dgen_invoke.cc478 const CompilationUnit* cu, Mir2Lir* cg) { in CommonCallCodeLoadCodePointerIntoInvokeTgt() argument
479 if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in CommonCallCodeLoadCodePointerIntoInvokeTgt()
481 InstructionSetPointerSize(cu->instruction_set)).Int32Value(); in CommonCallCodeLoadCodePointerIntoInvokeTgt()
494 static int NextSDCallInsn(CompilationUnit* cu, CallInfo* info, in NextSDCallInsn() argument
499 Mir2Lir* cg = static_cast<Mir2Lir*>(cu->cg.get()); in NextSDCallInsn()
504 if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in NextSDCallInsn()
507 } else if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in NextSDCallInsn()
535 } else if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in NextSDCallInsn()
542 CHECK_EQ(cu->dex_file, target_method.dex_file); in NextSDCallInsn()
550 if (CommonCallCodeLoadCodePointerIntoInvokeTgt(info, &arg0_ref, cu, cg)) { in NextSDCallInsn()
[all …]
Ddex_file_method_inliner.cc773 CompilationUnit* cu = mir_graph->GetCurrentDexCompilationUnit()->GetCompilationUnit(); in GenInlineIGet() local
774 if (cu->enable_debug & (1 << kDebugSlowFieldPath)) { in GenInlineIGet()
825 CompilationUnit* cu = mir_graph->GetCurrentDexCompilationUnit()->GetCompilationUnit(); in GenInlineIPut() local
826 if (cu->enable_debug & (1 << kDebugSlowFieldPath)) { in GenInlineIPut()
Dmir_to_lir.h191 Mir2Lir* ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
193 Mir2Lir* Arm64CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
195 Mir2Lir* MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
197 Mir2Lir* X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
1461 Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
Dcodegen_util.cc990 Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in Mir2Lir() argument
998 cu_(cu), in Mir2Lir()
/art/compiler/dex/portable/
Dmir_to_gbc.h46 Backend* PortableCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
53 MirConverter(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena, in MirConverter() argument
56 cu_(cu), in MirConverter()
73 cu->enable_debug |= (1 << kDebugVerifyBitcode); in MirConverter()
/art/compiler/optimizing/
Dgraph_visualizer.h47 const DexCompilationUnit& cu);
Dgraph_visualizer.cc246 const DexCompilationUnit& cu) in HGraphVisualizer() argument
251 std::string pretty_name = PrettyMethod(cu.GetDexMethodIndex(), *cu.GetDexFile()); in HGraphVisualizer()
/art/compiler/dex/quick/mips/
Dtarget_mips.cc574 MipsMir2Lir::MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in MipsMir2Lir() argument
575 : Mir2Lir(cu, mir_graph, arena) { in MipsMir2Lir()
585 Mir2Lir* MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in MipsCodeGenerator() argument
587 return new MipsMir2Lir(cu, mir_graph, arena); in MipsCodeGenerator()
Dcodegen_mips.h27 MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
/art/compiler/dex/quick/arm/
Dtarget_arm.cc552 ArmMir2Lir::ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in ArmMir2Lir() argument
553 : Mir2Lir(cu, mir_graph, arena) { in ArmMir2Lir()
564 Mir2Lir* ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in ArmCodeGenerator() argument
566 return new ArmMir2Lir(cu, mir_graph, arena); in ArmCodeGenerator()
Dcodegen_arm.h27 ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc580 Arm64Mir2Lir::Arm64Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in Arm64Mir2Lir() argument
581 : Mir2Lir(cu, mir_graph, arena) { in Arm64Mir2Lir()
592 Mir2Lir* Arm64CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in Arm64CodeGenerator() argument
594 return new Arm64Mir2Lir(cu, mir_graph, arena); in Arm64CodeGenerator()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc778 X86Mir2Lir::X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in X86Mir2Lir() argument
779 : Mir2Lir(cu, mir_graph, arena), in X86Mir2Lir()
870 Mir2Lir* X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in X86CodeGenerator() argument
872 return new X86Mir2Lir(cu, mir_graph, arena); in X86CodeGenerator()

12