Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp418 SmallVector<PHINode *, 16> SpecPNs; in findProfitablePHIs() local
508 SpecPNs.push_back(PN); in findProfitablePHIs()
541 return SpecPNs; in findProfitablePHIs()
552 static void speculatePHIs(ArrayRef<PHINode *> SpecPNs, in speculatePHIs() argument
556 LLVM_DEBUG(dbgs() << " Speculating around " << SpecPNs.size() << " PHIs!\n"); in speculatePHIs()
557 NumPHIsSpeculated += SpecPNs.size(); in speculatePHIs()
560 auto *ParentBB = SpecPNs[0]->getParent(); in speculatePHIs()
585 visitPHIUsersAndDepsInPostOrder(SpecPNs, in speculatePHIs()
693 IRBuilder<> IRB(SpecPNs[0]); in speculatePHIs()
715 for (auto *SpecPN : SpecPNs) { in speculatePHIs()
[all …]