Home
last modified time | relevance | path

Searched refs:liveness (Results 1 – 23 of 23) sorted by relevance

/art/compiler/optimizing/
Dlive_ranges_test.cc69 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
70 liveness.Analyze(); in TEST_F()
72 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
113 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
114 liveness.Analyze(); in TEST_F()
116 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
160 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
161 liveness.Analyze(); in TEST_F()
164 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(1)->GetLiveInterval(); in TEST_F()
173 interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
[all …]
Dregister_allocator_test.cc94 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Check() local
95 liveness.Analyze(); in Check()
97 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Check()
333 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Loop3() local
334 liveness.Analyze(); in Loop3()
336 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Loop3()
366 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in TEST_F() local
367 liveness.Analyze(); in TEST_F()
417 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in DeadPhi() local
418 liveness.Analyze(); in DeadPhi()
[all …]
Dliveness_test.cc55 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode() local
56 liveness.Analyze(); in TestCode()
61 size_t ssa_values = liveness.GetNumberOfSsaValues(); in TestCode()
62 BitVector* live_in = liveness.GetLiveInSet(*block); in TestCode()
64 BitVector* live_out = liveness.GetLiveOutSet(*block); in TestCode()
66 BitVector* kill = liveness.GetKillSet(*block); in TestCode()
Dlinearize_test.cc48 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode() local
49 liveness.Analyze(); in TestCode()
Dregister_allocator_graph_color.cc76 static size_t CostForMoveAt(size_t position, const SsaLivenessAnalysis& liveness) { in CostForMoveAt() argument
77 HBasicBlock* block = liveness.GetBlockFromPosition(position / 2); in CostForMoveAt()
96 const SsaLivenessAnalysis& liveness) { in ComputeCoalescePriority() argument
102 return CostForMoveAt(position, liveness); in ComputeCoalescePriority()
123 const SsaLivenessAnalysis& liveness) in CoalesceOpportunity()
127 priority(ComputeCoalescePriority(kind, position, liveness)) {} in CoalesceOpportunity()
163 static float ComputeSpillWeight(LiveInterval* interval, const SsaLivenessAnalysis& liveness) { in ComputeSpillWeight() argument
178 use_weight += CostForMoveAt(interval->GetStart() + 1, liveness); in ComputeSpillWeight()
190 use_weight += CostForMoveAt(use.GetUser()->GetLifetimePosition() - 1, liveness); in ComputeSpillWeight()
221 const SsaLivenessAnalysis& liveness) in InterferenceNode() argument
[all …]
Dcodegen_test_utils.h289 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in RunCodeNoCheck()
291 liveness.Analyze(); in RunCodeNoCheck()
293 RegisterAllocator::Create(&local_allocator, codegen, liveness); in RunCodeNoCheck()
Dregister_allocation_resolver.h43 RegisterAllocationResolver(CodeGenerator* codegen, const SsaLivenessAnalysis& liveness);
Dregister_allocator.cc34 const SsaLivenessAnalysis& liveness) in RegisterAllocator() argument
37 liveness_(liveness) {} in RegisterAllocator()
Dssa_liveness_analysis.cc340 const SsaLivenessAnalysis& liveness) const { in FindFirstRegisterHint()
354 if (IsSplit() && liveness.IsAtBlockBoundary(GetStart() / 2)) { in FindFirstRegisterHint()
359 HBasicBlock* block = liveness.GetBlockFromPosition(GetStart() / 2); in FindFirstRegisterHint()
Dregister_allocation_resolver.cc27 const SsaLivenessAnalysis& liveness) in RegisterAllocationResolver() argument
30 liveness_(liveness) {} in RegisterAllocationResolver()
Doptimizing_compiler.cc592 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in AllocateRegisters() local
595 liveness.Analyze(); in AllocateRegisters()
600 RegisterAllocator::Create(&local_allocator, codegen, liveness, strategy); in AllocateRegisters()
Dregister_allocator_linear_scan.cc45 const SsaLivenessAnalysis& liveness) in RegisterAllocatorLinearScan() argument
46 : RegisterAllocator(allocator, codegen, liveness), in RegisterAllocatorLinearScan()
Dssa_liveness_analysis.h785 int FindFirstRegisterHint(size_t* free_until, const SsaLivenessAnalysis& liveness) const;
/art/test/565-checker-condition-liveness/
DAndroid.bp3 // Build rules for ART run-test `565-checker-condition-liveness`.
16 name: "art-run-test-565-checker-condition-liveness",
21 ":art-run-test-565-checker-condition-liveness-expected-stdout",
22 ":art-run-test-565-checker-condition-liveness-expected-stderr",
31 name: "art-run-test-565-checker-condition-liveness-expected-stdout",
32 out: ["art-run-test-565-checker-condition-liveness-expected-stdout.txt"],
39 name: "art-run-test-565-checker-condition-liveness-expected-stderr",
40 out: ["art-run-test-565-checker-condition-liveness-expected-stderr.txt"],
Dinfo.txt1 Test the results of liveness analysis e.g. use positions of inputs of non-materialized conditions.
/art/test/594-checker-irreducible-linorder/smali/
DIrreducibleLoop.smali18 # Test case where liveness analysis produces linear order where loop blocks are
21 ## CHECK-START: int IrreducibleLoop.liveness(boolean, boolean, boolean, int) builder (after)
26 ## CHECK-START: int IrreducibleLoop.liveness(boolean, boolean, boolean, int) liveness (after)
27 ## CHECK-DAG: Add liveness:<<LPreEntry:\d+>>
28 ## CHECK-DAG: Mul liveness:<<LHeader:\d+>>
29 ## CHECK-DAG: Not liveness:<<LBackEdge:\d+>>
32 .method public static liveness(ZZZI)I
75 ## CHECK-START: int IrreducibleLoop.liveness2(boolean, boolean, boolean, int) liveness (after)
76 ## CHECK-DAG: Mul liveness:<<LPreEntry2:\d+>>
77 ## CHECK-DAG: Not liveness:<<LBackEdge1:\d+>>
[all …]
/art/test/596-checker-dead-phi/smali/
DIrreducibleLoop.smali19 # Test case where liveness analysis produces linear order where loop blocks are
24 ## CHECK-START: int IrreducibleLoop.liveness(int, int) builder (after)
30 ## CHECK-START: int IrreducibleLoop.liveness(int, int) liveness (after)
31 ## CHECK-DAG: Mul liveness:<<LPreEntry2:\d+>>
32 ## CHECK-DAG: Add liveness:<<LBackEdge1:\d+>>
35 .method public static liveness(II)I
/art/test/594-checker-irreducible-linorder/
Dinfo.txt1 Regression test for a failing DCHECK in SSA liveness analysis in the presence
/art/test/547-regression-trycatch-critic-edge/smali/
DTestCase.smali18 # The following test case would crash liveness analysis because the back edge of
19 # the outer loop would have a smaller liveness position than the two back edges
/art/test/559-checker-irreducible-loop/smali/
DIrreducibleLoop.smali143 ## CHECK-START: int IrreducibleLoop.liveness(int, int) liveness (after)
144 ## CHECK-DAG: <<Arg:i\d+>> ParameterValue liveness:<<ArgLiv:\d+>> ranges:{[<<ArgLiv>>,<<ArgLoo…
145 ## CHECK-DAG: <<LoopPhi:i\d+>> Phi [<<Arg>>,<<PhiInLoop:i\d+>>] liveness:<<ArgLoopPhiUse>> ranges:…
146 ## CHECK-DAG: <<PhiInLoop>> Phi [<<Arg>>,<<LoopPhi>>] liveness:<<PhiInLoopUse>> ranges:{[<<PhiI…
147 ## CHECK: Return liveness:<<ReturnLiveness:\d+>>
149 .method public static liveness(II)I
/art/tools/checker/
DREADME66 /// CHECK-START: int MyClass.MyMethod() liveness (after)
67 /// CHECK: InstructionA liveness:<<VarA:\d+>>
68 /// CHECK: InstructionB liveness:<<VarB:\d+>>
135 /// CHECK-START: void MyClass.FooBar() liveness (after)
/art/test/564-checker-irreducible-loop/smali/
DIrreducibleLoop.smali39 # a location due to our liveness analysis.
/art/
DTEST_MAPPING980 "name": "art-run-test-565-checker-condition-liveness[com.google.android.art.apex]"
2405 "name": "art-run-test-565-checker-condition-liveness"
3814 "name": "art-run-test-565-checker-condition-liveness"