Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dlive_ranges_test.cc65 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
66 liveness.Analyze(); in TEST_F()
68 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
109 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
110 liveness.Analyze(); in TEST_F()
112 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
156 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() local
157 liveness.Analyze(); in TEST_F()
160 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(1)->GetLiveInterval(); in TEST_F()
169 interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
[all …]
Dregister_allocator_test.cc91 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Check() local
92 liveness.Analyze(); in Check()
94 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Check()
330 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Loop3() local
331 liveness.Analyze(); in Loop3()
333 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Loop3()
363 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in TEST_F() local
364 liveness.Analyze(); in TEST_F()
414 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in DeadPhi() local
415 liveness.Analyze(); in DeadPhi()
[all …]
Dliveness_test.cc52 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode() local
53 liveness.Analyze(); in TestCode()
58 size_t ssa_values = liveness.GetNumberOfSsaValues(); in TestCode()
59 BitVector* live_in = liveness.GetLiveInSet(*block); in TestCode()
61 BitVector* live_out = liveness.GetLiveOutSet(*block); in TestCode()
63 BitVector* kill = liveness.GetKillSet(*block); in TestCode()
Dlinearize_test.cc45 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode() local
46 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.h280 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in RunCodeNoCheck()
282 liveness.Analyze(); in RunCodeNoCheck()
284 RegisterAllocator::Create(&local_allocator, codegen, liveness); in RunCodeNoCheck()
Dregister_allocation_resolver.h42 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.cc577 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in AllocateRegisters() local
580 liveness.Analyze(); in AllocateRegisters()
585 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.h784 int FindFirstRegisterHint(size_t* free_until, const SsaLivenessAnalysis& liveness) const;
/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) builder (after)
29 ## CHECK-START: int IrreducibleLoop.liveness(int) liveness (after)
30 ## CHECK-DAG: Mul liveness:<<LPreEntry2:\d+>>
31 ## CHECK-DAG: Add liveness:<<LBackEdge1:\d+>>
34 .method public static liveness(I)I
/art/test/594-checker-irreducible-linorder/
Dinfo.txt1 Regression test for a failing DCHECK in SSA liveness analysis in the presence
/art/test/565-checker-condition-liveness/
Dinfo.txt1 Test the results of liveness analysis e.g. use positions of inputs of non-materialized conditions.
/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) 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(I)I
/art/tools/checker/
DREADME65 /// CHECK-START: int MyClass.MyMethod() liveness (after)
66 /// CHECK: InstructionA liveness:<<VarA:\d+>>
67 /// CHECK: InstructionB liveness:<<VarB:\d+>>
/art/test/564-checker-irreducible-loop/smali/
DIrreducibleLoop.smali39 # a location due to our liveness analysis.