Lines Matching refs:initial
1175 void HBasicBlock::ReplaceAndRemovePhiWith(HPhi* initial, HPhi* replacement) { in ReplaceAndRemovePhiWith() argument
1176 DCHECK(initial->GetBlock() == this); in ReplaceAndRemovePhiWith()
1177 InsertPhiAfter(replacement, initial); in ReplaceAndRemovePhiWith()
1178 initial->ReplaceWith(replacement); in ReplaceAndRemovePhiWith()
1179 RemovePhi(initial); in ReplaceAndRemovePhiWith()
1182 void HBasicBlock::ReplaceAndRemoveInstructionWith(HInstruction* initial, in ReplaceAndRemoveInstructionWith() argument
1184 DCHECK(initial->GetBlock() == this); in ReplaceAndRemoveInstructionWith()
1185 if (initial->IsControlFlow()) { in ReplaceAndRemoveInstructionWith()
1190 DCHECK_EQ(initial->GetBlock(), this); in ReplaceAndRemoveInstructionWith()
1191 DCHECK_EQ(initial->GetType(), DataType::Type::kVoid); in ReplaceAndRemoveInstructionWith()
1192 DCHECK(initial->GetUses().empty()); in ReplaceAndRemoveInstructionWith()
1193 DCHECK(initial->GetEnvUses().empty()); in ReplaceAndRemoveInstructionWith()
1196 instructions_.InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1199 InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1200 initial->ReplaceWith(replacement); in ReplaceAndRemoveInstructionWith()
1202 RemoveInstruction(initial); in ReplaceAndRemoveInstructionWith()
1324 HInstruction* initial = instruction->AsPhi()->InputAt(0); in CopyFromWithLoopPhiAdjustment() local
1325 SetRawEnvAt(i, initial); in CopyFromWithLoopPhiAdjustment()
1326 initial->AddEnvUseAt(this, i); in CopyFromWithLoopPhiAdjustment()