Lines Matching refs: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,
875 AllocaInst *SpillSlot = insertPHILoads(PN, F); in demotePHIsOnFunclets() local
876 if (SpillSlot) in demotePHIsOnFunclets()
877 insertPHIStores(PN, SpillSlot); in demotePHIsOnFunclets()
1230 AllocaInst *SpillSlot = nullptr; in insertPHILoads() local
1236 SpillSlot = new AllocaInst(PN->getType(), DL->getAllocaAddrSpace(), nullptr, in insertPHILoads()
1239 Value *V = new LoadInst(PN->getType(), SpillSlot, in insertPHILoads()
1243 return SpillSlot; in insertPHILoads()
1256 replaceUseWithLoad(PN, U, SpillSlot, Loads, F); in insertPHILoads()
1258 return SpillSlot; in insertPHILoads()
1266 AllocaInst *SpillSlot) { in insertPHIStores() argument
1290 insertPHIStore(PN->getIncomingBlock(i), PredVal, SpillSlot, Worklist); in insertPHIStores()
1296 insertPHIStore(PredBlock, InVal, SpillSlot, Worklist); in insertPHIStores()
1303 BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot, in insertPHIStore() argument
1313 new StoreInst(PredVal, SpillSlot, PredBlock->getTerminator()->getIterator()); in insertPHIStore()
1317 Value *V, Use &U, AllocaInst *&SpillSlot, in replaceUseWithLoad() argument
1320 if (!SpillSlot) in replaceUseWithLoad()
1321 SpillSlot = new AllocaInst(V->getType(), DL->getAllocaAddrSpace(), nullptr, in replaceUseWithLoad()
1381 V->getType(), SpillSlot, Twine(V->getName(), ".wineh.reload"), in replaceUseWithLoad()
1387 auto *Load = new LoadInst(V->getType(), SpillSlot, in replaceUseWithLoad()