Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp721 PHINode *SomePHI = I->second; in run() local
722 BasicBlock *BB = SomePHI->getParent(); in run()
723 if (&BB->front() != SomePHI) in run()
729 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
742 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
745 Preds.begin(), Preds.end(), SomePHI->getIncomingBlock(i)); in run()
746 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run()
757 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
759 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run()
760 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.cpp680 PHINode *SomePHI = dyn_cast<PHINode>(BB->begin()); in GetIfCondition() local
684 if (SomePHI) { in GetIfCondition()
685 if (SomePHI->getNumIncomingValues() != 2) in GetIfCondition()
687 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition()
688 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp716 PHINode *SomePHI = I->second; in run() local
717 BasicBlock *BB = SomePHI->getParent(); in run()
718 if (&BB->front() != SomePHI) in run()
724 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
740 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
743 Preds, SomePHI->getIncomingBlock(i), CompareBBNumbers); in run()
744 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run()
755 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
757 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run()
758 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
[all …]
DSSAUpdater.cpp154 for (PHINode &SomePHI : BB->phis()) { in GetValueInMiddleOfBlock()
155 if (IsEquivalentPHI(&SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
156 return &SomePHI; in GetValueInMiddleOfBlock()
DBasicBlockUtils.cpp999 PHINode *SomePHI = dyn_cast<PHINode>(BB->begin()); in GetIfCondition() local
1003 if (SomePHI) { in GetIfCondition()
1004 if (SomePHI->getNumIncomingValues() != 2) in GetIfCondition()
1006 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition()
1007 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
/external/llvm-project/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp731 PHINode *SomePHI = I->second; in run() local
732 BasicBlock *BB = SomePHI->getParent(); in run()
733 if (&BB->front() != SomePHI) in run()
739 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
755 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
758 Preds, SomePHI->getIncomingBlock(i), CompareBBNumbers); in run()
759 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run()
770 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
772 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run()
773 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
[all …]
DSSAUpdater.cpp154 for (PHINode &SomePHI : BB->phis()) { in GetValueInMiddleOfBlock()
155 if (IsEquivalentPHI(&SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
156 return &SomePHI; in GetValueInMiddleOfBlock()
DBasicBlockUtils.cpp1055 PHINode *SomePHI = dyn_cast<PHINode>(BB->begin()); in GetIfCondition() local
1059 if (SomePHI) { in GetIfCondition()
1060 if (SomePHI->getNumIncomingValues() != 2) in GetIfCondition()
1062 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition()
1063 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h382 PhiT *SomePHI = Traits::InstrIsPHI(&*BBI); in FindExistingPHI() local
383 if (!SomePHI) in FindExistingPHI()
385 if (CheckIfPHIMatches(SomePHI)) { in FindExistingPHI()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h390 for (auto &SomePHI : BB->phis()) { in FindExistingPHI()
391 if (CheckIfPHIMatches(&SomePHI)) { in FindExistingPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h390 for (auto &SomePHI : BB->phis()) { in FindExistingPHI()
391 if (CheckIfPHIMatches(&SomePHI)) { in FindExistingPHI()