Lines Matching refs:SIUse
123 PHINode *SIUse; member in __anonfb50cc300111::SelectInstToUnfold
126 SelectInstToUnfold(SelectInst *SI, PHINode *SIUse) : SI(SI), SIUse(SIUse) {} in SelectInstToUnfold() argument
129 PHINode *getUse() { return SIUse; } in getUse()
131 explicit operator bool() const { return SI && SIUse; } in operator bool()
182 DomTreeUpdater *DTU, SelectInst *SI, PHINode *SIUse, SelectInst *SIToSink, in createBasicBlockAndSinkSelectInst() argument
194 NewSIsToUnfold->push_back(SelectInstToUnfold(SIToSink, SIUse)); in createBasicBlockAndSinkSelectInst()
209 PHINode *SIUse = SIToUnfold.getUse(); in unfold() local
211 BasicBlock *EndBlock = SIUse->getParent(); in unfold()
227 createBasicBlockAndSinkSelectInst(DTU, SI, SIUse, SIOp, EndBlock, in unfold()
232 createBasicBlockAndSinkSelectInst(DTU, SI, SIUse, SIOp, EndBlock, in unfold()
260 SIUse->addIncoming(SI->getTrueValue(), TrueBlock); in unfold()
261 SIUse->addIncoming(SI->getFalseValue(), FalseBlock); in unfold()
265 if (&Phi != SIUse) { in unfold()
293 for (unsigned Idx = 0; Idx < SIUse->getNumIncomingValues(); ++Idx) { in unfold()
294 if (SIUse->getIncomingBlock(Idx) == StartBlock) in unfold()
295 SIUse->setIncomingValue(Idx, SIOp1); in unfold()
297 SIUse->addIncoming(SIOp2, NewBlock); in unfold()
302 if (Phi != SIUse) in unfold()
496 Instruction *SIUse = dyn_cast<Instruction>(SI->user_back()); in isValidSelectInst() local
498 if (!SIUse && !(isa<PHINode>(SIUse) || isa<SelectInst>(SIUse))) in isValidSelectInst()
510 PHINode *PHIUser = dyn_cast<PHINode>(SIUse); in isValidSelectInst()