Searched refs:arrayType (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1827 const ArrayType *arrayType = origArrayType; local
1832 if (isa<VariableArrayType>(arrayType)) {
1833 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts;
1838 QualType elementType = arrayType->getElementType();
1839 arrayType = getContext().getAsArrayType(elementType);
1842 if (!arrayType) {
1846 } while (isa<VariableArrayType>(arrayType));
1867 assert(isa<ConstantArrayType>(arrayType));
1868 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue()
1873 eltType = arrayType
[all...]
H A DSwiftCallingConv.cpp74 auto arrayType = CGM.getContext().getAsConstantArrayType(type); local
75 if (!arrayType) return;
77 QualType eltType = arrayType->getElementType();
79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) {
H A DCGDecl.cpp2106 const ArrayType *arrayType = getContext().getAsArrayType(type); local
2107 if (!arrayType)
2110 llvm::Value *length = emitArrayLength(arrayType, type, addr);
2201 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) {
2203 if (!isa<VariableArrayType>(arrayType))
2205 type = arrayType->getElementType();
H A DCGExprCXX.cpp621 if (const ArrayType *arrayType
623 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E,
H A DCGExpr.cpp3465 QualType *arrayType = nullptr,
3497 if (arrayType)
3498 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc);
3640 QualType arrayType = Array->getType(); local
3644 E->getExprLoc(), &arrayType, E->getBase());
H A DCGClass.cpp1887 /// \param arrayType the type of the array to initialize
1888 /// \param arrayBegin an arrayType*
1892 const CXXConstructorDecl *ctor, const ArrayType *arrayType,
1897 emitArrayLength(arrayType, elementType, arrayBegin);
1891 EmitCXXAggrConstructorCall( const CXXConstructorDecl *ctor, const ArrayType *arrayType, Address arrayBegin, const CXXConstructExpr *E, bool NewPointerIsChecked, bool zeroInitialize) argument
H A DCGObjCMac.cpp5355 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) {
5357 fieldType = arrayType->getElementType();
5360 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) {
5361 numElts *= arrayType->getSize().getZExtValue();
5362 fieldType = arrayType->getElementType();
H A DCodeGenFunction.h2424 llvm::Value *emitArrayLength(const ArrayType *arrayType,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp137 const ArrayType *arrayType = Context.getAsArrayType(declType); local
138 if (!arrayType)
140 return IsStringInit(init, arrayType, Context);
1389 } else if (const ArrayType *arrayType =
1391 // arrayType can be incomplete if we're initializing a flexible
1395 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) {
1398 CheckStringInit(expr, ElemType, arrayType, SemaRef);
1820 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType);
1823 if (checkDestructorReference(arrayType->getElementType(),
1832 if (IsStringInit(IList->getInit(Index), arrayType, SemaRe
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp864 const AstTypeMatcher<ArrayType> arrayType; member in namespace:clang
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp135 REGISTER_MATCHER(arrayType);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1763 if (const ArrayType *arrayType = getAsArrayType(T)) {
1766 if (isa<VariableArrayType>(arrayType))
1768 else if (isa<ConstantArrayType>(arrayType) &&
1769 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType)))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5561 /// arrayType()
5563 extern const AstTypeMatcher<ArrayType> arrayType;
5597 /// arrayType(hasElementType(builtinType()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5007 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) {
5008 ty = arrayType->getElementType();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h6927 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe())
6928 type = arrayType->getElementType().getTypePtr();

Completed in 530 milliseconds