Searched defs:codegen (Results 1 - 25 of 52) sorted by relevance

123

/art/compiler/optimizing/
H A Dinstruction_simplifier_mips.h32 InstructionSimplifierMips(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) argument
34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {}
H A Dintrinsics_mips.h35 explicit IntrinsicLocationsBuilderMIPS(CodeGeneratorMIPS* codegen);
60 explicit IntrinsicCodeGeneratorMIPS(CodeGeneratorMIPS* codegen) : codegen_(codegen) {} argument
H A Dintrinsics_mips64.h35 explicit IntrinsicLocationsBuilderMIPS64(CodeGeneratorMIPS64* codegen);
60 explicit IntrinsicCodeGeneratorMIPS64(CodeGeneratorMIPS64* codegen) : codegen_(codegen) {} argument
H A Dintrinsics_x86.h35 explicit IntrinsicLocationsBuilderX86(CodeGeneratorX86* codegen);
60 explicit IntrinsicCodeGeneratorX86(CodeGeneratorX86* codegen) : codegen_(codegen) {} argument
H A Dintrinsics_x86_64.h35 explicit IntrinsicLocationsBuilderX86_64(CodeGeneratorX86_64* codegen);
60 explicit IntrinsicCodeGeneratorX86_64(CodeGeneratorX86_64* codegen) : codegen_(codegen) {} argument
H A Dpc_relative_fixups_mips.h31 PcRelativeFixups(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) argument
33 codegen_(codegen) {}
H A Dpc_relative_fixups_x86.h31 PcRelativeFixups(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) argument
33 codegen_(codegen) {}
H A Dsharpening.h36 CodeGenerator* codegen,
40 codegen_(codegen),
49 CodeGenerator* codegen,
56 CodeGenerator* codegen,
63 CodeGenerator* codegen,
35 HSharpening(HGraph* graph, CodeGenerator* codegen, CompilerDriver* compiler_driver, const char* name = kSharpeningPassName) argument
H A Dinstruction_simplifier.h42 CodeGenerator* codegen,
47 codegen_(codegen),
41 InstructionSimplifier(HGraph* graph, CodeGenerator* codegen, CompilerDriver* compiler_driver, OptimizingCompilerStats* stats = nullptr, const char* name = kInstructionSimplifierPassName) argument
H A Dintrinsics_arm64.h42 explicit IntrinsicLocationsBuilderARM64(ArenaAllocator* allocator, CodeGeneratorARM64* codegen) argument
43 : allocator_(allocator), codegen_(codegen) {}
68 explicit IntrinsicCodeGeneratorARM64(CodeGeneratorARM64* codegen) : codegen_(codegen) {} argument
H A Dintrinsics_arm_vixl.h32 explicit IntrinsicLocationsBuilderARMVIXL(CodeGeneratorARMVIXL* codegen);
59 explicit IntrinsicCodeGeneratorARMVIXL(CodeGeneratorARMVIXL* codegen) : codegen_(codegen) {} argument
H A Dintrinsics_utils.h44 Location MoveArguments(CodeGenerator* codegen) { argument
46 IntrinsicVisitor::MoveArguments(invoke_, codegen, &calling_convention_visitor);
50 void EmitNativeCode(CodeGenerator* codegen) OVERRIDE {
51 Assembler* assembler = codegen->GetAssembler();
54 SaveLiveRegisters(codegen, invoke_->GetLocations());
56 Location method_loc = MoveArguments(codegen);
59 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), method_loc, this);
61 codegen->GenerateVirtualCall(invoke_->AsInvokeVirtual(), method_loc, this);
69 codegen->MoveFromReturnRegister(out, invoke_->GetType());
72 RestoreLiveRegisters(codegen, invoke
[all...]
H A Dpc_relative_fixups_mips.cc29 PCRelativeHandlerVisitor(HGraph* graph, CodeGenerator* codegen) argument
31 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)),
H A Dx86_memory_gen.cc73 CodeGenerator* codegen,
76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) {
72 X86MemoryOperandGeneration(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) argument
H A Dinstruction_simplifier_mips.cc28 CodeGenerator* codegen,
32 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {}
27 InstructionSimplifierMipsVisitor(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) argument
H A Doptimization.cc175 CodeGenerator* codegen,
249 codegen,
263 opt = new (allocator) HSharpening(graph, codegen, driver, name);
269 opt = new (allocator) InstructionSimplifier(graph, codegen, driver, stats, name);
285 graph, driver->GetInstructionSet(), codegen, name);
305 opt = new (allocator) mips::PcRelativeFixups(graph, codegen, stats);
309 opt = new (allocator) mips::InstructionSimplifierMips(graph, codegen, stats);
315 opt = new (allocator) x86::PcRelativeFixups(graph, codegen, stats);
319 opt = new (allocator) x86::X86MemoryOperandGeneration(graph, codegen, stats);
169 ConstructOptimizations( const OptimizationDef definitions[], size_t length, ArenaAllocator* allocator, HGraph* graph, OptimizingCompilerStats* stats, CodeGenerator* codegen, CompilerDriver* driver, const DexCompilationUnit& dex_compilation_unit, VariableSizedHandleScope* handles) argument
H A Dinliner.h38 CodeGenerator* codegen,
53 codegen_(codegen),
36 HInliner(HGraph* outer_graph, HGraph* outermost_graph, CodeGenerator* codegen, const DexCompilationUnit& outer_compilation_unit, const DexCompilationUnit& caller_compilation_unit, CompilerDriver* compiler_driver, VariableSizedHandleScope* handles, OptimizingCompilerStats* stats, size_t total_number_of_dex_registers, size_t total_number_of_instructions, HInliner* parent, size_t depth = 0, const char* name = kInlinerPassName) argument
H A Dintrinsics.cc221 CodeGenerator* codegen,
225 if (codegen->GetCompilerOptions().IsBootImage() ||
226 codegen->GetCompilerOptions().GetCompilePic()) {
220 ComputeIntegerValueOfLocations(HInvoke* invoke, CodeGenerator* codegen, Location return_location, Location first_argument_location) argument
H A Dpc_relative_fixups_x86.cc29 PCRelativeHandlerVisitor(HGraph* graph, CodeGenerator* codegen) argument
31 codegen_(down_cast<CodeGeneratorX86*>(codegen)),
H A Dscheduler_arm.h54 explicit SchedulingLatencyVisitorARM(CodeGenerator* codegen) argument
55 : codegen_(down_cast<CodeGeneratorARMType*>(codegen)) {}
H A Dsharpening.cc85 CodeGenerator* codegen,
113 if (callee == codegen->GetGraph()->GetArtMethod() && !codegen->GetGraph()->IsDebuggable()) {
118 AOTCanEmbedMethod(callee, codegen->GetCompilerOptions())) {
124 } else if (codegen->GetCompilerOptions().IsBootImage() &&
134 if (codegen->GetGraph()->IsDebuggable()) {
144 codegen->GetSupportedInvokeStaticOrDirectDispatch(desired_dispatch_info, invoke);
150 CodeGenerator* codegen,
175 if (codegen->GetCompilerOptions().IsBootImage()) {
194 DCHECK(!codegen
84 SharpenInvokeStaticOrDirect(HInvokeStaticOrDirect* invoke, CodeGenerator* codegen, CompilerDriver* compiler_driver) argument
148 ComputeLoadClassKind( HLoadClass* load_class, CodeGenerator* codegen, CompilerDriver* compiler_driver, const DexCompilationUnit& dex_compilation_unit) argument
239 ProcessLoadString( HLoadString* load_string, CodeGenerator* codegen, CompilerDriver* compiler_driver, const DexCompilationUnit& dex_compilation_unit, VariableSizedHandleScope* handles) argument
[all...]
H A Dcode_generator_x86_64.h129 ParallelMoveResolverX86_64(ArenaAllocator* allocator, CodeGeneratorX86_64* codegen) argument
130 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {}
156 LocationsBuilderX86_64(HGraph* graph, CodeGeneratorX86_64* codegen) argument
157 : HGraphVisitor(graph), codegen_(codegen) {}
188 InstructionCodeGeneratorX86_64(HGraph* graph, CodeGeneratorX86_64* codegen);
H A Dcodegen_test_utils.h82 // Special ARM code generator for codegen testing in a limited code
87 // codegen tests in the future, we should also:
97 // Provide our own codegen, that ensures the C calling conventions
124 // meaningful values. This is not the case in codegen testing, so
132 // Special ARM64 code generator for codegen testing in a limited code
137 // codegen tests in the future, we should also:
158 // meaningful values. This is not the case in codegen testing, so
266 const CodeGenerator& codegen,
269 InstructionSet target_isa = codegen.GetInstructionSet();
293 static void RunCodeNoCheck(CodeGenerator* codegen, argument
265 Run(const InternalCodeAllocator& allocator, const CodeGenerator& codegen, bool has_result, Expected expected) argument
314 RunCode(CodeGenerator* codegen, HGraph* graph, std::function<void(HGraph*)> hook_before_codegen, bool has_result, Expected expected) argument
[all...]
H A Dintrinsics.h93 CodeGenerator* codegen,
111 HParallelMove parallel_move(codegen->GetGraph()->GetAllocator());
121 codegen->GetMoveResolver()->EmitNativeCode(&parallel_move);
125 CodeGenerator* codegen,
327 bool IsCallFreeIntrinsic(HInvoke* invoke, Codegenerator* codegen) { argument
336 IntrinsicLocationsBuilder builder(codegen);
92 MoveArguments(HInvoke* invoke, CodeGenerator* codegen, InvokeDexCallingConventionVisitor* calling_convention_visitor) argument
H A Dregister_allocator.cc33 CodeGenerator* codegen,
36 codegen_(codegen),
40 CodeGenerator* codegen,
46 new (allocator) RegisterAllocatorLinearScan(allocator, codegen, analysis));
49 new (allocator) RegisterAllocatorGraphColor(allocator, codegen, analysis));
112 const CodeGenerator& codegen,
116 ? codegen.GetNumberOfCoreRegisters()
117 : codegen.GetNumberOfFloatingPointRegisters();
118 ScopedArenaAllocator allocator(codegen.GetGraph()->GetArenaStack());
168 CHECK(codegen
32 RegisterAllocator(ScopedArenaAllocator* allocator, CodeGenerator* codegen, const SsaLivenessAnalysis& liveness) argument
39 Create(ScopedArenaAllocator* allocator, CodeGenerator* codegen, const SsaLivenessAnalysis& analysis, Strategy strategy) argument
109 ValidateIntervals(ArrayRef<LiveInterval* const> intervals, size_t number_of_spill_slots, size_t number_of_out_slots, const CodeGenerator& codegen, bool processing_core_registers, bool log_fatal_on_failure) argument
[all...]

Completed in 202 milliseconds

123