llvm::User::OpFrom

Return the operand Use at compile-time index Idx from that.

Synopsis

Declared in <llvm/IR/User.h>

template<
    int Idx,
    typename U>
static
Use&
OpFrom(U const* that);

Return Value

Reference to the operand Use.

Parameters

NameDescription
thatThe User (or subclass) to read the operand from.