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

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1828 const ArrayType *arrayType = origArrayType; local
1833 if (isa<VariableArrayType>(arrayType)) {
1834 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts;
1839 QualType elementType = arrayType->getElementType();
1840 arrayType = getContext().getAsArrayType(elementType);
1843 if (!arrayType) {
1847 } while (isa<VariableArrayType>(arrayType));
1868 assert(isa<ConstantArrayType>(arrayType));
1869 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue()
1874 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.cpp2122 const ArrayType *arrayType = getContext().getAsArrayType(type); local
2123 if (!arrayType)
2126 llvm::Value *length = emitArrayLength(arrayType, type, addr);
2217 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) {
2219 if (!isa<VariableArrayType>(arrayType))
2221 type = arrayType->getElementType();
H A DCGExprCXX.cpp621 if (const ArrayType *arrayType
623 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E,
H A DCGExpr.cpp3584 QualType *arrayType = nullptr,
3616 if (arrayType)
3617 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc);
3759 QualType arrayType = Array->getType(); local
3763 E->getExprLoc(), &arrayType, E->getBase());
H A DCGClass.cpp1909 /// \param arrayType the type of the array to initialize
1910 /// \param arrayBegin an arrayType*
1914 const CXXConstructorDecl *ctor, const ArrayType *arrayType,
1919 emitArrayLength(arrayType, elementType, arrayBegin);
1913 EmitCXXAggrConstructorCall( const CXXConstructorDecl *ctor, const ArrayType *arrayType, Address arrayBegin, const CXXConstructExpr *E, bool NewPointerIsChecked, bool zeroInitialize) argument
H A DCGObjCMac.cpp5383 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) {
5385 fieldType = arrayType->getElementType();
5388 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) {
5389 numElts *= arrayType->getSize().getZExtValue();
5390 fieldType = arrayType->getElementType();
H A DCodeGenFunction.h2632 llvm::Value *emitArrayLength(const ArrayType *arrayType,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp138 const ArrayType *arrayType = Context.getAsArrayType(declType); local
139 if (!arrayType)
141 return IsStringInit(init, arrayType, Context);
1397 } else if (const ArrayType *arrayType =
1399 // arrayType can be incomplete if we're initializing a flexible
1403 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) {
1406 CheckStringInit(expr, ElemType, arrayType, SemaRef);
1837 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType);
1840 if (checkDestructorReference(arrayType->getElementType(),
1849 if (IsStringInit(IList->getInit(Index), arrayType, SemaRe
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp139 REGISTER_MATCHER(arrayType);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp974 const AstTypeMatcher<ArrayType> arrayType;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5796 /// arrayType()
5798 extern const AstTypeMatcher<ArrayType> arrayType;
5832 /// arrayType(hasElementType(builtinType()))
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1717 if (const ArrayType *arrayType = getAsArrayType(T)) {
1720 if (isa<VariableArrayType>(arrayType))
1722 else if (isa<ConstantArrayType>(arrayType) &&
1723 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType)))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h7075 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe())
7076 type = arrayType->getElementType().getTypePtr();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5031 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) {
5032 ty = arrayType->getElementType();

Completed in 268 milliseconds