Lines Matching refs:ReplaceInstUsesWith
862 ReplaceInstUsesWith(*User, NewPN); in FoldOpIntoPhi()
865 return ReplaceInstUsesWith(I, NewPN); in FoldOpIntoPhi()
1291 return ReplaceInstUsesWith(GEP, V); in visitGetElementPtrInst()
1760 ReplaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
1782 return ReplaceInstUsesWith(GEP, NGEP); in visitGetElementPtrInst()
1883 ReplaceInstUsesWith(*C, in visitAllocSite()
1887 ReplaceInstUsesWith(*I, UndefValue::get(I->getType())); in visitAllocSite()
1892 ReplaceInstUsesWith(*I, ConstantInt::get(I->getType(), DontKnow)); in visitAllocSite()
2141 return ReplaceInstUsesWith(EV, Agg); in visitExtractValueInst()
2146 return ReplaceInstUsesWith(EV, C2); in visitExtractValueInst()
2178 return ReplaceInstUsesWith(EV, IV->getInsertedValueOperand()); in visitExtractValueInst()
2218 ReplaceInstUsesWith(*II, UndefValue::get(II->getType())); in visitExtractValueInst()
2235 ReplaceInstUsesWith(*II, UndefValue::get(II->getType())); in visitExtractValueInst()
2244 ReplaceInstUsesWith(*II, UndefValue::get(II->getType())); in visitExtractValueInst()
2275 return ReplaceInstUsesWith(EV, Builder->CreateLoad(GEP)); in visitExtractValueInst()
2665 ReplaceInstUsesWith(*I, C); in run()