/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1980 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 1985 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 1986 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts; in emitArrayLength() 1991 QualType elementType = arrayType->getElementType(); in emitArrayLength() 1992 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 1995 if (!arrayType) { in emitArrayLength() 1999 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2020 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 2021 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength() 2026 eltType = arrayType->getElementType(); in emitArrayLength() [all …]
|
H A D | SwiftCallingConv.cpp | 74 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData() local 75 if (!arrayType) return; in addTypedData() 77 QualType eltType = arrayType->getElementType(); in addTypedData() 79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) { in addTypedData()
|
H A D | CGDecl.cpp | 2180 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2181 if (!arrayType) in emitDestroy() 2184 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2276 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2278 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2280 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
H A D | CGExprCXX.cpp | 623 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 625 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
H A D | CGExpr.cpp | 3663 QualType *arrayType = nullptr, in emitArraySubscriptGEP() argument 3695 if (arrayType) in emitArraySubscriptGEP() 3696 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc); in emitArraySubscriptGEP() 3838 QualType arrayType = Array->getType(); in EmitArraySubscriptExpr() local 3842 E->getExprLoc(), &arrayType, E->getBase()); in EmitArraySubscriptExpr()
|
H A D | CGClass.cpp | 1917 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1922 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
H A D | CGObjCMac.cpp | 5401 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5403 fieldType = arrayType->getElementType(); in visitField() 5406 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5407 numElts *= arrayType->getSize().getZExtValue(); in visitField() 5408 fieldType = arrayType->getElementType(); in visitField()
|
H A D | CodeGenFunction.h | 2715 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
/netbsd-src/external/apache2/llvm/dist/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 | 1746 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1749 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1751 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1752 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | ctfe.h | 173 UnionExp changeArrayLiteralLength(Loc loc, TypeArray *arrayType,
|
H A D | ctfeexpr.c | 1780 UnionExp changeArrayLiteralLength(Loc loc, TypeArray *arrayType, in changeArrayLiteralLength() argument 1784 Type *elemType = arrayType->next; in changeArrayLiteralLength() 1816 se->type = arrayType; in changeArrayLiteralLength() 1843 new(&ue) ArrayLiteralExp(loc, arrayType, elements); in changeArrayLiteralLength()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | ctfeexpr.d | 1754 Expression changeArrayLiteralLength(UnionExp* pue, const ref Loc loc, TypeArray arrayType, Expressi… in changeArrayLiteralLength() argument 1756 Type elemType = arrayType.next; in changeArrayLiteralLength() 1794 se.type = arrayType; in changeArrayLiteralLength() 1821 emplaceExp!(ArrayLiteralExp)(pue, loc, arrayType, elements); in changeArrayLiteralLength()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaInit.cpp | 139 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 140 if (!arrayType) in IsStringInit() 142 return IsStringInit(init, arrayType, Context); in IsStringInit() 1419 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1425 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1428 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1863 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1866 if (checkDestructorReference(arrayType->getElementType(), in CheckArrayType() 1875 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1884 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 447 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
|
H A D | CFG.cpp | 5032 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5033 ty = arrayType->getElementType(); in getDestructorDecl()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 140 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 1018 const AstTypeMatcher<ArrayType> arrayType; variable
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | Type.h | 7112 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 7113 type = arrayType->getElementType().getTypePtr();
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
H A D | ChangeLog-2006 | 865 * d-codegen.cc (arrayType): handle zero-length arrays for local
|
H A D | ChangeLog-2013 | 1005 (IRState::arrayType): Replace with d_array_type.
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6375 extern const AstTypeMatcher<ArrayType> arrayType;
|