Lines Matching refs:NewElts
172 SmallVectorImpl<AllocaInst *> &NewElts);
174 SmallVectorImpl<AllocaInst *> &NewElts);
176 SmallVectorImpl<AllocaInst *> &NewElts);
179 SmallVectorImpl<AllocaInst *> &NewElts);
182 SmallVectorImpl<AllocaInst *> &NewElts);
184 SmallVectorImpl<AllocaInst *> &NewElts);
186 SmallVectorImpl<AllocaInst *> &NewElts);
1878 /// RewriteForScalarRepl - Alloca AI is being split into NewElts, so rewrite
1883 SmallVectorImpl<AllocaInst *> &NewElts) {
1890 RewriteBitCast(BC, AI, Offset, NewElts);
1895 RewriteGEP(GEPI, AI, Offset, NewElts);
1903 RewriteMemIntrinUserOfAlloca(MI, I, AI, NewElts);
1912 RewriteLifetimeIntrinsic(II, AI, Offset, NewElts);
1931 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
1932 Value *Load = Builder.CreateLoad(NewElts[i], "load");
1941 RewriteLoadUserOfWholeAlloca(LI, AI, NewElts);
1959 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
1961 Builder.CreateStore(Extract, NewElts[i]);
1968 RewriteStoreUserOfWholeAlloca(SI, AI, NewElts);
1979 assert(Offset == 0 && NewElts[0] &&
1985 AllocaInst *NewAI = NewElts[0];
1997 SmallVectorImpl<AllocaInst *> &NewElts) {
1998 RewriteForScalarRepl(BC, AI, Offset, NewElts);
2011 Instruction *Val = NewElts[Idx];
2057 SmallVectorImpl<AllocaInst *> &NewElts) {
2070 RewriteForScalarRepl(GEPI, AI, Offset, NewElts);
2105 Instruction *Val = NewElts[Idx];
2120 SmallVectorImpl<AllocaInst *> &NewElts) {
2137 Value *V = Builder.CreateBitCast(NewElts[Idx], Builder.getInt8PtrTy(AS));
2140 IdxTy = NewElts[Idx]->getAllocatedType();
2155 for (; Idx != NewElts.size() && Size; ++Idx) {
2156 IdxTy = NewElts[Idx]->getAllocatedType();
2165 Builder.CreateLifetimeStart(NewElts[Idx],
2168 Builder.CreateLifetimeEnd(NewElts[Idx],
2179 SmallVectorImpl<AllocaInst *> &NewElts) {
2210 if (OtherPtr == AI || OtherPtr == NewElts[0]) {
2235 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
2264 Value *EltPtr = NewElts[i];
2353 SmallVectorImpl<AllocaInst *> &NewElts) {
2376 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
2399 Value *DestField = NewElts[i];
2426 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
2441 Value *DestField = NewElts[i];
2469 SmallVectorImpl<AllocaInst *> &NewElts) {
2470 // Extract each element out of the NewElts according to its structure offset
2493 for (unsigned i = 0, e = NewElts.size(); i != e; ++i) {
2496 Value *SrcField = NewElts[i];