llvm::Init::convertInitializerBitRange

Select a bit range from this initializer.

Synopsis

Declared in <llvm/TableGen/Record.h>

virtual
Init const*
convertInitializerBitRange(ArrayRef<unsigned int> Bits) const;

Description

Return the specified bits as a new Init of type bits, or null if bit selection is not legal for this value.

Return Value

The selected bits as a new initializer, or null if bit selection is not legal.

Parameters

NameDescription
BitsThe selected bit indices.