Lines Matching refs:SpillSlot
70 void insertPHIStores(PHINode *OriginalPHI, AllocaInst *SpillSlot);
72 insertPHIStore(BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot,
75 void replaceUseWithLoad(Value *V, Use &U, AllocaInst *&SpillSlot,
690 AllocaInst *SpillSlot = insertPHILoads(PN, F);
691 if (SpillSlot)
692 insertPHIStores(PN, SpillSlot);
1062 AllocaInst *SpillSlot = nullptr;
1068 SpillSlot = new AllocaInst(PN->getType(), nullptr,
1071 Value *V = new LoadInst(SpillSlot, Twine(PN->getName(), ".wineh.reload"),
1074 return SpillSlot;
1089 replaceUseWithLoad(PN, U, SpillSlot, Loads, F);
1091 return SpillSlot;
1099 AllocaInst *SpillSlot) {
1123 insertPHIStore(PN->getIncomingBlock(i), PredVal, SpillSlot, Worklist);
1129 insertPHIStore(PredBlock, InVal, SpillSlot, Worklist);
1136 BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot,
1147 new StoreInst(PredVal, SpillSlot, PredBlock->getTerminator());
1150 void WinEHPrepare::replaceUseWithLoad(Value *V, Use &U, AllocaInst *&SpillSlot,
1154 if (!SpillSlot)
1155 SpillSlot = new AllocaInst(V->getType(), nullptr,
1210 Load = new LoadInst(SpillSlot, Twine(V->getName(), ".wineh.reload"),
1216 auto *Load = new LoadInst(SpillSlot, Twine(V->getName(), ".wineh.reload"),