Home
last modified time | relevance | path

Searched refs:getAsArrayType (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h193 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h207 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
H A DASTContext.h2727 const ArrayType *getAsArrayType(QualType T) const;
2729 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2732 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2735 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2739 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp96 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind()
279 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
296 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
582 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
622 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
H A DCodeGenFunction.cpp2062 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
2153 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2191 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
2204 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
H A DCGExprAgg.cpp506 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit()
1847 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr()
2162 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
H A DCodeGenTypes.cpp800 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
H A DCGDecl.cpp2265 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
2365 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
H A DCGExprCXX.cpp635 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
H A DCGExprConstant.cpp2176 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp160 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
1430 SemaRef.Context.getAsArrayType(ElemType))) { in CheckSubElementType()
1471 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1923 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
3259 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr()
3425 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
4600 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
5460 S.getASTContext().getAsArrayType(Entity.getType())) { in TryOrBuildParenListInitialization()
6243 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom()
6309 = Context.getAsArrayType(Initializer->getType()); in InitializeFrom()
[all …]
H A DSemaStmtAsm.cpp768 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp2513 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
5946 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
5971 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
7058 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType()
7059 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType()
7721 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
H A DSemaDecl.cpp4489 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
4490 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
7040 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0); in deduceOpenCLAddressSpace()
7051 Type = QualType(Context.getAsArrayType(Type), 0); in deduceOpenCLAddressSpace()
13235 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
13300 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
13366 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
19371 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
H A DSemaTemplateDeduction.cpp1754 const auto *AA = S.Context.getAsArrayType(A); in DeduceTemplateArgumentsByTypeMatch()
4097 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp105 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
186 while (const auto *AT = getContext().getAsArrayType(Ty)) in computeObjectUnderConstruction()
H A DRegionStore.cpp1157 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1921 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
H A DMemRegion.cpp847 if (isFlexibleArrayMemberCandidate(Ctx.getAsArrayType(Ty))) in getStaticSize()
H A DExprEngine.cpp1444 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1625 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp656 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
1975 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue()
2223 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType()
2364 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
H A DASTContext.cpp1675 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
6059 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes()
6063 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes()
6635 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()
6636 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity()
6846 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
6940 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
10740 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
10741 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
H A DItaniumMangle.cpp2982 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
6229 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in getLValueType()
H A DExprConstant.cpp206 const ArrayType *AT = Ctx.getAsArrayType(Type); in findMostDerivedSubobject()
9279 auto *AT = Info.Ctx.getAsArrayType(SubExpr->getType()); in VisitCastExpr()
11864 BaseType = Ctx.getAsArrayType(BaseType)->getElementType(); in isDesignatorAtObjectEnd()
11876 const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd()
13770 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp889 const ArrayType *AT = S.getCtx().getAsArrayType(CurrentType); in InterpretOffsetOf()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5319 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()
5349 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()

12