Lines Matching defs:Slot
20 /// Instruction and replaces it with a slot in the stack frame, allocated via
23 /// the alloca inserted to create a stack slot for I.
31 // Create a stack slot to hold the value.
32 AllocaInst *Slot;
34 Slot = new AllocaInst(I.getType(), nullptr,
38 Slot = new AllocaInst(I.getType(), nullptr, I.getName()+".reg2mem",
55 // Change all of the users of the instruction to read from the stack slot.
74 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads,
82 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U);
87 // Insert stores of the computed value into the stack slot. We have to be
101 new StoreInst(&I, Slot, InsertPt);
102 return Slot;
106 /// node and replaces it with a slot in the stack frame allocated via alloca.
114 // Create a stack slot to hold the value.
115 AllocaInst *Slot;
117 Slot = new AllocaInst(P->getType(), nullptr,
121 Slot = new AllocaInst(P->getType(), nullptr, P->getName()+".reg2mem",
131 new StoreInst(P->getIncomingValue(i), Slot,
141 Value *V = new LoadInst(Slot, P->getName()+".reload", InsertPt);
146 return Slot;