Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3531 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local
3533 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()
3547 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()
3551 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()
3559 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()
3567 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3925 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local
3927 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()
3941 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()
3945 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()
3953 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()
3961 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp681 if (llvm::all_of(DestBB->phis(), [&](const PHINode &DestPN) { in isMergingEmptyBlockProfitable() argument
682 return DestPN.getIncomingValueForBlock(BB) == in isMergingEmptyBlockProfitable()
683 DestPN.getIncomingValueForBlock(DestBBPred); in isMergingEmptyBlockProfitable()