LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::OperandBundleDefT< InputTy > Class Template Reference

A container for an operand bundle being viewed as a set of values rather than a set of uses. More...

#include "llvm/IR/InstrTypes.h"

Public Types

using input_iterator = typename std::vector< InputTy >::const_iterator
 

Public Member Functions

 OperandBundleDefT (std::string Tag, std::vector< InputTy > Inputs)
 
 OperandBundleDefT (std::string Tag, ArrayRef< InputTy > Inputs)
 
 OperandBundleDefT (const OperandBundleUse &OBU)
 
ArrayRef< InputTy > inputs () const
 
size_t input_size () const
 
input_iterator input_begin () const
 
input_iterator input_end () const
 
StringRef getTag () const
 

Detailed Description

template<typename InputTy>
class llvm::OperandBundleDefT< InputTy >

A container for an operand bundle being viewed as a set of values rather than a set of uses.

Unlike OperandBundleUse, OperandBundleDefT owns the memory it carries, and so it is possible to create and pass around "self-contained" instances of OperandBundleDef and ConstOperandBundleDef.

Definition at line 1073 of file InstrTypes.h.

Member Typedef Documentation

◆ input_iterator

template<typename InputTy >
using llvm::OperandBundleDefT< InputTy >::input_iterator = typename std::vector<InputTy>::const_iterator

Definition at line 1090 of file InstrTypes.h.

Constructor & Destructor Documentation

◆ OperandBundleDefT() [1/3]

template<typename InputTy >
llvm::OperandBundleDefT< InputTy >::OperandBundleDefT ( std::string  Tag,
std::vector< InputTy >  Inputs 
)
inlineexplicit

Definition at line 1078 of file InstrTypes.h.

◆ OperandBundleDefT() [2/3]

template<typename InputTy >
llvm::OperandBundleDefT< InputTy >::OperandBundleDefT ( std::string  Tag,
ArrayRef< InputTy >  Inputs 
)
inlineexplicit

Definition at line 1080 of file InstrTypes.h.

◆ OperandBundleDefT() [3/3]

template<typename InputTy >
llvm::OperandBundleDefT< InputTy >::OperandBundleDefT ( const OperandBundleUse OBU)
inlineexplicit

Member Function Documentation

◆ getTag()

template<typename InputTy >
StringRef llvm::OperandBundleDefT< InputTy >::getTag ( ) const
inline

Definition at line 1096 of file InstrTypes.h.

Referenced by llvm::CallBase::Create(), and llvm::UpgradeOperandBundles().

◆ input_begin()

template<typename InputTy >
input_iterator llvm::OperandBundleDefT< InputTy >::input_begin ( ) const
inline

Definition at line 1093 of file InstrTypes.h.

◆ input_end()

template<typename InputTy >
input_iterator llvm::OperandBundleDefT< InputTy >::input_end ( ) const
inline

Definition at line 1094 of file InstrTypes.h.

◆ input_size()

template<typename InputTy >
size_t llvm::OperandBundleDefT< InputTy >::input_size ( ) const
inline

Definition at line 1092 of file InstrTypes.h.

◆ inputs()

template<typename InputTy >
ArrayRef< InputTy > llvm::OperandBundleDefT< InputTy >::inputs ( ) const
inline

Definition at line 1088 of file InstrTypes.h.

Referenced by llvm::UpgradeOperandBundles().


The documentation for this class was generated from the following files: