Lines Matching refs:current_block_

72       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()
468 DCHECK_EQ(current_block_->GetSingleSuccessor(), graph_->GetExitBlock()); in BuildIntrinsic()
469 current_block_ = graph_->GetExitBlock(); in BuildIntrinsic()
561 DCHECK(current_block_->IsEntryBlock()); in InitializeParameters()
619 current_block_ = nullptr; in If_22t()
628 current_block_ = nullptr; in If_21t()
637 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
646 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
656 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
666 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
676 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
686 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
696 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
707 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
718 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
754 DCHECK(IsFallthroughInstruction(instruction, dex_pc, current_block_)); in BuildSwitch()
764 current_block_ = FindBlockStartingAt(it.GetDexPcForCurrentIndex()); in BuildSwitch()
772 current_block_ = nullptr; in BuildSwitch()
800 current_block_ = nullptr; in BuildReturn()
1514 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildUnresolvedStaticFieldAccess()
1631 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildStaticFieldAccess()
1668 UpdateLocal(out_vreg, current_block_->GetLastInstruction()); in BuildCheckedDivRem()
1695 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildArrayAccess()
1927 UpdateLocal(destination, current_block_->GetLastInstruction()); in BuildTypeCheck()
1935 UpdateLocal(reference, current_block_->GetLastInstruction()); in BuildTypeCheck()
2083 current_block_ = nullptr; in ProcessDexInstruction()
2713 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2725 UpdateLocal(instruction.VRegA_22c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2884 UpdateLocal(instruction.VRegA_12x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2891 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2898 UpdateLocal(instruction.VRegA_31c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2905 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2911 UpdateLocal(instruction.VRegA_11x(), current_block_->GetLastInstruction()); in ProcessDexInstruction()
2921 current_block_ = nullptr; in ProcessDexInstruction()