reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Type.h
 3256     Profile(ID, getElementType(), getNumElements(),
 3379       return unsigned(idx-1) < getNumElements();
tools/clang/lib/AST/ASTContext.cpp
 1846     Width = EltInfo.Width * VT->getNumElements();
 7940          LHS->getNumElements() == RHS->getNumElements();
 7940          LHS->getNumElements() == RHS->getNumElements();
 7955   if (First->getNumElements() == Second->getNumElements() &&
 7955   if (First->getNumElements() == Second->getNumElements() &&
 9315                          VTy->getNumElements(), VTy->getVectorKind());
tools/clang/lib/AST/ASTDiagnostic.cpp
  307       const char *Values = VTy->getNumElements() > 1 ? "values" : "value";
  308       OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
tools/clang/lib/AST/ASTImporter.cpp
 1164                                                T->getNumElements(),
 1174                                                   T->getNumElements());
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  619     if (Vec1->getNumElements() != Vec2->getNumElements())
  619     if (Vec1->getNumElements() != Vec2->getNumElements())
tools/clang/lib/AST/Expr.cpp
 4040     return VT->getNumElements();
tools/clang/lib/AST/ExprConstant.cpp
 9231       assert(V.size() == E->getType()->castAs<VectorType>()->getNumElements());
 9261   unsigned NElts = VTy->getNumElements();
 9333   unsigned NumElements = VT->getNumElements();
 9389   SmallVector<APValue, 4> Elements(VT->getNumElements(), ZeroElement);
11915       unsigned n = Ty->castAs<VectorType>()->getNumElements();
tools/clang/lib/AST/ItaniumMangle.cpp
 3082   unsigned BitSize = (T->getNumElements() *
 3140       (T->getNumElements() * getASTContext().getTypeSize(EltType));
 3166       ("__" + EltName + "x" + Twine(T->getNumElements()) + "_t").str();
 3198   Out << "Dv" << T->getNumElements() << '_';
tools/clang/lib/AST/JSONNodeDumper.cpp
  585   JOS.attribute("numElements", VT->getNumElements());
tools/clang/lib/AST/MicrosoftMangle.cpp
 2723     Extra.mangleIntegerLiteral(llvm::APSInt::getUnsigned(T->getNumElements()),
tools/clang/lib/AST/ODRHash.cpp
 1096     ID.AddInteger(T->getNumElements());
tools/clang/lib/AST/PrintfFormatString.cpp
  735       VectorNumElts = OptionalAmount(VT->getNumElements());
tools/clang/lib/AST/TextNodeDumper.cpp
 1128   OS << " " << T->getNumElements();
tools/clang/lib/AST/Type.cpp
  941     return Ctx.getVectorType(elementType, T->getNumElements(),
  953     return Ctx.getExtVectorType(elementType, T->getNumElements());
tools/clang/lib/AST/TypePrinter.cpp
  635        << T->getNumElements() << "))) ";
  640           T->getNumElements() << "))) ";
  647        << T->getNumElements()
  717   OS << T->getNumElements();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2611   int64_t Count = Ty->getNumElements();
tools/clang/lib/CodeGen/CGExpr.cpp
  932     return CGF.Builder.getInt32(VT->getNumElements());
 1868   unsigned NumResultElts = ExprVT->getNumElements();
 2102     unsigned NumSrcElts = VTy->getNumElements();
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  609                                        VT->getNumElements());
tools/clang/lib/CodeGen/TargetInfo.cpp
 1408           (Size == 64 && VT->getNumElements() == 1))
 1714           (Size == 64 && VT->getNumElements() == 1))
 4399       unsigned NumElements = VT->getNumElements();
 5257     unsigned NumElements = VT->getNumElements();
 6191       unsigned NumElements = VT->getNumElements();
 6197       unsigned NumElements = VT->getNumElements();
 7725       return (VT->getNumElements() + 1) / 2;
 7728     return EltNumRegs * VT->getNumElements();
tools/clang/lib/Index/USRGeneration.cpp
  865       Out << VT->getNumElements();
tools/clang/lib/Sema/SemaChecking.cpp
 5895     numElements = LHSType->castAs<VectorType>()->getNumElements();
 5903           RHSType->castAs<VectorType>()->getNumElements() != numElements)
 5973     unsigned SrcElts = SrcTy->castAs<VectorType>()->getNumElements();
 5974     unsigned DstElts = DstTy->castAs<VectorType>()->getNumElements();
