Searched refs:NonConstBB (Results 1 – 1 of 1) sorted by relevance
1120 BasicBlock *NonConstBB = nullptr; in foldOpIntoPhi() local1129 if (NonConstBB) return nullptr; // More than one non-const value. in foldOpIntoPhi()1131 NonConstBB = PN->getIncomingBlock(i); in foldOpIntoPhi()1136 if (cast<Instruction>(InVal)->getParent() == NonConstBB) in foldOpIntoPhi()1142 if (isPotentiallyReachable(I.getParent(), NonConstBB, nullptr, &DT, LI)) in foldOpIntoPhi()1151 if (NonConstBB != nullptr) { in foldOpIntoPhi()1152 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in foldOpIntoPhi()1153 if (!BI || !BI->isUnconditional() || !DT.isReachableFromEntry(NonConstBB)) in foldOpIntoPhi()1164 if (NonConstBB) in foldOpIntoPhi()1165 Builder.SetInsertPoint(NonConstBB->getTerminator()); in foldOpIntoPhi()[all …]