Home
last modified time | relevance | path

Searched refs:SomePHI (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp722 PHINode *SomePHI = I->second; in run() local
723 BasicBlock *BB = SomePHI->getParent(); in run()
724 if (&BB->front() != SomePHI) in run()
730 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
743 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
746 Preds.begin(), Preds.end(), SomePHI->getIncomingBlock(i)); in run()
747 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run()
758 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
760 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run()
761 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
[all …]
DSSAUpdater.cpp141 PHINode *SomePHI; in GetValueInMiddleOfBlock() local
143 (SomePHI = dyn_cast<PHINode>(It)); ++It) { in GetValueInMiddleOfBlock()
144 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
145 return SomePHI; in GetValueInMiddleOfBlock()
DBasicBlockUtils.cpp783 PHINode *SomePHI = dyn_cast<PHINode>(BB->begin()); in GetIfCondition() local
787 if (SomePHI) { in GetIfCondition()
788 if (SomePHI->getNumIncomingValues() != 2) in GetIfCondition()
790 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition()
791 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h381 PhiT *SomePHI = Traits::InstrIsPHI(BBI); in FindExistingPHI() local
382 if (!SomePHI) in FindExistingPHI()
384 if (CheckIfPHIMatches(SomePHI)) { in FindExistingPHI()