Searched refs:NonConstBB (Results 1 – 1 of 1) sorted by relevance
1175 BasicBlock *NonConstBB = nullptr; in foldOpIntoPhi() local1186 if (NonConstBB) return nullptr; // More than one non-const value. in foldOpIntoPhi()1188 NonConstBB = PN->getIncomingBlock(i); in foldOpIntoPhi()1193 if (cast<Instruction>(InVal)->getParent() == NonConstBB) in foldOpIntoPhi()1200 if (isPotentiallyReachable(PN->getParent(), NonConstBB, nullptr, &DT, LI)) in foldOpIntoPhi()1209 if (NonConstBB != nullptr) { in foldOpIntoPhi()1210 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in foldOpIntoPhi()1211 if (!BI || !BI->isUnconditional() || !DT.isReachableFromEntry(NonConstBB)) in foldOpIntoPhi()1222 if (NonConstBB) in foldOpIntoPhi()1223 Builder.SetInsertPoint(NonConstBB->getTerminator()); in foldOpIntoPhi()[all …]