Lines Matching refs:initial
1018 void HBasicBlock::ReplaceAndRemovePhiWith(HPhi* initial, HPhi* replacement) { in ReplaceAndRemovePhiWith() argument
1019 DCHECK(initial->GetBlock() == this); in ReplaceAndRemovePhiWith()
1020 InsertPhiAfter(replacement, initial); in ReplaceAndRemovePhiWith()
1021 initial->ReplaceWith(replacement); in ReplaceAndRemovePhiWith()
1022 RemovePhi(initial); in ReplaceAndRemovePhiWith()
1025 void HBasicBlock::ReplaceAndRemoveInstructionWith(HInstruction* initial, in ReplaceAndRemoveInstructionWith() argument
1027 DCHECK(initial->GetBlock() == this); in ReplaceAndRemoveInstructionWith()
1028 if (initial->IsControlFlow()) { in ReplaceAndRemoveInstructionWith()
1033 DCHECK_EQ(initial->GetBlock(), this); in ReplaceAndRemoveInstructionWith()
1034 DCHECK_EQ(initial->GetType(), DataType::Type::kVoid); in ReplaceAndRemoveInstructionWith()
1035 DCHECK(initial->GetUses().empty()); in ReplaceAndRemoveInstructionWith()
1036 DCHECK(initial->GetEnvUses().empty()); in ReplaceAndRemoveInstructionWith()
1039 instructions_.InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1042 InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
1043 initial->ReplaceWith(replacement); in ReplaceAndRemoveInstructionWith()
1045 RemoveInstruction(initial); in ReplaceAndRemoveInstructionWith()
1167 HInstruction* initial = instruction->AsPhi()->InputAt(0); in CopyFromWithLoopPhiAdjustment() local
1168 SetRawEnvAt(i, initial); in CopyFromWithLoopPhiAdjustment()
1169 initial->AddEnvUseAt(this, i); in CopyFromWithLoopPhiAdjustment()