Home
last modified time | relevance | path

Searched refs:DestPN (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyCFG.cpp4036 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local
4038 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()
4052 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()
4056 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()
4064 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()
4072 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp736 if (llvm::all_of(DestBB->phis(), [&](const PHINode &DestPN) { in isMergingEmptyBlockProfitable() argument
737 return DestPN.getIncomingValueForBlock(BB) == in isMergingEmptyBlockProfitable()
738 DestPN.getIncomingValueForBlock(DestBBPred); in isMergingEmptyBlockProfitable()