llvm.org GIT mirror llvm / 7518583
Add multiple value return instruction constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49374 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 12 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9595 ReturnInst *CreateRet(Value *V) {
9696 return Insert(ReturnInst::Create(V));
9797 }
98
99 ReturnInst *CreateRet(Value * const* retVals, unsigned N) {
100 return Insert(ReturnInst::Create(retVals, N));
101 }
98102
99103 /// CreateBr - Create an unconditional 'br label X' instruction.
100104 BranchInst *CreateBr(BasicBlock *Dest) {