Home
last modified time | relevance | path

Searched refs:GetScopedAllocator (Results 1 – 19 of 19) sorted by relevance

/art/compiler/optimizing/
Dregister_allocator_test.cc93 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Check()
96 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Check()
108 ScopedArenaVector<LiveInterval*> intervals(GetScopedAllocator()->Adapter()); in TEST_F()
113 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 0)); in TEST_F()
114 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 1)); in TEST_F()
125 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
127 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
138 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
140 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
151 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
[all …]
Dexecution_subgraph_test.cc145 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
232 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
295 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
351 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
406 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
481 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
548 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
578 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
601 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
706 ExecutionSubgraph esg(graph_, GetScopedAllocator()); in TEST_F()
[all …]
Dlive_ranges_test.cc68 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
112 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
159 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
234 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
309 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
383 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F()
Dlive_interval_test.cc27 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
44 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
72 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
100 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
192 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
283 ScopedArenaAllocator* allocator = pool.GetScopedAllocator(); in TEST()
Dssa_liveness_analysis_test.cc70 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
121 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
194 SsaLivenessAnalysis ssa_analysis(graph_, codegen_.get(), GetScopedAllocator()); in TEST_F()
Dscheduler_test.cc143 TestSchedulingGraph scheduling_graph(GetScopedAllocator()); in TestBuildDependencyGraphAndSchedule()
277 graph_, GetScopedAllocator(), LoadStoreAnalysisType::kBasic); in TestDependencyGraphOnAliasingArrayAccesses()
280 TestSchedulingGraph scheduling_graph(GetScopedAllocator(), &heap_location_collector); in TestDependencyGraphOnAliasingArrayAccesses()
Dlinearize_test.cc47 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode()
Dliveness_test.cc54 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode()
Doptimizing_unit_test.h132 ScopedArenaAllocator* GetScopedAllocator() { return &scoped_allocator_; } in GetScopedAllocator() function
228 ScopedArenaAllocator* GetScopedAllocator() { return pool_and_allocator_->GetScopedAllocator(); } in GetScopedAllocator() function
Dintrinsics_x86.cc895 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitSystemArrayCopyChar()
978 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitStringCompareTo()
1164 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in GenerateStringIndexOf()
1172 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in GenerateStringIndexOf()
1317 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitStringNewStringFromBytes()
1361 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitStringNewStringFromString()
2651 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitSystemArrayCopy()
2965 new (codegen_->GetScopedAllocator()) ReadBarrierSystemArrayCopySlowPathX86(invoke); in VisitSystemArrayCopy()
3284 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in VisitIntegerDivideUnsigned()
3651 SlowPathCode* slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathX86(invoke); in GenerateVarHandleGet()
[all …]
Dintrinsics_x86_64.cc688 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitSystemArrayCopyChar()
831 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitSystemArrayCopy()
1105 new (codegen_->GetScopedAllocator()) ReadBarrierSystemArrayCopySlowPathX86_64(invoke); in VisitSystemArrayCopy()
1166 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitStringCompareTo()
1346 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in GenerateStringIndexOf()
1354 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in GenerateStringIndexOf()
1491 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitStringNewStringFromBytes()
1535 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitStringNewStringFromString()
2823 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathX86_64(invoke); in VisitIntegerDivideUnsigned()
Dintrinsics_arm64.cc1306 new (codegen->GetScopedAllocator()) ReadBarrierCasSlowPathARM64( in GenUnsafeCas()
1528 slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitStringCompareTo()
1913 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in GenerateVisitStringIndexOf()
1922 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in GenerateVisitStringIndexOf()
1993 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitStringNewStringFromBytes()
2038 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitStringNewStringFromString()
2514 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitSystemArrayCopyChar()
2692 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitSystemArrayCopy()
3069 new (codegen_->GetScopedAllocator()) ReadBarrierSystemArrayCopySlowPathARM64( in VisitSystemArrayCopy()
3554 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARM64(invoke); in VisitCRC32UpdateBytes()
[all …]
Dcode_generator.h382 ScopedArenaAllocator* GetScopedAllocator();
974 new (codegen_->GetScopedAllocator()) SlowPathCodeType(instruction); in NewSlowPath()
Dcode_generator_x86_64.cc4097 new (codegen_->GetScopedAllocator()) DivRemMinusOneSlowPathX86_64( in GenerateDivRemIntegral()
4501 new (codegen_->GetScopedAllocator()) DivZeroCheckSlowPathX86_64(instruction); in VisitDivZeroCheck()
5326 SlowPathCode* slow_path = new (GetScopedAllocator()) NullCheckSlowPathX86_64(instruction); in GenerateExplicitNullCheck()
5589 slow_path = new (codegen_->GetScopedAllocator()) ArraySetSlowPathX86_64(instruction); in VisitArraySet()
5774 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathX86_64(instruction); in VisitBoundsCheck()
5912 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathX86_64(instruction, successor); in GenerateSuspendCheck()
6365 new (codegen_->GetScopedAllocator()) LoadClassSlowPathX86_64(cls, cls); in VisitLoadClass()
6413 new (codegen_->GetScopedAllocator()) LoadClassSlowPathX86_64(check->GetLoadClass(), check); in VisitClinitCheck()
6495 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) LoadStringSlowPathX86_64(load); in VisitLoadString()
6806 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathX86_64( in VisitInstanceOf()
[all …]
Dcode_generator_arm64.cc1911 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathARM64(instruction, successor); in GenerateSuspendCheck()
2740 slow_path = new (codegen_->GetScopedAllocator()) ArraySetSlowPathARM64(instruction); in VisitArraySet()
2874 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathARM64(instruction); in VisitBoundsCheck()
2892 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathARM64(instruction); in VisitBoundsCheck()
2913 new (codegen_->GetScopedAllocator()) LoadClassSlowPathARM64(check->GetLoadClass(), check); in VisitClinitCheck()
3434 new (codegen_->GetScopedAllocator()) DivZeroCheckSlowPathARM64(instruction); in VisitDivZeroCheck()
4036 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathARM64( in VisitInstanceOf()
4068 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathARM64( in VisitInstanceOf()
4153 new (codegen_->GetScopedAllocator()) TypeCheckSlowPathARM64( in VisitCheckCast()
5370 new (codegen_->GetScopedAllocator()) LoadClassSlowPathARM64(cls, cls); in VisitLoadClass()
[all …]
Dintrinsics_arm_vixl.cc634 slow_path = new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in VisitStringCompareTo()
1109 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in GenerateVisitStringIndexOf()
1119 slow_path = new (codegen->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in GenerateVisitStringIndexOf()
1189 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in VisitStringNewStringFromBytes()
1232 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in VisitStringNewStringFromString()
1366 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in VisitSystemArrayCopy()
1672 new (codegen_->GetScopedAllocator()) ReadBarrierSystemArrayCopySlowPathARMVIXL(invoke); in VisitSystemArrayCopy()
2671 new (codegen_->GetScopedAllocator()) IntrinsicSlowPathARMVIXL(invoke); in VisitIntegerDivideUnsigned()
3514 new (codegen->GetScopedAllocator()) ReadBarrierCasSlowPathARMVIXL( in GenUnsafeCas()
4045 new (codegen->GetScopedAllocator()) VarHandleSlowPathARMVIXL(invoke, order); in GenerateVarHandleChecks()
[all …]
Dcode_generator_x86.cc4002 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) DivRemMinusOneSlowPathX86( in GenerateDivRemIntegral()
4534 new (codegen_->GetScopedAllocator()) DivZeroCheckSlowPathX86(instruction); in VisitDivZeroCheck()
6166 SlowPathCode* slow_path = new (GetScopedAllocator()) NullCheckSlowPathX86(instruction); in GenerateExplicitNullCheck()
6445 slow_path = new (codegen_->GetScopedAllocator()) ArraySetSlowPathX86(instruction); in VisitArraySet()
6641 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathX86(instruction); in VisitBoundsCheck()
6743 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathX86(instruction, successor); in GenerateSuspendCheck()
7230 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) LoadClassSlowPathX86(cls, cls); in VisitLoadClass()
7280 new (codegen_->GetScopedAllocator()) LoadClassSlowPathX86(check->GetLoadClass(), check); in VisitClinitCheck()
7402 SlowPathCode* slow_path = new (codegen_->GetScopedAllocator()) LoadStringSlowPathX86(load); in VisitLoadString()
7706 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathX86( in VisitInstanceOf()
[all …]
Dcode_generator.cc151 ScopedArenaAllocator* GetScopedAllocator() { in GetScopedAllocator() function in art::CodeGenerator::CodeGenerationData
257 ScopedArenaAllocator* CodeGenerator::GetScopedAllocator() { in GetScopedAllocator() function in art::CodeGenerator
259 return code_generation_data_->GetScopedAllocator(); in GetScopedAllocator()
Dcode_generator_arm_vixl.cc5006 new (codegen_->GetScopedAllocator()) DivZeroCheckSlowPathARMVIXL(instruction); in VisitDivZeroCheck()
6265 new (GetScopedAllocator()) NullCheckSlowPathARMVIXL(instruction); in GenerateExplicitNullCheck()
6747 slow_path = new (codegen_->GetScopedAllocator()) ArraySetSlowPathARMVIXL(instruction); in VisitArraySet()
7002 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathARMVIXL(instruction); in VisitBoundsCheck()
7013 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathARMVIXL(instruction); in VisitBoundsCheck()
7019 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathARMVIXL(instruction); in VisitBoundsCheck()
7102 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathARMVIXL(instruction, successor); in GenerateSuspendCheck()
7524 new (codegen_->GetScopedAllocator()) LoadClassSlowPathARMVIXL(cls, cls); in VisitLoadClass()
7572 new (codegen_->GetScopedAllocator()) LoadClassSlowPathARMVIXL(check->GetLoadClass(), check); in VisitClinitCheck()
7723 new (codegen_->GetScopedAllocator()) LoadStringSlowPathARMVIXL(load); in VisitLoadString()
[all …]