struct OperandBundleUse
Declaration
struct OperandBundleUse { /* full declaration omitted */ };
Description
A lightweight accessor for an operand bundle meant to be passed around by value.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1069
Member Variables
- public ArrayRef<llvm::Use> Inputs
- private StringMapEntry<uint32_t>* Tag
- Pointer to an entry in LLVMContextImpl::getOrInsertBundleTag.
Method Overview
- public OperandBundleUse()
- public OperandBundleUse(StringMapEntry<uint32_t> * Tag, ArrayRef<llvm::Use> Inputs)
- public uint32_t getTagID() const
- public llvm::StringRef getTagName() const
- public bool isCFGuardTargetOperandBundle() const
- public bool isDeoptOperandBundle() const
- public bool isFuncletOperandBundle() const
- public bool operandHasAttr(unsigned int Idx, Attribute::AttrKind A) const
Methods
¶OperandBundleUse()
OperandBundleUse()
Declared at: llvm/include/llvm/IR/InstrTypes.h:1072
¶OperandBundleUse(StringMapEntry<uint32_t>* Tag,
ArrayRef<llvm::Use> Inputs)
OperandBundleUse(StringMapEntry<uint32_t>* Tag,
ArrayRef<llvm::Use> Inputs)
Declared at: llvm/include/llvm/IR/InstrTypes.h:1073
Parameters
- StringMapEntry<uint32_t>* Tag
- ArrayRef<llvm::Use> Inputs
¶uint32_t getTagID() const
uint32_t getTagID() const
Description
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.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1097
¶llvm::StringRef getTagName() const
llvm::StringRef getTagName() const
Description
Return the tag of this operand bundle as a string.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1088
¶bool isCFGuardTargetOperandBundle() const
bool isCFGuardTargetOperandBundle() const
Description
Return true if this is a "cfguardtarget" operand bundle.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1112
¶bool isDeoptOperandBundle() const
bool isDeoptOperandBundle() const
Description
Return true if this is a "deopt" operand bundle.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1102
¶bool isFuncletOperandBundle() const
bool isFuncletOperandBundle() const
Description
Return true if this is a "funclet" operand bundle.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1107
¶bool operandHasAttr(unsigned int Idx,
Attribute::AttrKind A) const
bool operandHasAttr(unsigned int Idx,
Attribute::AttrKind A) const
Description
Return true if the operand at index \p Idx in this operand bundle has the attribute A.
Declared at: llvm/include/llvm/IR/InstrTypes.h:1078
Parameters
- unsigned int Idx
- Attribute::AttrKind A