Lines Matching refs:initial
1134 void HBasicBlock::ReplaceAndRemovePhiWith(HPhi* initial, HPhi* replacement) { in ReplaceAndRemovePhiWith() argument
1135 DCHECK(initial->GetBlock() == this); in ReplaceAndRemovePhiWith()
1136 InsertPhiAfter(replacement, initial); in ReplaceAndRemovePhiWith()
1137 initial->ReplaceWith(replacement); in ReplaceAndRemovePhiWith()
1138 RemovePhi(initial); in ReplaceAndRemovePhiWith()
1141 void HBasicBlock::ReplaceAndRemoveInstructionWith(HInstruction* initial, in ReplaceAndRemoveInstructionWith() argument
1143 DCHECK(initial->GetBlock() == this); in ReplaceAndRemoveInstructionWith()
1144 if (initial->IsControlFlow()) { in ReplaceAndRemoveInstructionWith()
1149 DCHECK_EQ(initial->GetBlock(), this); in ReplaceAndRemoveInstructionWith()
1150 DCHECK_EQ(initial->GetType(), DataType::Type::kVoid); in ReplaceAndRemoveInstructionWith()
1151 DCHECK(initial->GetUses().empty()); in ReplaceAndRemoveInstructionWith()
1152 DCHECK(initial->GetEnvUses().empty()); in ReplaceAndRemoveInstructionWith()
1155 instructions_.InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1158 InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1159 initial->ReplaceWith(replacement); in ReplaceAndRemoveInstructionWith()
1161 RemoveInstruction(initial); in ReplaceAndRemoveInstructionWith()
1283 HInstruction* initial = instruction->AsPhi()->InputAt(0); in CopyFromWithLoopPhiAdjustment() local
1284 SetRawEnvAt(i, initial); in CopyFromWithLoopPhiAdjustment()
1285 initial->AddEnvUseAt(this, i); in CopyFromWithLoopPhiAdjustment()