llvm::User::setNumHungOffUseOperands

Set the operand count for a User with hung-off uses.

Synopsis

Declared in <llvm/IR/User.h>

void
setNumHungOffUseOperands(unsigned int NumOps);

Description

Subclasses with hung off uses need to manage the operand count themselves. In these instances, the operand count isn't used to find the OperandList, so there's no issue in having the operand count change.

Parameters

NameDescription
NumOpsThe new number of operands.