reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/SROA.cpp
 2374     IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + ".");
 2419     return getAdjustedPtr(IRB, DL, &NewAI,
 2436     unsigned NewAIAlign = NewAI.getAlignment();
 2438       NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType());
 2464     Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2464     Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2465                                      NewAI.getAlignment(), "load");
 2472     Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2472     Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2473                                      NewAI.getAlignment(), "load");
 2517       LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2517       LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2518                                               NewAI.getAlignment(),
 2613       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2613       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2614                                          NewAI.getAlignment(), "load");
 2617     StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
 2617     StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
 2630       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2630       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2631                                          NewAI.getAlignment(), "oldload");
 2638     StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
 2638     StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
 2700       NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
 2700       NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
 2718     return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile();
 2777     Type *AllocaTy = NewAI.getAllocatedType();
 2790       auto *Int8Ty = IntegerType::getInt8Ty(NewAI.getContext());
 2833       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2833       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2834                                          NewAI.getAlignment(), "oldload");
 2846         Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2846         Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 2847                                            NewAI.getAlignment(), "oldload");
 2868     StoreInst *New = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
 2868     StoreInst *New = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
 2924          SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) ||
 2925          !NewAI.getAllocatedType()->isSingleValueType());
 2930     if (EmitMemCpy && &OldAI == &NewAI) {
 2948       assert(AI != &OldAI && AI != &NewAI &&
 3023     Value *DstPtr = &NewAI;
 3032       Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3032       Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3033                                   NewAI.getAlignment(), "load");
 3036       Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3036       Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3037                                   NewAI.getAlignment(), "load");
 3050       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3050       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3051                                          NewAI.getAlignment(), "oldload");
 3054       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3054       Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
 3055                                          NewAI.getAlignment(), "oldload");