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

References

lib/Transforms/Utils/DemoteRegToStack.cpp
   25   if (I.use_empty()) {
   26     I.eraseFromParent();
   30   Function *F = I.getParent()->getParent();
   36     Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr,
   37                           I.getName()+".reg2mem", AllocaPoint);
   39     Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr,
   40                           I.getName() + ".reg2mem", &F->getEntryBlock().front());
   46   if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) {
   57   while (!I.use_empty()) {
   58     Instruction *U = cast<Instruction>(I.user_back());
   71         if (PN->getIncomingValue(i) == &I) {
   75             V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
   75             V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
   84       Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
   84       Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
   86       U->replaceUsesOfWith(&I, V);
   94   if (!I.isTerminator()) {
   95     InsertPt = ++I.getIterator();
   99     InvokeInst &II = cast<InvokeInst>(I);
  103   new StoreInst(&I, Slot, &*InsertPt);