[OperandBundles] Refactor; NFCI
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 4 Nov 2015 04:31:06 +0000 (04:31 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 4 Nov 2015 04:31:06 +0000 (04:31 +0000)
commit2d37340ead9438eb7a14170ca8c199e8d68b7825
tree0b071a29bfd34df67b7a1071bb6162778b15c235
parent6aa2679f6a00e885ddd8ca8f3797e837167f3030
[OperandBundles] Refactor; NFCI

Intended to make later changes simpler.  Exposes
`getBundleOperandsStartIndex` and `getBundleOperandsEndIndex`, and uses
them for the computation in `getNumTotalBundleOperands`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252037 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/InstrTypes.h