Lines Matching refs:ElementIndex
291 llvm::APSInt elementIndex,
1223 llvm::APSInt elementIndex,
1264 llvm::APSInt maxElements(elementIndex.getBitWidth(),
1265 elementIndex.isUnsigned());
1269 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
1270 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1284 // Handle this designated initializer. elementIndex will be
1287 DeclType, 0, &elementIndex, Index,
1294 if (elementIndex.getBitWidth() > maxElements.getBitWidth())
1295 maxElements = maxElements.extend(elementIndex.getBitWidth());
1296 else if (elementIndex.getBitWidth() < maxElements.getBitWidth())
1297 elementIndex = elementIndex.extend(maxElements.getBitWidth());
1298 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1302 if (!maxElementsKnown && elementIndex > maxElements)
1303 maxElements = elementIndex;
1310 if (maxElementsKnown && elementIndex == maxElements)
1319 ++elementIndex;
1323 if (!maxElementsKnown && elementIndex > maxElements)
1324 maxElements = elementIndex;
1344 if (maxElementsKnown && elementIndex < maxElements)
2147 unsigned ElementIndex = DesignatedStartIndex.getZExtValue();
2158 ElementEntity.setElementIndex(ElementIndex);
2161 StructuredList, ElementIndex,
2168 ElementIndex = DesignatedStartIndex.getZExtValue();
2176 StructuredIndex = ElementIndex;
2187 StructuredList, ElementIndex);