struct FixedNumOperandTraits

Declaration

template <typename SubClass, unsigned int ARITY>
struct FixedNumOperandTraits { /* full declaration omitted */ };

Description

FixedNumOperandTraits - determine the allocation regime of the Use array when it is a prefix to the User object, and the number of Use objects is known at compile time.

Declared at: llvm/include/llvm/IR/OperandTraits.h:30

Templates

SubClass
unsigned int ARITY

Method Overview

  • public static llvm::Use * op_begin(SubClass * U)
  • public static llvm::Use * op_end(SubClass * U)
  • public static unsigned int operands(const llvm::User *)

Methods

static llvm::Use* op_begin(SubClass* U)

Declared at: llvm/include/llvm/IR/OperandTraits.h:31

Parameters

SubClass* U

static llvm::Use* op_end(SubClass* U)

Declared at: llvm/include/llvm/IR/OperandTraits.h:37

Parameters

SubClass* U

static unsigned int operands(const llvm::User*)

Declared at: llvm/include/llvm/IR/OperandTraits.h:40

Parameters

const llvm::User*