Lines Matching refs:Ret
64 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator());
65 if (!Ret) continue;
69 if (Ret != &BB.front()) {
71 BasicBlock::iterator I(Ret);
77 (!isa<PHINode>(I) || I != BB.begin() || Ret->getNumOperands() == 0 ||
78 Ret->getOperand(0) != &*I))
94 if (Ret->getNumOperands() == 0 ||
95 Ret->getOperand(0) ==
107 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(),
119 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB);