/art/compiler/optimizing/ |
D | live_ranges_test.cc | 65 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 …]
|
D | register_allocator_test.cc | 91 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 …]
|
D | liveness_test.cc | 52 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()
|
D | linearize_test.cc | 45 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TestCode() local 46 liveness.Analyze(); in TestCode()
|
D | register_allocator_graph_color.cc | 76 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 …]
|
D | codegen_test_utils.h | 280 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in RunCodeNoCheck() 282 liveness.Analyze(); in RunCodeNoCheck() 284 RegisterAllocator::Create(&local_allocator, codegen, liveness); in RunCodeNoCheck()
|
D | register_allocation_resolver.h | 42 RegisterAllocationResolver(CodeGenerator* codegen, const SsaLivenessAnalysis& liveness);
|
D | register_allocator.cc | 34 const SsaLivenessAnalysis& liveness) in RegisterAllocator() argument 37 liveness_(liveness) {} in RegisterAllocator()
|
D | ssa_liveness_analysis.cc | 340 const SsaLivenessAnalysis& liveness) const { in FindFirstRegisterHint() 354 if (IsSplit() && liveness.IsAtBlockBoundary(GetStart() / 2)) { in FindFirstRegisterHint() 359 HBasicBlock* block = liveness.GetBlockFromPosition(GetStart() / 2); in FindFirstRegisterHint()
|
D | register_allocation_resolver.cc | 27 const SsaLivenessAnalysis& liveness) in RegisterAllocationResolver() argument 30 liveness_(liveness) {} in RegisterAllocationResolver()
|
D | optimizing_compiler.cc | 577 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in AllocateRegisters() local 580 liveness.Analyze(); in AllocateRegisters() 585 RegisterAllocator::Create(&local_allocator, codegen, liveness, strategy); in AllocateRegisters()
|
D | register_allocator_linear_scan.cc | 45 const SsaLivenessAnalysis& liveness) in RegisterAllocatorLinearScan() argument 46 : RegisterAllocator(allocator, codegen, liveness), in RegisterAllocatorLinearScan()
|
D | ssa_liveness_analysis.h | 784 int FindFirstRegisterHint(size_t* free_until, const SsaLivenessAnalysis& liveness) const;
|
/art/test/594-checker-irreducible-linorder/smali/ |
D | IrreducibleLoop.smali | 18 # 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/ |
D | IrreducibleLoop.smali | 19 # 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/565-checker-condition-liveness/ |
D | info.txt | 1 Test the results of liveness analysis e.g. use positions of inputs of non-materialized conditions.
|
/art/test/594-checker-irreducible-linorder/ |
D | info.txt | 1 Regression test for a failing DCHECK in SSA liveness analysis in the presence
|
/art/test/547-regression-trycatch-critic-edge/smali/ |
D | TestCase.smali | 18 # 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/ |
D | IrreducibleLoop.smali | 143 ## 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/ |
D | README | 65 /// 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/ |
D | IrreducibleLoop.smali | 39 # a location due to our liveness analysis.
|