Lines Matching defs:SpillSlot
71 void insertPHIStores(PHINode *OriginalPHI, AllocaInst *SpillSlot);
73 insertPHIStore(BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot,
76 void replaceUseWithLoad(Value *V, Use &U, AllocaInst *&SpillSlot,
879 AllocaInst *SpillSlot = insertPHILoads(PN, F);
880 if (SpillSlot)
881 insertPHIStores(PN, SpillSlot);
1234 AllocaInst *SpillSlot = nullptr;
1240 SpillSlot = new AllocaInst(PN->getType(), DL->getAllocaAddrSpace(), nullptr,
1243 Value *V = new LoadInst(PN->getType(), SpillSlot,
1247 return SpillSlot;
1260 replaceUseWithLoad(PN, U, SpillSlot, Loads, F);
1262 return SpillSlot;
1270 AllocaInst *SpillSlot) {
1294 insertPHIStore(PN->getIncomingBlock(i), PredVal, SpillSlot, Worklist);
1300 insertPHIStore(PredBlock, InVal, SpillSlot, Worklist);
1307 BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot,
1317 new StoreInst(PredVal, SpillSlot, PredBlock->getTerminator()->getIterator());
1321 Value *V, Use &U, AllocaInst *&SpillSlot,
1324 if (!SpillSlot)
1325 SpillSlot = new AllocaInst(V->getType(), DL->getAllocaAddrSpace(), nullptr,
1385 V->getType(), SpillSlot, Twine(V->getName(), ".wineh.reload"),
1391 auto *Load = new LoadInst(V->getType(), SpillSlot,