Lines Matching refs:BBs
148 SmallPtrSet<BasicBlock *, 8> BBs; in findConstantInsertionPoint() local
151 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint()
153 if (BBs.count(Entry)) in findConstantInsertionPoint()
156 while (BBs.size() >= 2) { in findConstantInsertionPoint()
158 BB1 = *BBs.begin(); in findConstantInsertionPoint()
159 BB2 = *std::next(BBs.begin()); in findConstantInsertionPoint()
163 BBs.erase(BB1); in findConstantInsertionPoint()
164 BBs.erase(BB2); in findConstantInsertionPoint()
165 BBs.insert(BB); in findConstantInsertionPoint()
167 assert((BBs.size() == 1) && "Expected only one element."); in findConstantInsertionPoint()
168 Instruction &FirstInst = (*BBs.begin())->front(); in findConstantInsertionPoint()