Lines Matching refs:SpillSlot
77 void insertPHIStores(PHINode *OriginalPHI, AllocaInst *SpillSlot);
79 insertPHIStore(BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot,
82 void replaceUseWithLoad(Value *V, Use &U, AllocaInst *&SpillSlot,
726 AllocaInst *SpillSlot = insertPHILoads(PN, F); in demotePHIsOnFunclets() local
727 if (SpillSlot) in demotePHIsOnFunclets()
728 insertPHIStores(PN, SpillSlot); in demotePHIsOnFunclets()
1087 AllocaInst *SpillSlot = nullptr; in insertPHILoads() local
1093 SpillSlot = new AllocaInst(PN->getType(), DL->getAllocaAddrSpace(), nullptr, in insertPHILoads()
1096 Value *V = new LoadInst(PN->getType(), SpillSlot, in insertPHILoads()
1100 return SpillSlot; in insertPHILoads()
1113 replaceUseWithLoad(PN, U, SpillSlot, Loads, F); in insertPHILoads()
1115 return SpillSlot; in insertPHILoads()
1123 AllocaInst *SpillSlot) { in insertPHIStores() argument
1147 insertPHIStore(PN->getIncomingBlock(i), PredVal, SpillSlot, Worklist); in insertPHIStores()
1153 insertPHIStore(PredBlock, InVal, SpillSlot, Worklist); in insertPHIStores()
1160 BasicBlock *PredBlock, Value *PredVal, AllocaInst *SpillSlot, in insertPHIStore() argument
1170 new StoreInst(PredVal, SpillSlot, PredBlock->getTerminator()); in insertPHIStore()
1173 void WinEHPrepare::replaceUseWithLoad(Value *V, Use &U, AllocaInst *&SpillSlot, in replaceUseWithLoad() argument
1177 if (!SpillSlot) in replaceUseWithLoad()
1178 SpillSlot = new AllocaInst(V->getType(), DL->getAllocaAddrSpace(), nullptr, in replaceUseWithLoad()
1237 Load = new LoadInst(V->getType(), SpillSlot, in replaceUseWithLoad()
1244 auto *Load = new LoadInst(V->getType(), SpillSlot, in replaceUseWithLoad()