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

Methods

OperandBundleUse()

Declared at: llvm/include/llvm/IR/InstrTypes.h:1072

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

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

Description

Return the tag of this operand bundle as a string.

Declared at: llvm/include/llvm/IR/InstrTypes.h:1088

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

Description

Return true if this is a "deopt" operand bundle.

Declared at: llvm/include/llvm/IR/InstrTypes.h:1102

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

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