llvm::MachineBasicBlock *MBB = ... const TargetRegisterClass *RC = ... unsigned Reg = ... MBB->addLiveIn(Reg, RC);
llvm::MachineBasicBlock *MBB = ... const TargetRegisterClass *RC = ... unsigned Reg1 = ... unsigned Reg2 = ... unsigned Reg3 = ... MBB->addLiveIn(Reg1, RC); MBB->addLiveIn(Reg2, RC); MBB->addLiveIn(Reg3, RC);In this example, multiple registers are added as live-in to the same MachineBasicBlock object MBB. Package/Library: LLVM IR packages.