Searched refs:SomePHI (Results 1 – 12 of 12) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 738 PHINode *SomePHI = I->second; in run() local 739 BasicBlock *BB = SomePHI->getParent(); in run() 740 if (&BB->front() != SomePHI) in run() 746 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run() 759 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run() 762 Preds.begin(), Preds.end(), SomePHI->getIncomingBlock(i)); in run() 763 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run() 774 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run() 776 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run() 777 SomePHI->getNumIncomingValues() == NumBadPreds) { in run() [all …]
|
D | SSAUpdater.cpp | 155 for (PHINode &SomePHI : BB->phis()) { in GetValueInMiddleOfBlock() 156 if (IsEquivalentPHI(&SomePHI, ValueMapping)) in GetValueInMiddleOfBlock() 157 return &SomePHI; in GetValueInMiddleOfBlock()
|
D | BasicBlockUtils.cpp | 749 PHINode *SomePHI = dyn_cast<PHINode>(BB->begin()); in GetIfCondition() local 753 if (SomePHI) { in GetIfCondition() 754 if (SomePHI->getNumIncomingValues() != 2) in GetIfCondition() 756 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 757 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 721 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 …]
|
D | SSAUpdater.cpp | 141 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()
|
D | BasicBlockUtils.cpp | 680 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/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 616 PHINode *SomePHI = I->second; in run() local 617 BasicBlock *BB = SomePHI->getParent(); in run() 618 if (&BB->front() != SomePHI) in run() 624 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run() 637 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run() 641 SomePHI->getIncomingBlock(i)); in run() 642 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i)&& in run() 653 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run() 655 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run() 656 SomePHI->getNumIncomingValues() == NumBadPreds) { in run() [all …]
|
D | SSAUpdater.cpp | 170 PHINode *SomePHI; in GetValueInMiddleOfBlock() local 172 (SomePHI = dyn_cast<PHINode>(It)); ++It) { in GetValueInMiddleOfBlock() 173 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock() 174 return SomePHI; in GetValueInMiddleOfBlock()
|
D | SimplifyCFG.cpp | 133 PHINode *SomePHI = cast<PHINode>(BB->begin()); in GetIfCondition() local 134 assert(SomePHI->getNumIncomingValues() == 2 && in GetIfCondition() 136 BasicBlock *Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 137 BasicBlock *Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 371 PhiT *SomePHI = Traits::InstrIsPHI(BBI); in FindExistingPHI() local 372 if (!SomePHI) in FindExistingPHI() 374 if (CheckIfPHIMatches(SomePHI)) { in FindExistingPHI() 375 RecordMatchingPHI(SomePHI); in FindExistingPHI()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 382 PhiT *SomePHI = Traits::InstrIsPHI(&*BBI); in FindExistingPHI() local 383 if (!SomePHI) in FindExistingPHI() 385 if (CheckIfPHIMatches(SomePHI)) { in FindExistingPHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 391 for (auto &SomePHI : BB->phis()) { in FindExistingPHI() 392 if (CheckIfPHIMatches(&SomePHI)) { in FindExistingPHI()
|