-
- // The newly created PHI completely replaces the old instruction,
- // so we need to update the maps to reflect this.
- for (DenseMap<BasicBlock*, DenseMap<uint32_t, Value*> >::iterator
- UI = localAvail.begin(), UE = localAvail.end(); UI != UE; ++UI)
- for (DenseMap<uint32_t, Value*>::iterator UUI = UI->second.begin(),
- UUE = UI->second.end(); UUI != UUE; ++UUI)
- if (UUI->second == BI)
- UUI->second = Phi;