Home
last modified time | relevance | path

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

/art/compiler/dex/
Dfrontend.cc122 CompilationUnit cu(&compiler.GetArenaPool()); in CompileMethod() local
124 cu.compiler_driver = &compiler; in CompileMethod()
125 cu.class_linker = class_linker; in CompileMethod()
126 cu.instruction_set = compiler.GetInstructionSet(); in CompileMethod()
127 cu.compiler_backend = compiler_backend; in CompileMethod()
128 DCHECK((cu.instruction_set == kThumb2) || in CompileMethod()
129 (cu.instruction_set == kX86) || in CompileMethod()
130 (cu.instruction_set == kMips)); in CompileMethod()
134 cu.num_dalvik_registers = code_item->registers_size_; in CompileMethod()
136 cu.compiler_flip_match = false; in CompileMethod()
[all …]
Dlocal_value_numbering.h36 explicit LocalValueNumbering(CompilationUnit* cu) : cu_(cu) {} in LocalValueNumbering() argument
Dmir_graph.h346 MIRGraph(CompilationUnit* cu, ArenaAllocator* arena);
Dmir_graph.cc74 MIRGraph::MIRGraph(CompilationUnit* cu, ArenaAllocator* arena) in MIRGraph() argument
77 cu_(cu), in MIRGraph()
/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()
37 DexCompilationUnit::DexCompilationUnit(CompilationUnit* cu, in DexCompilationUnit() argument
[all …]
Ddex_compilation_unit.h35 explicit DexCompilationUnit(CompilationUnit* cu);
37 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker,
/art/compiler/dex/quick/
Dgen_invoke.cc332 static int NextSDCallInsn(CompilationUnit* cu, CallInfo* info, in NextSDCallInsn() argument
337 Mir2Lir* cg = static_cast<Mir2Lir*>(cu->cg.get()); in NextSDCallInsn()
338 if (cu->instruction_set != kThumb2) { in NextSDCallInsn()
349 CHECK_EQ(cu->dex_file, target_method.dex_file); in NextSDCallInsn()
358 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target); in NextSDCallInsn()
363 CHECK_EQ(cu->dex_file, target_method.dex_file); in NextSDCallInsn()
372 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target); in NextSDCallInsn()
392 CHECK_EQ(cu->dex_file, target_method.dex_file); in NextSDCallInsn()
401 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target); in NextSDCallInsn()
406 CHECK_EQ(cu->dex_file, target_method.dex_file); in NextSDCallInsn()
[all …]
Dmir_to_lir.h131 Mir2Lir* ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
133 Mir2Lir* MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
135 Mir2Lir* X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
695 Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
Dcodegen_util.cc940 Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in Mir2Lir() argument
945 cu_(cu), in Mir2Lir()
Dgen_common.cc1083 DexCompilationUnit* cu = mir_graph_->GetCurrentDexCompilationUnit(); in GenCheckCast() local
1084 const MethodReference mr(cu->GetDexFile(), cu->GetDexMethodIndex()); in GenCheckCast()
/art/compiler/dex/portable/
Dmir_to_gbc.h39 Backend* PortableCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph,
46 MirConverter(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena, in MirConverter() argument
49 cu_(cu), in MirConverter()
66 cu->enable_debug |= (1 << kDebugVerifyBitcode); in MirConverter()
Dmir_to_gbc.cc1986 Backend* PortableCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in PortableCodeGenerator() argument
1989 return new MirConverter(cu, mir_graph, arena, llvm_compilation_unit); in PortableCodeGenerator()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc510 X86Mir2Lir::X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in X86Mir2Lir() argument
511 : Mir2Lir(cu, mir_graph, arena) { in X86Mir2Lir()
521 Mir2Lir* X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in X86CodeGenerator() argument
523 return new X86Mir2Lir(cu, mir_graph, arena); in X86CodeGenerator()
Dcodegen_x86.h27 X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
/art/compiler/dex/quick/mips/
Dtarget_mips.cc545 MipsMir2Lir::MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in MipsMir2Lir() argument
546 : Mir2Lir(cu, mir_graph, arena) { in MipsMir2Lir()
556 Mir2Lir* MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in MipsCodeGenerator() argument
558 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.cc492 ArmMir2Lir::ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) in ArmMir2Lir() argument
493 : Mir2Lir(cu, mir_graph, arena) { in ArmMir2Lir()
504 Mir2Lir* ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, in ArmCodeGenerator() argument
506 return new ArmMir2Lir(cu, mir_graph, arena); in ArmCodeGenerator()
Dcodegen_arm.h26 ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);