Lines Matching refs:current
30 static bool IsLoopExit(HLoopInformation* current, HLoopInformation* to) { in IsLoopExit() argument
32 return to == nullptr || (current != to && current->IsIn(*to)); in IsLoopExit()
109 HInstruction* current = it.Current(); in NumberInstructions() local
110 current->Accept(codegen_->GetLocationBuilder()); in NumberInstructions()
111 LocationSummary* locations = current->GetLocations(); in NumberInstructions()
113 instructions_from_ssa_index_.Add(current); in NumberInstructions()
114 current->SetSsaIndex(ssa_index++); in NumberInstructions()
115 current->SetLiveInterval( in NumberInstructions()
116 new (graph_.GetArena()) LiveInterval(graph_.GetArena(), current->GetType(), current)); in NumberInstructions()
118 current->SetLifetimePosition(lifetime_position); in NumberInstructions()
126 HInstruction* current = it.Current(); in NumberInstructions() local
127 current->Accept(codegen_->GetLocationBuilder()); in NumberInstructions()
128 LocationSummary* locations = current->GetLocations(); in NumberInstructions()
130 instructions_from_ssa_index_.Add(current); in NumberInstructions()
131 current->SetSsaIndex(ssa_index++); in NumberInstructions()
132 current->SetLiveInterval( in NumberInstructions()
133 new (graph_.GetArena()) LiveInterval(graph_.GetArena(), current->GetType(), current)); in NumberInstructions()
135 instructions_from_lifetime_position_.Add(current); in NumberInstructions()
136 current->SetLifetimePosition(lifetime_position); in NumberInstructions()
191 HInstruction* current = instructions_from_ssa_index_.Get(idx); in ComputeLiveRanges() local
192 current->GetLiveInterval()->AddRange(block->GetLifetimeStart(), block->GetLifetimeEnd()); in ComputeLiveRanges()
196 HInstruction* current = it.Current(); in ComputeLiveRanges() local
197 if (current->HasSsaIndex()) { in ComputeLiveRanges()
199 kill->SetBit(current->GetSsaIndex()); in ComputeLiveRanges()
200 live_in->ClearBit(current->GetSsaIndex()); in ComputeLiveRanges()
201 current->GetLiveInterval()->SetFrom(current->GetLifetimePosition()); in ComputeLiveRanges()
205 for (size_t i = 0, e = current->InputCount(); i < e; ++i) { in ComputeLiveRanges()
206 HInstruction* input = current->InputAt(i); in ComputeLiveRanges()
211 input->GetLiveInterval()->AddUse(current, i, false); in ComputeLiveRanges()
215 if (current->HasEnvironment()) { in ComputeLiveRanges()
217 GrowableArray<HInstruction*>* environment = current->GetEnvironment()->GetVRegs(); in ComputeLiveRanges()
223 instruction->GetLiveInterval()->AddUse(current, i, true); in ComputeLiveRanges()
231 HInstruction* current = it.Current(); in ComputeLiveRanges() local
232 if (current->HasSsaIndex()) { in ComputeLiveRanges()
233 kill->SetBit(current->GetSsaIndex()); in ComputeLiveRanges()
234 live_in->ClearBit(current->GetSsaIndex()); in ComputeLiveRanges()
235 LiveInterval* interval = current->GetLiveInterval(); in ComputeLiveRanges()
237 || (interval->GetStart() == current->GetLifetimePosition())); in ComputeLiveRanges()
238 interval->SetFrom(current->GetLifetimePosition()); in ComputeLiveRanges()
247 HInstruction* current = instructions_from_ssa_index_.Get(idx); in ComputeLiveRanges() local
248 current->GetLiveInterval()->AddLoopRange(block->GetLifetimeStart(), in ComputeLiveRanges()