Lines Matching refs:CV
202 ValueVector &CV = (CachePtr ? *CachePtr : Tmp); in operator []() local
204 if (CV[I]) in operator []()
205 return CV[I]; in operator []()
208 if (!CV[0]) { in operator []()
212 CV[0] = Builder.CreateBitCast(V, Ty, V->getName() + ".i0"); in operator []()
215 CV[I] = Builder.CreateConstGEP1_32(nullptr, CV[0], I, in operator []()
231 CV[J] = Insert->getOperand(1); in operator []()
232 return CV[J]; in operator []()
233 } else if (!CV[J]) { in operator []()
237 CV[J] = Insert->getOperand(1); in operator []()
240 CV[I] = Builder.CreateExtractElement(V, Builder.getInt32(I), in operator []()
243 return CV[I]; in operator []()
296 void Scalarizer::gather(Instruction *Op, const ValueVector &CV) { in gather() argument
302 transferMetadata(Op, CV); in gather()
314 CV[I]->takeName(Old); in gather()
315 Old->replaceAllUsesWith(CV[I]); in gather()
319 SV = CV; in gather()
337 void Scalarizer::transferMetadata(Instruction *Op, const ValueVector &CV) { in transferMetadata() argument
340 for (unsigned I = 0, E = CV.size(); I != E; ++I) { in transferMetadata()
341 if (Instruction *New = dyn_cast<Instruction>(CV[I])) { in transferMetadata()
654 ValueVector &CV = *GMI.second; in finish() local
666 Res = Builder.CreateInsertElement(Res, CV[I], Builder.getInt32(I), in finish()