| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/ |
| H A D | LoweringHelpers.cpp | 65 if (auto arrayType = mlir::dyn_cast<cir::ArrayType>(attr.getType())) { in convertToDenseElementsAttrImpl() local 67 auto intAttr = cir::IntAttr::get(arrayType.getElementType(), element); in convertToDenseElementsAttrImpl() 130 while (auto arrayType = mlir::dyn_cast<cir::ArrayType>(type)) { in lowerConstArrayAttr() local 131 dims.push_back(arrayType.getSize()); in lowerConstArrayAttr() 132 type = arrayType.getElementType(); in lowerConstArrayAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2325 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 2330 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 2331 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts; in emitArrayLength() 2336 QualType elementType = arrayType->getElementType(); in emitArrayLength() 2337 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 2340 if (!arrayType) { in emitArrayLength() 2344 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2365 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 2366 assert(cast<ConstantArrayType>(arrayType)->getZExtSize() == in emitArrayLength() 2371 eltType = arrayType->getElementType(); in emitArrayLength() [all …]
|
| H A D | SwiftCallingConv.cpp | 75 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData() local 76 if (!arrayType) return; in addTypedData() 78 QualType eltType = arrayType->getElementType(); in addTypedData() 80 for (uint64_t i = 0, e = arrayType->getZExtSize(); i != e; ++i) { in addTypedData()
|
| H A D | CGDecl.cpp | 2398 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2399 if (!arrayType) in emitDestroy() 2402 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2498 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2500 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2502 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 642 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 644 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
| H A D | CGExpr.cpp | 4287 QualType *arrayType = nullptr, in emitArraySubscriptGEP() argument 4323 if (arrayType) in emitArraySubscriptGEP() 4324 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc); in emitArraySubscriptGEP() 4592 QualType arrayType = Array->getType(); in EmitArraySubscriptExpr() local 4596 E->getExprLoc(), &arrayType, E->getBase()); in EmitArraySubscriptExpr()
|
| H A D | CGObjCMac.cpp | 5231 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5233 fieldType = arrayType->getElementType(); in visitField() 5236 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5237 numElts *= arrayType->getZExtSize(); in visitField() 5238 fieldType = arrayType->getElementType(); in visitField()
|
| H A D | CGClass.cpp | 1988 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1993 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
| H A D | CodeGenFunction.h | 3083 llvm::Value *emitArrayLength(const ArrayType *arrayType, QualType &baseType,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 138 while (const auto *arrayType = type->getAsArrayTypeUnsafe()) { in getArrayDepth() local 140 type = arrayType->getElementType(); in getArrayDepth()
|
| H A D | ASTContext.cpp | 1860 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1863 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1865 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1866 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 161 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 162 if (!arrayType) in IsStringInit() 164 return IsStringInit(init, arrayType, Context); in IsStringInit() 1615 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1621 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1624 CheckStringInit(expr, ElemType, arrayType, SemaRef, Entity, in CheckSubElementType() 2110 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 2113 if (checkDestructorReference(arrayType->getElementType(), in CheckArrayType() 2128 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 2138 IList->getInit(Index), DeclType, arrayType, SemaRef, Entity, in CheckArrayType() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 580 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
|
| H A D | CFG.cpp | 5425 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5426 ty = arrayType->getElementType(); in getDestructorDecl() 5455 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5456 ty = arrayType->getElementType(); in getDestructorDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 140 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1077 const AstTypeMatcher<ArrayType> arrayType; variable
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 8888 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 8889 type = arrayType->getElementType().getTypePtr();
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 7088 extern const AstTypeMatcher<ArrayType> arrayType;
|