LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::VariadicOperandTraits< SubClass, MINARITY > Struct Template Reference

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

#include "llvm/IR/OperandTraits.h"

Inheritance diagram for llvm::VariadicOperandTraits< SubClass, MINARITY >:
Inheritance graph
[legend]

Static Public Member Functions

static Useop_begin (SubClass *U)
 
static Useop_end (SubClass *U)
 
static unsigned operands (const User *U)
 

Detailed Description

template<typename SubClass, unsigned MINARITY = 0>
struct llvm::VariadicOperandTraits< SubClass, MINARITY >

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

Definition at line 68 of file OperandTraits.h.

Member Function Documentation

◆ op_begin()

template<typename SubClass , unsigned MINARITY = 0>
static Use * llvm::VariadicOperandTraits< SubClass, MINARITY >::op_begin ( SubClass *  U)
inlinestatic

Definition at line 69 of file OperandTraits.h.

References llvm::User::getNumOperands().

◆ op_end()

template<typename SubClass , unsigned MINARITY = 0>
static Use * llvm::VariadicOperandTraits< SubClass, MINARITY >::op_end ( SubClass *  U)
inlinestatic

Definition at line 75 of file OperandTraits.h.

◆ operands()

template<typename SubClass , unsigned MINARITY = 0>
static unsigned llvm::VariadicOperandTraits< SubClass, MINARITY >::operands ( const User U)
inlinestatic

Definition at line 78 of file OperandTraits.h.


The documentation for this struct was generated from the following file: