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()
393 if (current_block_ != nullptr) { in Build()
397 DCHECK_EQ(current_block_->GetSuccessors().size(), 1u); in Build()
417 current_block_ = graph_->GetEntryBlock(); in BuildIntrinsic()
423 current_block_ = current_block_->GetSingleSuccessor(); in BuildIntrinsic()
425 DCHECK(!IsBlockPopulated(current_block_)); in BuildIntrinsic()
462 DCHECK_EQ(current_block_->GetSingleSuccessor(), graph_->GetExitBlock()); in BuildIntrinsic()
463 current_block_ = graph_->GetExitBlock(); in BuildIntrinsic()
550 DCHECK(current_block_->IsEntryBlock()); in InitializeParameters()
608 current_block_ = nullptr; in If_22t()
617 current_block_ = nullptr; in If_21t()
626 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
635 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
645 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
655 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
665 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
675 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
685 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
696 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
707 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
741 DCHECK(IsFallthroughInstruction(instruction, dex_pc, current_block_)); in BuildSwitch()
751 current_block_ = FindBlockStartingAt(it.GetDexPcForCurrentIndex()); in BuildSwitch()
759 current_block_ = nullptr; in BuildSwitch()
787 current_block_ = nullptr; in BuildReturn()
1618 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildUnresolvedStaticFieldAccess()
1735 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildStaticFieldAccess()
1772 UpdateLocal(out_vreg, current_block_->GetLastInstruction()); in BuildCheckedDivRem()
1799 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildArrayAccess()
2075 UpdateLocal(destination, current_block_->GetLastInstruction()); in BuildTypeCheck()
2091 UpdateLocal(reference, current_block_->GetLastInstruction()); in BuildTypeCheck()
2234 current_block_ = nullptr; in ProcessDexInstruction()
2860 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2870 UpdateLocal(instruction.VRegA_22c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3018 UpdateLocal(instruction.VRegA_12x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3025 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3032 UpdateLocal(instruction.VRegA_31c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3039 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3046 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3053 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3059 UpdateLocal(instruction.VRegA_11x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
3069 current_block_ = nullptr; in ProcessDexInstruction()