Home
last modified time | relevance | path

Searched refs:arrayType (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1889 const ArrayType *arrayType = origArrayType; in emitArrayLength() local
1894 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
1904 if (!arrayType) { in emitArrayLength()
1908 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
1929 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength()
1935 eltType = arrayType->getElementType(); in emitArrayLength()
1939 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
1940 assert((!llvmArrayType || arrayType) && in emitArrayLength()
1944 if (arrayType) { in emitArrayLength()
1948 while (arrayType) { in emitArrayLength()
[all …]
H A DSwiftCallingConv.cpp75 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->getSize().getZExtValue(); i != e; ++i) { in addTypedData()
H A DCGDecl.cpp2003 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local
2004 if (!arrayType) in emitDestroy()
2007 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy()
2098 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local
2100 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy()
2102 type = arrayType->getElementType(); in emitPartialArrayDestroy()
H A DCGExprCXX.cpp610 if (const ArrayType *arrayType in EmitCXXConstructExpr() local
612 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
H A DCGClass.cpp1875 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument
1880 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
H A DCGObjCMac.cpp5139 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local
5141 fieldType = arrayType->getElementType(); in visitField()
5144 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local
5145 numElts *= arrayType->getSize().getZExtValue(); in visitField()
5146 fieldType = arrayType->getElementType(); in visitField()
H A DCodeGenFunction.h2397 llvm::Value *emitArrayLength(const ArrayType *arrayType,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp137 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local
138 if (!arrayType) in IsStringInit()
140 return IsStringInit(init, arrayType, Context); in IsStringInit()
1295 } else if (const ArrayType *arrayType = in CheckSubElementType() local
1301 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType()
1303 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType()
1691 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local
1695 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType()
1703 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType()
1712 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) { in CheckArrayType()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp132 REGISTER_MATCHER(arrayType); in RegistryMaps()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp808 const AstTypeMatcher<ArrayType> arrayType; variable
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5176 extern const AstTypeMatcher<ArrayType> arrayType;
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp1599 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local
1602 if (isa<VariableArrayType>(arrayType)) in getDeclAlign()
1604 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign()
1605 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h6690 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe())
6691 type = arrayType->getElementType().getTypePtr();
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp4699 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local
4700 ty = arrayType->getElementType(); in getDestructorDecl()