|
LLVM
7.0.0
|
A lightweight accessor for an operand bundle meant to be passed around by value. More...
#include "llvm/IR/InstrTypes.h"
Public Member Functions | |
| OperandBundleUse ()=default | |
| OperandBundleUse (StringMapEntry< uint32_t > *Tag, ArrayRef< Use > Inputs) | |
| bool | operandHasAttr (unsigned Idx, Attribute::AttrKind A) const |
Return true if the operand at index Idx in this operand bundle has the attribute A. More... | |
| StringRef | getTagName () const |
| Return the tag of this operand bundle as a string. More... | |
| uint32_t | getTagID () const |
| Return the tag of this operand bundle as an integer. More... | |
| bool | isDeoptOperandBundle () const |
| Return true if this is a "deopt" operand bundle. More... | |
| bool | isFuncletOperandBundle () const |
| Return true if this is a "funclet" operand bundle. More... | |
Public Attributes | |
| ArrayRef< Use > | Inputs |
A lightweight accessor for an operand bundle meant to be passed around by value.
Definition at line 1222 of file InstrTypes.h.
|
default |
|
inlineexplicit |
Definition at line 1226 of file InstrTypes.h.
|
inline |
Return the tag of this operand bundle as an integer.
Operand bundle tags are interned by LLVMContextImpl::getOrInsertBundleTag, and this function returns the unique integer getOrInsertBundleTag associated the tag of this operand bundle to.
Definition at line 1250 of file InstrTypes.h.
References llvm::Tag.
Referenced by CloneInstructionInExitBlock(), llvm::OperandBundleUser< InstTy, User::op_iterator >::getOperandBundle(), getSuccPad(), and llvm::InlineFunction().
|
inline |
Return the tag of this operand bundle as a string.
Definition at line 1241 of file InstrTypes.h.
References llvm::Tag.
Referenced by llvm::OperandBundleUser< InstTy, User::op_iterator >::getOperandBundle(), llvm::OperandBundleDefT< InputTy >::OperandBundleDefT(), and WriteAsOperandInternal().
|
inline |
Return true if this is a "deopt" operand bundle.
Definition at line 1255 of file InstrTypes.h.
References llvm::LLVMContext::OB_deopt.
|
inline |
Return true if this is a "funclet" operand bundle.
Definition at line 1260 of file InstrTypes.h.
References llvm::LLVMContext::OB_funclet, and llvm::Tag.
|
inline |
Return true if the operand at index Idx in this operand bundle has the attribute A.
Definition at line 1231 of file InstrTypes.h.
Definition at line 1223 of file InstrTypes.h.
Referenced by GetDeoptBundleOperands(), getSuccPad(), llvm::InlineFunction(), llvm::OperandBundleDefT< InputTy >::OperandBundleDefT(), and WriteAsOperandInternal().
1.8.13