Home | History | Annotate | Download | only in Utils

Lines Matching refs: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",
42 // Change all of the users of the instruction to read from the stack slot.
61 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads,
69 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U);
75 // Insert stores of the computed value into the stack slot. We have to be
103 new StoreInst(&I, Slot, InsertPt);
104 return Slot;
108 /// node and replaces it with a slot in the stack frame allocated via alloca.
116 // Create a stack slot to hold the value.
117 AllocaInst *Slot;
119 Slot = new AllocaInst(P->getType(), nullptr,
123 Slot = new AllocaInst(P->getType(), nullptr, P->getName()+".reg2mem",
133 new StoreInst(P->getIncomingValue(i), Slot,
143 Value *V = new LoadInst(Slot, P->getName()+".reload", InsertPt);
148 return Slot;