llvm::Constant::getAggregateElement

getAggregateElement overloads

Synopses

Declared in <llvm/IR/Constant.h>

Return the constant for the specified aggregate element, or null.

Constant*
getAggregateElement(unsigned int Elt) const;
» more...

Return the constant for the specified aggregate element, or null.

Constant*
getAggregateElement(Constant* Elt) const;
» more...

Return Value

The constant for the element, or null if unavailable.

Parameters

NameDescription
EltZero-based element index.