Searched refs:OldPHI (Results 1 – 1 of 1) sorted by relevance
263 auto *OldPHI = cast<PHINode>(&*I); in rewrite() local264 auto *NewPHI = PHINode::Create(Int1Ty, OldPHI->getNumIncomingValues()); in rewrite()265 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) in rewrite()267 OldPHI->getIncomingBlock(i)); in rewrite()268 NewPHI->insertBefore(OldPHI); in rewrite()269 ValToPoison[OldPHI] = NewPHI; in rewrite()308 auto *OldPHI = cast<PHINode>(&*I); in rewrite() local309 if (!ValToPoison.count(OldPHI)) in rewrite()311 auto *NewPHI = cast<PHINode>(ValToPoison[OldPHI]); in rewrite()312 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) { in rewrite()[all …]