Lines Matching refs:ReplaceInstWithInst
214 /// ReplaceInstWithInst - Replace the instruction specified by BI with the
218 void llvm::ReplaceInstWithInst(BasicBlock::InstListType &BIL,
221 "ReplaceInstWithInst: Instruction already inserted into basic block!");
233 /// ReplaceInstWithInst - Replace the instruction specified by From with the
236 void llvm::ReplaceInstWithInst(Instruction *From, Instruction *To) {
238 ReplaceInstWithInst(From->getParent()->getInstList(), BI, To);
692 ReplaceInstWithInst(HeadOldTerm, HeadNewTerm);
728 ReplaceInstWithInst(HeadOldTerm, HeadNewTerm);