CodeQL library for C/C++
codeql/cpp-all 0.13.1 (changelog, source)

Member predicate GNUVectorType::getNumElements

Get the number of elements in this vector type.

For vector types declared using Clang’s ext_vector_type, neon_vector_type, or neon_polyvector_type attribute, this is the value which appears within the attribute. For vector types declared using the vector_size attribute, the number of elements is the value in the attribute divided by the size of a single element.

int getNumElements()