Lines Matching refs:RI
107 bool ProcessReturningBlock(ReturnInst *RI, BasicBlock *&OldEntry,
283 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) {
305 if (BasicBlock *UniquePred = RI->getParent()->getUniquePredecessor())
308 return SI->getDefaultDest() != RI->getParent();
323 ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator());
324 if (RI == 0 || RI == IgnoreRI) continue;
330 Value *RetOp = RI->getOperand(0);
331 if (!isDynamicConstant(RetOp, CI, RI))
584 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator()))
585 RI->setOperand(0, AccPN);