Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp336 static void visitPHIUsersAndDepsInPostOrder(ArrayRef<PHINode *> PNs, in visitPHIUsersAndDepsInPostOrder() argument
340 for (auto *PN : PNs) in visitPHIUsersAndDepsInPostOrder()
414 findProfitablePHIs(ArrayRef<PHINode *> PNs, in findProfitablePHIs() argument
426 for (auto *PN : PNs) { in findProfitablePHIs()
441 PNs, in findProfitablePHIs()
726 static bool tryToSpeculatePHIs(SmallVectorImpl<PHINode *> &PNs, in tryToSpeculatePHIs() argument
748 PNs.erase(llvm::remove_if(PNs, in tryToSpeculatePHIs()
754 PNs.end()); in tryToSpeculatePHIs()
756 if (PNs.empty()) { in tryToSpeculatePHIs()
764 for (auto *PredBB : PNs[0]->blocks()) { in tryToSpeculatePHIs()
[all …]