Home
last modified time | relevance | path

Searched refs:codegen_ (Results 1 – 25 of 38) sorted by relevance

12

/art/compiler/optimizing/
Dinstruction_simplifier_x86_64.cc30 codegen_(down_cast<CodeGeneratorX86_64*>(codegen)), in InstructionSimplifierX86_64Visitor()
38 return codegen_->GetInstructionSetFeatures().HasAVX2(); in HasAVX2()
54 CodeGeneratorX86_64* codegen_; member in art::x86_64::InstructionSimplifierX86_64Visitor
74 InstructionSimplifierX86_64Visitor visitor(graph_, codegen_, stats_); in Run()
Dintrinsics_arm64.h43 : allocator_(allocator), codegen_(codegen) {} in IntrinsicLocationsBuilderARM64()
61 CodeGeneratorARM64* const codegen_; variable
68 explicit IntrinsicCodeGeneratorARM64(CodeGeneratorARM64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARM64()
84 CodeGeneratorARM64* const codegen_; variable
Dinstruction_simplifier_x86.cc30 codegen_(down_cast<CodeGeneratorX86*>(codegen)), in InstructionSimplifierX86Visitor()
38 return (codegen_->GetInstructionSetFeatures().HasAVX2()); in HasAVX2()
54 CodeGeneratorX86* codegen_; member in art::x86::InstructionSimplifierX86Visitor
78 InstructionSimplifierX86Visitor visitor(graph_, codegen_, stats_); in Run()
Dintrinsics_x86.h53 CodeGeneratorX86* const codegen_; variable
60 explicit IntrinsicCodeGeneratorX86(CodeGeneratorX86* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86()
76 CodeGeneratorX86* const codegen_; variable
Dintrinsics_x86_64.h53 CodeGeneratorX86_64* const codegen_; variable
60 explicit IntrinsicCodeGeneratorX86_64(CodeGeneratorX86_64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86_64()
76 CodeGeneratorX86_64* const codegen_; variable
Dintrinsics_arm_vixl.h50 CodeGenerator* const codegen_; variable
59 explicit IntrinsicCodeGeneratorARMVIXL(CodeGeneratorARMVIXL* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARMVIXL()
74 CodeGeneratorARMVIXL* const codegen_; variable
Dinstruction_simplifier_x86_64.h32 codegen_(codegen) {} in InstructionSimplifierX86_64()
40 CodeGenerator* codegen_;
Dinstruction_simplifier_x86.h31 codegen_(codegen) {} in InstructionSimplifierX86()
38 CodeGenerator* codegen_;
Dpc_relative_fixups_x86.h33 codegen_(codegen) {} in PcRelativeFixups()
40 CodeGenerator* codegen_;
Dinstruction_simplifier.h45 codegen_(codegen) {} in HOptimization()
52 CodeGenerator* codegen_;
Dintrinsics_arm_vixl.cc60 return codegen_->GetAssembler(); in GetAssembler()
64 return codegen_->GetGraph()->GetAllocator(); in GetAllocator()
246 codegen_(codegen), in IntrinsicLocationsBuilderARMVIXL()
374 GenNumberOfLeadingZeros(invoke, DataType::Type::kInt32, codegen_); in VisitIntegerNumberOfLeadingZeros()
382 GenNumberOfLeadingZeros(invoke, DataType::Type::kInt64, codegen_); in VisitLongNumberOfLeadingZeros()
420 GenNumberOfTrailingZeros(invoke, DataType::Type::kInt32, codegen_); in VisitIntegerNumberOfTrailingZeros()
428 GenNumberOfTrailingZeros(invoke, DataType::Type::kInt64, codegen_); in VisitLongNumberOfTrailingZeros()
447 DCHECK(codegen_->GetInstructionSetFeatures().HasARMv8AInstructions()); in VisitMathRint()
463 DCHECK(codegen_->GetInstructionSetFeatures().HasARMv8AInstructions()); in VisitMathRoundFloat()
471 vixl32::Label* final_label = codegen_->GetFinalLabel(invoke, &done); in VisitMathRoundFloat()
[all …]
Dregister_allocation_resolver.cc29 codegen_(codegen), in RegisterAllocationResolver()
51 codegen_->InitializeCodeGeneration(spill_slots, in Resolve()
54 codegen_->GetGraph()->GetLinearOrder()); in Resolve()
66 location = Location::StackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in Resolve()
70 location = Location::DoubleStackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in Resolve()
74 current->SetSpillSlot(current->GetSpillSlot() + codegen_->GetFrameSize()); in Resolve()
152 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearOrder()) { in Resolve()
182 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearOrder()) { in Resolve()
216 if (codegen_->NeedsTwoRegisters(DataType::Type::kFloat64)) { in Resolve()
276 size_t core_register_spill_size = codegen_->GetWordSize(); in CalculateMaximumSafepointSpillSize()
[all …]
Dpc_relative_fixups_x86.cc31 codegen_(down_cast<CodeGeneratorX86*>(codegen)), in PCRelativeHandlerVisitor()
212 !IsCallFreeIntrinsic<IntrinsicLocationsBuilderX86>(invoke, codegen_)) { in HandleInvoke()
232 if (!codegen_->GetCompilerOptions().GetCompilePic()) { in HandleInvoke()
250 CodeGeneratorX86* codegen_; member in art::x86::PCRelativeHandlerVisitor
259 PCRelativeHandlerVisitor visitor(graph_, codegen_); in Run()
Dssa_liveness_analysis_test.cc35 codegen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUp()
36 CHECK(codegen_ != nullptr) << instruction_set_ << " is not a supported target architecture."; in SetUp()
53 std::unique_ptr<CodeGenerator> codegen_; member in art::SsaLivenessAnalysisTest
68 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
119 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
192 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
Dgraph_visualizer.cc192 codegen_(codegen), in HGraphVisualizerPrinter()
196 codegen_.GetInstructionSet(), in HGraphVisualizerPrinter()
197 codegen_.GetAssembler().CodeBufferBaseAddress(), in HGraphVisualizerPrinter()
198 codegen_.GetAssembler().CodeBufferBaseAddress() in HGraphVisualizerPrinter()
199 + codegen_.GetAssembler().CodeSize()) in HGraphVisualizerPrinter()
289 codegen_.DumpCoreRegister(stream, location.reg()); in DumpLocation()
291 codegen_.DumpFloatingPointRegister(stream, location.reg()); in DumpLocation()
311 codegen_.DumpFloatingPointRegister(stream, location.low()); in DumpLocation()
313 codegen_.DumpFloatingPointRegister(stream, location.high()); in DumpLocation()
315 codegen_.DumpCoreRegister(stream, location.low()); in DumpLocation()
[all …]
Dregister_allocator_graph_color.cc599 physical_core_nodes_.resize(codegen_->GetNumberOfCoreRegisters(), nullptr); in RegisterAllocatorGraphColor()
600 for (size_t i = 0; i < codegen_->GetNumberOfCoreRegisters(); ++i) { in RegisterAllocatorGraphColor()
605 if (codegen_->IsBlockedCoreRegister(i)) { in RegisterAllocatorGraphColor()
610 physical_fp_nodes_.resize(codegen_->GetNumberOfFloatingPointRegisters(), nullptr); in RegisterAllocatorGraphColor()
611 for (size_t i = 0; i < codegen_->GetNumberOfFloatingPointRegisters(); ++i) { in RegisterAllocatorGraphColor()
617 if (codegen_->IsBlockedFloatingPointRegister(i)) { in RegisterAllocatorGraphColor()
634 ? codegen_->GetNumberOfCoreRegisters() in AllocateRegisters()
635 : codegen_->GetNumberOfFloatingPointRegisters(); in AllocateRegisters()
697 codegen_->AddAllocatedRegister(low_reg); in AllocateRegisters()
704 codegen_->AddAllocatedRegister(high_reg); in AllocateRegisters()
[all …]
Dregister_allocator_linear_scan.cc95 RegisterAllocationResolver(codegen_, liveness_) in AllocateRegisters()
114 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearOrder()) { in AllocateRegisters()
153 for (size_t i = 0; i < codegen_->GetNumberOfCoreRegisters(); ++i) { in BlockRegisters()
154 if (!caller_save_only || !codegen_->IsCoreCalleeSaveRegister(i)) { in BlockRegisters()
158 for (size_t i = 0; i < codegen_->GetNumberOfFloatingPointRegisters(); ++i) { in BlockRegisters()
159 if (!caller_save_only || !codegen_->IsFloatingPointCalleeSaveRegister(i)) { in BlockRegisters()
168 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearPostOrder()) { in AllocateRegistersInternal()
187 number_of_registers_ = codegen_->GetNumberOfCoreRegisters(); in AllocateRegistersInternal()
207 number_of_registers_ = codegen_->GetNumberOfFloatingPointRegisters(); in AllocateRegistersInternal()
236 codegen_->AddAllocatedRegister(temp); in ProcessInstruction()
[all …]
Dregister_allocator.h88 CodeGenerator* const codegen_; variable
Dscheduler_arm.h55 : codegen_(down_cast<CodeGeneratorARMType*>(codegen)) {} in SchedulingLatencyVisitorARM()
135 CodeGeneratorARMType* codegen_; variable
Dregister_allocation_resolver.h91 CodeGenerator* const codegen_; variable
Dgraph_visualizer.h113 const CodeGenerator& codegen_; variable
Dcode_generator_x86_64.h130 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverX86_64()
149 CodeGeneratorX86_64* const codegen_; variable
157 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86_64()
183 CodeGeneratorX86_64* const codegen_; variable
296 CodeGeneratorX86_64* const codegen_; variable
Dcode_generator_x86.h131 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverX86()
147 CodeGeneratorX86* const codegen_; variable
155 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86()
181 CodeGeneratorX86* const codegen_; variable
316 CodeGeneratorX86* const codegen_; variable
Dinliner.h51 codegen_(codegen), in HOptimization()
327 CodeGenerator* const codegen_; variable
Dscheduler_arm.cc333 !codegen_->GetAssembler()->ShifterOperandCanHold( in CanGenerateTest()
337 } else if (!codegen_->GetAssembler()->ShifterOperandCanHold( in CanGenerateTest()
917 DCHECK(codegen_ != nullptr); in HandleFieldGetLatencies()
920 bool atomic_ldrd_strd = codegen_->GetInstructionSetFeatures().HasAtomicLdrdAndStrd(); in HandleFieldGetLatencies()
977 DCHECK(codegen_ != nullptr); in HandleFieldSetLatencies()
982 bool atomic_ldrd_strd = codegen_->GetInstructionSetFeatures().HasAtomicLdrdAndStrd(); in HandleFieldSetLatencies()

12