Lines Matching refs:current_block_
71 current_block_(nullptr), in HInstructionBuilder()
128 current_locals_ = GetLocalsFor(current_block_); in InitializeBlockLocals()
130 if (current_block_->IsCatchBlock()) { in InitializeBlockLocals()
138 if (current == current_block_) { in InitializeBlockLocals()
142 if (try_entry.HasExceptionHandler(*current_block_)) { in InitializeBlockLocals()
150 } else if (current_block_->IsLoopHeader()) { in InitializeBlockLocals()
157 ValueOfLocalAt(current_block_->GetLoopInformation()->GetPreHeader(), local); in InitializeBlockLocals()
164 current_block_->AddPhi(phi); in InitializeBlockLocals()
171 loop_headers_.push_back(current_block_); in InitializeBlockLocals()
172 } else if (current_block_->GetPredecessors().size() > 0) { in InitializeBlockLocals()
178 HInstruction* value = ValueOfLocalAt(current_block_->GetPredecessors()[0], local); in InitializeBlockLocals()
180 for (HBasicBlock* predecessor : current_block_->GetPredecessors()) { in InitializeBlockLocals()
197 HInstruction* first_input = ValueOfLocalAt(current_block_->GetPredecessors()[0], local); in InitializeBlockLocals()
201 current_block_->GetPredecessors().size(), in InitializeBlockLocals()
203 for (size_t i = 0; i < current_block_->GetPredecessors().size(); i++) { in InitializeBlockLocals()
204 HInstruction* pred_value = ValueOfLocalAt(current_block_->GetPredecessors()[i], local); in InitializeBlockLocals()
207 current_block_->AddPhi(phi); in InitializeBlockLocals()
216 const HTryBoundary& try_entry = current_block_->GetTryCatchInformation()->GetTryEntry(); in PropagateLocalsToCatchBlocks()
245 current_block_->AddInstruction(instruction); in AppendInstruction()
250 if (current_block_->GetInstructions().IsEmpty()) { in InsertInstructionAtTop()
251 current_block_->AddInstruction(instruction); in InsertInstructionAtTop()
253 current_block_->InsertInstructionBefore(instruction, current_block_->GetFirstInstruction()); in InsertInstructionAtTop()
330 current_block_ = block; in Build()
331 uint32_t block_dex_pc = current_block_->GetDexPc(); in Build()
335 if (current_block_->IsEntryBlock()) { in Build()
340 } else if (current_block_->IsExitBlock()) { in Build()
343 } else if (current_block_->IsLoopHeader()) { in Build()
344 HSuspendCheck* suspend_check = new (allocator_) HSuspendCheck(current_block_->GetDexPc()); in Build()
345 current_block_->GetLoopInformation()->SetSuspendCheck(suspend_check); in Build()
351 if (block_dex_pc == kNoDexPc || current_block_ != block_builder_->GetBlockAt(block_dex_pc)) { in Build()
353 DCHECK(IsBlockPopulated(current_block_)); in Build()
357 DCHECK(!IsBlockPopulated(current_block_)); in Build()
365 if (current_block_ == nullptr) { in Build()
376 if (current_block_->IsTryBlock() && IsThrowingDexInstruction(pair.Inst())) { in Build()
400 if (current_block_ != nullptr) { in Build()
404 DCHECK_EQ(current_block_->GetSuccessors().size(), 1u); in Build()
424 current_block_ = graph_->GetEntryBlock(); in BuildIntrinsic()
430 current_block_ = current_block_->GetSingleSuccessor(); in BuildIntrinsic()
432 DCHECK(!IsBlockPopulated(current_block_)); in BuildIntrinsic()
474 DCHECK_EQ(current_block_->GetSingleSuccessor(), graph_->GetExitBlock()); in BuildIntrinsic()
475 current_block_ = graph_->GetExitBlock(); in BuildIntrinsic()
562 DCHECK(current_block_->IsEntryBlock()); in InitializeParameters()
620 current_block_ = nullptr; in If_22t()
629 current_block_ = nullptr; in If_21t()
638 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
647 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
657 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
667 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
677 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
687 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
697 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
708 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
719 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
753 DCHECK(IsFallthroughInstruction(instruction, dex_pc, current_block_)); in BuildSwitch()
763 current_block_ = FindBlockStartingAt(it.GetDexPcForCurrentIndex()); in BuildSwitch()
771 current_block_ = nullptr; in BuildSwitch()
799 current_block_ = nullptr; in BuildReturn()
1901 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildUnresolvedStaticFieldAccess()
2030 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildStaticFieldAccess()
2067 UpdateLocal(out_vreg, current_block_->GetLastInstruction()); in BuildCheckedDivRem()
2094 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildArrayAccess()
2370 UpdateLocal(destination, current_block_->GetLastInstruction()); in BuildTypeCheck()
2386 UpdateLocal(reference, current_block_->GetLastInstruction()); in BuildTypeCheck()
2529 current_block_ = nullptr; in ProcessDexInstruction()
3155 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3165 UpdateLocal(instruction.VRegA_22c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3313 UpdateLocal(instruction.VRegA_12x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3320 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3327 UpdateLocal(instruction.VRegA_31c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3334 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3341 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3348 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3354 UpdateLocal(instruction.VRegA_11x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3364 current_block_ = nullptr; in ProcessDexInstruction()