tools/clang/lib/Sema/SemaDeclAttr.cpp
 4023                            OldVT->getNumElements() /
tools/clang/lib/Sema/SemaDeclCXX.cpp
  926       S, Bindings, Src, DecompType, llvm::APSInt::get(VT->getNumElements()),
tools/clang/lib/Sema/SemaExpr.cpp
 6484     len = vecType->getNumElements();
 6751   unsigned numElems = VTy->getNumElements();
 7208   unsigned NumElements = CV->getNumElements();
 7259   if (CV->getNumElements() != RV->getNumElements()) {
 7259   if (CV->getNumElements() != RV->getNumElements()) {
 8242       if (VecType && VecType->getNumElements() == 1 &&
 8828                                               VecTy->getNumElements(),
 9050       LHSVecType->getNumElements() == RHSVecType->getNumElements() &&
 9050       LHSVecType->getNumElements() == RHSVecType->getNumElements() &&
 9115                (OtherType->isScalarType() && VT->getNumElements() == 1)) {
 9929         S.Context.getExtVectorType(LHSEleType, RHSVecTy->getNumElements());
 9936     if (RHSVecTy->getNumElements() != LHSVecTy->getNumElements()) {
 9936     if (RHSVecTy->getNumElements() != LHSVecTy->getNumElements()) {
 9955       S.Context.getExtVectorType(RHSEleType, LHSVecTy->getNumElements());
11095       return Context.getExtVectorType(Context.CharTy, VTy->getNumElements());
11097       return Context.getExtVectorType(Context.ShortTy, VTy->getNumElements());
11099       return Context.getExtVectorType(Context.IntTy, VTy->getNumElements());
11101       return Context.getExtVectorType(Context.LongTy, VTy->getNumElements());
11104     return Context.getExtVectorType(Context.LongLongTy, VTy->getNumElements());
11108     return Context.getVectorType(Context.LongLongTy, VTy->getNumElements(),
11111     return Context.getVectorType(Context.LongTy, VTy->getNumElements(),
11114     return Context.getVectorType(Context.IntTy, VTy->getNumElements(),
11117     return Context.getVectorType(Context.ShortTy, VTy->getNumElements(),
11121   return Context.getVectorType(Context.CharTy, VTy->getNumElements(),
tools/clang/lib/Sema/SemaExprMember.cpp
  406   unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2
tools/clang/lib/Sema/SemaInit.cpp
  846     NumElements = VType->getNumElements();
 1036     maxElements = T->castAs<VectorType>()->getNumElements();
 1640   unsigned maxElements = VT->getNumElements();
 1766       unsigned numIElts = IVT->getNumElements();
 3063     NumElements = VType->getNumElements();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 1915         if (VectorParam->getNumElements() != VectorArg->getNumElements())
 1915         if (VectorParam->getNumElements() != VectorArg->getNumElements())
 1959         ArgSize = VectorArg->getNumElements();
 2012         ArgSize = VectorArg->getNumElements();
tools/clang/lib/Sema/TreeTransform.h
 5059     Result = getDerived().RebuildVectorType(ElementType, T->getNumElements(),
 5083                                                T->getNumElements(),
tools/clang/lib/Serialization/ASTWriter.cpp
  260   Record.push_back(T->getNumElements());
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 2310   unsigned index = 0, numElements = VT->getNumElements();
tools/clang/tools/libclang/CXType.cpp
  835       result = cast<VectorType> (TP)->getNumElements();
  838       result = cast<ExtVectorType>(TP)->getNumElements();
tools/lldb/source/Symbol/ClangASTContext.cpp
 2926         *size = vector_type->getNumElements();
 2938         *size = ext_vector_type->getNumElements();
 3566         count = VT->getNumElements();
 5625         llvm::cast<clang::VectorType>(qual_type.getTypePtr())->getNumElements();