Searched refs:cg (Results 1 – 4 of 4) sorted by relevance
/art/compiler/dex/quick/ |
D | gen_invoke.cc | 337 Mir2Lir* cg = static_cast<Mir2Lir*>(cu->cg.get()); in NextSDCallInsn() local 347 cg->LoadConstant(cg->TargetReg(kInvokeTgt), direct_code); in NextSDCallInsn() 350 LIR* data_target = cg->ScanLiteralPool(cg->code_literal_list_, in NextSDCallInsn() 353 data_target = cg->AddWordData(&cg->code_literal_list_, target_method.dex_method_index); in NextSDCallInsn() 356 LIR* load_pc_rel = cg->OpPcRelLoad(cg->TargetReg(kInvokeTgt), data_target); in NextSDCallInsn() 357 cg->AppendLIR(load_pc_rel); in NextSDCallInsn() 361 cg->LoadConstant(cg->TargetReg(kArg0), direct_method); in NextSDCallInsn() 364 LIR* data_target = cg->ScanLiteralPool(cg->method_literal_list_, in NextSDCallInsn() 367 data_target = cg->AddWordData(&cg->method_literal_list_, target_method.dex_method_index); in NextSDCallInsn() 370 LIR* load_pc_rel = cg->OpPcRelLoad(cg->TargetReg(kArg0), data_target); in NextSDCallInsn() [all …]
|
/art/compiler/dex/ |
D | frontend.cc | 226 cu.cg.reset(PortableCodeGenerator(&cu, cu.mir_graph.get(), &cu.arena, llvm_compilation_unit)); in CompileMethod() 231 cu.cg.reset(ArmCodeGenerator(&cu, cu.mir_graph.get(), &cu.arena)); in CompileMethod() 234 cu.cg.reset(MipsCodeGenerator(&cu, cu.mir_graph.get(), &cu.arena)); in CompileMethod() 237 cu.cg.reset(X86CodeGenerator(&cu, cu.mir_graph.get(), &cu.arena)); in CompileMethod() 246 cu.cg->Materialize(); in CompileMethod() 248 result = cu.cg->GetCompiledMethod(); in CompileMethod()
|
D | compiler_ir.h | 71 cg(NULL) {} in CompilationUnit() 111 UniquePtr<Backend> cg; // Target-specific codegen. member
|
D | vreg_analysis.cc | 337 Mir2Lir* cg = static_cast<Mir2Lir*>(cu_->cg.get()); in DumpRegLocTable() local 338 if (cg != NULL) { in DumpRegLocTable() 346 cg->IsFpReg(table[i].low_reg) ? 's' : 'r', in DumpRegLocTable() 347 table[i].low_reg & cg->FpRegMask(), in DumpRegLocTable() 348 cg->IsFpReg(table[i].high_reg) ? 's' : 'r', in DumpRegLocTable() 349 table[i].high_reg & cg->FpRegMask(), table[i].s_reg_low); in DumpRegLocTable()
|