| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 196 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
|
| H A D | AbstractBasicReader.h | 206 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
|
| H A D | ASTContext.h | 2706 const ArrayType *getAsArrayType(QualType T) const; 2708 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType() 2711 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType() 2714 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType() 2718 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 96 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() 589 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind() 629 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
|
| H A D | CodeGenTypes.cpp | 189 if (const auto *AT = CGT.getContext().getAsArrayType(T)) in isSafeToConvert() 934 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
|
| H A D | CodeGenFunction.cpp | 1974 getContext().getAsArrayType(Ty))) { in EmitNullInitialization() 2066 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 2104 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength() 2117 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
|
| H A D | CGExprAgg.cpp | 483 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit() 1800 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr() 2116 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
|
| H A D | CGDecl.cpp | 2195 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() 2295 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 628 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
|
| H A D | CGExprConstant.cpp | 2158 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 139 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() 1420 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType() 1863 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() 2858 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer() 3127 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr() 3303 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity() 4435 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization() 5825 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom() 5891 = Context.getAsArrayType(Initializer->getType()); in InitializeFrom() 6679 if (const ArrayType *AT = S.Context.getAsArrayType(Entity.getType())) in PerformConstructorInitialization() [all …]
|
| H A D | SemaStmtAsm.cpp | 760 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
|
| H A D | SemaExprCXX.cpp | 2451 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType() 5707 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait() 5732 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait() 6914 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType() 6915 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType() 7577 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
|
| H A D | SemaDecl.cpp | 4332 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes() 4333 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes() 6816 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0); in deduceOpenCLAddressSpace() 6827 Type = QualType(Context.getAsArrayType(Type), 0); in deduceOpenCLAddressSpace() 12429 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind() 12494 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind() 12560 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind() 18160 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
|
| H A D | SemaTemplateDeduction.cpp | 1695 const auto *AA = S.Context.getAsArrayType(A); in DeduceTemplateArgumentsByTypeMatch() 3844 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList()
|
| H A D | SemaCast.cpp | 573 if (auto *AT = Context.getAsArrayType(T)) in unwrapCastAwayConstnessLevel()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 651 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding() 1854 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue() 2103 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType() 2243 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
|
| H A D | ASTContext.cpp | 1779 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() 5998 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes() 6002 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes() 6551 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity() 6552 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity() 6763 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext 6857 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType() 10499 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes() 10500 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
|
| H A D | ItaniumMangle.cpp | 2865 ty = Context.getASTContext().getAsArrayType(T); in mangleType() 5564 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in getLValueType()
|
| H A D | ExprConstant.cpp | 203 const ArrayType *AT = Ctx.getAsArrayType(Type); in findMostDerivedSubobject() 8965 auto *AT = Info.Ctx.getAsArrayType(SubExpr->getType()); in VisitCastExpr() 11528 BaseType = Ctx.getAsArrayType(BaseType)->getElementType(); in isDesignatorAtObjectEnd() 11540 const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd() 13309 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 102 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
|
| H A D | RegionStore.cpp | 1158 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster() 1928 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
|
| H A D | MemRegion.cpp | 786 const ArrayType *AT = Ctx.getAsArrayType(Ty); in getStaticSize()
|
| H A D | ExprEngine.cpp | 1186 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor() 1286 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 3707 const ArrayType *AT = Context->getAsArrayType(Type); in RewriteObjCFieldDecl() 3715 AT = Context->getAsArrayType(AT->getElementType()); in RewriteObjCFieldDecl()
|