llvm::CallBase::getOperandBundlesAsDefs

Copy operand bundles on this call into Defs.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

void
getOperandBundlesAsDefs(SmallVectorImpl<OperandBundleDef>& Defs) const;

Description

This function copies the OperandBundleUse instances associated with this call to a vector of OperandBundleDefs. OperandBundleUses and OperandBundleDefs are non-trivially different representations of operand bundles (see documentation above).

Parameters

NameDescription
DefsOutput vector populated with OperandBundleDef copies.