Return an operand bundle by tag name, if present.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

std::optional<OperandBundleUse>
getOperandBundle(StringRef Name) const;

Description

It is an error to call this for operand bundle types that may have multiple instances of them on the same instruction.

Return Value

The matching bundle, or an empty optional if none is present.

Parameters

Name

Description

Name

The operand bundle tag name to look up.

Created with MrDocs