Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dpc_relative_fixups_mips.cc31 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in PCRelativeHandlerVisitor()
43 codegen_->ClobberRA(); in MoveBaseIfNeeded()
65 !IsCallFreeIntrinsic<IntrinsicLocationsBuilderMIPS>(invoke, codegen_)) { in VisitInvokeStaticOrDirect()
124 CodeGeneratorMIPS* codegen_; member in art::mips::PCRelativeHandlerVisitor
132 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
142 PCRelativeHandlerVisitor visitor(graph_, codegen_); in Run()
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_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
Dintrinsics_x86.h53 CodeGeneratorX86* const codegen_; variable
60 explicit IntrinsicCodeGeneratorX86(CodeGeneratorX86* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86()
76 CodeGeneratorX86* 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
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_mips.h52 CodeGeneratorMIPS* const codegen_;
60 explicit IntrinsicCodeGeneratorMIPS(CodeGeneratorMIPS* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorMIPS()
81 CodeGeneratorMIPS* const codegen_; variable
Dintrinsics_mips64.h52 CodeGeneratorMIPS64* const codegen_;
60 explicit IntrinsicCodeGeneratorMIPS64(CodeGeneratorMIPS64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorMIPS64()
78 CodeGeneratorMIPS64* const codegen_; variable
Dinstruction_simplifier_x86_64.h32 codegen_(codegen) {} in InstructionSimplifierX86_64()
40 CodeGenerator* codegen_;
Dpc_relative_fixups_mips.h33 codegen_(codegen) {} in PcRelativeFixups()
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_mips.h34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {} in InstructionSimplifierMips()
41 CodeGeneratorMIPS* codegen_;
Dinstruction_simplifier.h45 codegen_(codegen) {} in HOptimization()
52 CodeGenerator* codegen_;
Dinstruction_simplifier_mips.cc32 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {} in InstructionSimplifierMipsVisitor()
46 CodeGeneratorMIPS* codegen_; member in art::mips::InstructionSimplifierMipsVisitor
52 if (codegen_->GetInstructionSetFeatures().IsR6() || in TryExtractArrayAccessIndex()
53 codegen_->GetInstructionSetFeatures().HasMsa()) { in TryExtractArrayAccessIndex()
135 InstructionSimplifierMipsVisitor visitor(graph_, codegen_, stats_); in Run()
Dintrinsics_arm64.cc69 return codegen_->GetVIXLAssembler(); in GetVIXLAssembler()
73 return codegen_->GetGraph()->GetAllocator(); in GetAllocator()
726 codegen_->Load(DataType::Type::kReference, WRegisterFrom(invoke->GetLocations()->Out()), in VisitThreadCurrentThread()
816 GenUnsafeGet(invoke, DataType::Type::kInt32, /* is_volatile= */ false, codegen_); in VisitUnsafeGet()
819 GenUnsafeGet(invoke, DataType::Type::kInt32, /* is_volatile= */ true, codegen_); in VisitUnsafeGetVolatile()
822 GenUnsafeGet(invoke, DataType::Type::kInt64, /* is_volatile= */ false, codegen_); in VisitUnsafeGetLong()
825 GenUnsafeGet(invoke, DataType::Type::kInt64, /* is_volatile= */ true, codegen_); in VisitUnsafeGetLongVolatile()
828 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
831 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
916 codegen_); in VisitUnsafePut()
[all …]
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 …]
Dcode_generator_arm_vixl.cc2059 codegen_(codegen) {} in InstructionCodeGeneratorARMVIXL()
2417 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
2432 codegen_->MaybeGenerateMarkingRegisterCheck(/* code= */ 2); in HandleGoto()
2434 if (!codegen_->GoesToNextBlock(block, successor)) { in HandleGoto()
2435 __ B(codegen_->GetLabelOf(successor)); in HandleGoto()
2493 const auto cond = GenerateTest(condition, invert, codegen_); in GenerateCompareTestAndBranch()
2607 vixl32::Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
2608 nullptr : codegen_->GetLabelOf(true_successor); in VisitIf()
2609 vixl32::Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
2610 nullptr : codegen_->GetLabelOf(false_successor); in VisitIf()
[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.cc189 codegen_(codegen), in HGraphVisualizerPrinter()
193 codegen_.GetInstructionSet(), in HGraphVisualizerPrinter()
194 codegen_.GetAssembler().CodeBufferBaseAddress(), in HGraphVisualizerPrinter()
195 codegen_.GetAssembler().CodeBufferBaseAddress() in HGraphVisualizerPrinter()
196 + codegen_.GetAssembler().CodeSize()) in HGraphVisualizerPrinter()
286 codegen_.DumpCoreRegister(stream, location.reg()); in DumpLocation()
288 codegen_.DumpFloatingPointRegister(stream, location.reg()); in DumpLocation()
308 codegen_.DumpFloatingPointRegister(stream, location.low()); in DumpLocation()
310 codegen_.DumpFloatingPointRegister(stream, location.high()); in DumpLocation()
312 codegen_.DumpCoreRegister(stream, location.low()); in DumpLocation()
[all …]
Demit_swap_mips_test.cc35 codegen_.reset( in SetUp()
51 codegen_.reset(); in TearDown()
100 codegen_->GetMoveResolver()->EmitNativeCode(move); in DriverWrapper()
101 assembler_ = codegen_->GetAssembler(); in DriverWrapper()
112 std::unique_ptr<mips::CodeGeneratorMIPS> codegen_; member in art::EmitSwapMipsTest
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 …]
Dcode_generator_mips64.cc1025 return codegen_->GetAssembler(); in GetAssembler()
1030 codegen_->MoveLocation(move->GetDestination(), move->GetSource(), move->GetType()); in EmitMove()
1035 codegen_->SwapLocations(move->GetDestination(), move->GetSource(), move->GetType()); in EmitSwap()
1056 ScratchRegisterScope ensure_scratch(this, TMP, V0, codegen_->GetNumberOfCoreRegisters()); in Exchange()
1919 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathMIPS64(instruction, successor); in GenerateSuspendCheck()
1921 codegen_->AddSlowPath(slow_path); in GenerateSuspendCheck()
1937 __ Beqzc(TMP, codegen_->GetLabelOf(successor)); in GenerateSuspendCheck()
1947 codegen_(codegen) {} in InstructionCodeGeneratorMIPS64()
2324 auto null_checker = GetImplicitNullChecker(instruction, codegen_); in VisitArrayGet()
2456 codegen_->GenerateFieldLoadWithBakerReadBarrier(instruction, in VisitArrayGet()
[all …]

12