LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::VariadicOperandTraits< SubClass > 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 >:
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>
struct llvm::VariadicOperandTraits< SubClass >

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 67 of file OperandTraits.h.

Member Function Documentation

◆ op_begin()

template<typename SubClass >
static Use * llvm::VariadicOperandTraits< SubClass >::op_begin ( SubClass *  U)
inlinestatic

Definition at line 68 of file OperandTraits.h.

References llvm::User::getNumOperands().

◆ op_end()

template<typename SubClass >
static Use * llvm::VariadicOperandTraits< SubClass >::op_end ( SubClass *  U)
inlinestatic

Definition at line 74 of file OperandTraits.h.

◆ operands()

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

Definition at line 77 of file OperandTraits.h.


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