This function is used to implement the bit range selection operator. Given a value, it selects the specified bits, returning them as a new Init of type bits. If it is not legal to use the bit selection operator on this value, null is returned.
Declared in <llvm/TableGen/Record.h>
virtual
Init const*
convertInitializerBitRange(ArrayRef<unsigned int> Bits) const;
| Name | Description |
|---|---|
| Bits | Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently. |