reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
101 if (!RetBlock) { 102 RetBlock = &BB; 114 cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0)) { 115 BB.replaceAllUsesWith(RetBlock); 121 PHINode *RetBlockPHI = dyn_cast<PHINode>(RetBlock->begin()); 123 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); 124 pred_iterator PB = pred_begin(RetBlock), PE = pred_end(RetBlock); 124 pred_iterator PB = pred_begin(RetBlock), PE = pred_end(RetBlock); 127 &RetBlock->front()); 131 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); 139 BranchInst::Create(RetBlock, &BB);