Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp97 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind()
292 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
309 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
602 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
642 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
H A DCodeGenFunction.cpp2246 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
2337 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2375 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
2387 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
H A DCGExprAgg.cpp613 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit()
2016 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr()
2346 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
H A DCodeGenTypes.cpp860 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
H A DCGDecl.cpp2398 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
2498 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h192 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h206 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
H A DASTContext.h3018 const ArrayType *getAsArrayType(QualType T) const;
3020 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
3023 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
3026 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
3030 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenTypes.cpp188 if (const auto *at = cgt.getASTContext().getAsArrayType(qt)) in isSafeToConvert()
541 if (const auto *at = astContext.getAsArrayType(t)) { in isZeroInitializable()
H A DCIRGenExprAggregate.cpp125 cgf.getContext().getAsArrayType(arrayQTy)->getElementType(); in emitArrayInit()
H A DCIRGenExprConstant.cpp704 const ArrayType *arrayTy = cgm.getASTContext().getAsArrayType(destType); in tryEmitPrivate()
H A DCIRGenFunction.cpp763 if (isa<VariableArrayType>(getContext().getAsArrayType(ty))) { in emitNullInitialization()
H A DCIRGenExpr.cpp1597 if (getContext().getAsArrayType(e->getType())) { in emitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp99 const ArrayType *AT = getASTContext().getAsArrayType(FieldTy); in CheckCountedByAttrOnField()
H A DSemaInit.cpp161 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
564 SemaRef.Context.getAsArrayType(Entity.getParent()->getType()); in HandleEmbed()
984 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) { in FillInEmptyInitializations()
1571 SemaRef.Context.getAsArrayType(ElemType))) { in CheckSubElementType()
1616 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
2110 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
3213 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
3480 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr()
3644 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
4274 S.Context.getAsArrayType(Initializer->getType())->getElementType(); in TryArrayCopy()
[all …]
H A DSemaTypeTraits.cpp1858 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
1883 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
2446 if (auto *AT = S.Context.getAsArrayType(T)) in DiagnoseIsEmptyReason()
H A DSemaStmtAsm.cpp808 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp2656 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
6289 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType()
6290 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType()
6955 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp115 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
196 while (const auto *AT = getContext().getAsArrayType(Ty)) in computeObjectUnderConstruction()
H A DRegionStore.cpp1325 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
2080 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
H A DMemRegion.cpp890 if (isFlexibleArrayMemberCandidate(Ctx.getAsArrayType(Ty))) in getStaticSize()
H A DExprEngine.cpp1445 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1626 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp702 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
2130 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue()
2390 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType()
2582 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
H A DASTContext.cpp1860 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
6949 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes()
6953 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes()
7626 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()
7627 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity()
7893 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
7984 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
11805 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
11806 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h260 if (const auto *AT = D.getASTContext().getAsArrayType(D.getType())) { in maybeMergeWithAnonymousTag()

123