Home
last modified time | relevance | path

Searched refs:IsArray (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h151 const bool IsArray = false; member
238 bool isPrimitiveArray() const { return IsArray && !ElemDesc; } in isPrimitiveArray()
240 bool isCompositeArray() const { return IsArray && ElemDesc; } in isCompositeArray()
247 bool isPrimitive() const { return !IsArray && !ElemRecord; } in isPrimitive()
250 bool isArray() const { return IsArray; } in isArray()
252 bool isRecord() const { return !IsArray && ElemRecord; } in isRecord()
H A DDescriptor.cpp153 Desc->IsInitialized = D->IsArray; in initField()
174 Desc->IsInitialized = D->IsArray; in initBase()
305 IsArray(true), CtorFn(getCtorArrayPrim(Type)), in Descriptor()
317 IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
331 IsTemporary(IsTemporary), IsArray(true), CtorFn(ctorArrayDesc), in Descriptor()
342 IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
H A DPointer.h241 if (!Desc->IsArray) in expand()
379 return getFieldDesc()->IsArray; in inArray()
H A DPointer.cpp381 A.getFieldDesc()->IsArray; in hasSameArray()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp37 bool &IsArray) const;
72 bool &IsArray) const { in getExtentSizeOfNewTarget()
78 IsArray = false; in getExtentSizeOfNewTarget()
80 IsArray = true; in getExtentSizeOfNewTarget()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp248 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr()
284 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray, in CXXNewExpr() argument
287 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr()
300 bool IsArray = ArraySize.has_value(); in Create() local
306 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
315 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() argument
320 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
323 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
H A DExprConstant.cpp196 uint64_t &ArraySize, QualType &Type, bool &IsArray, in findMostDerivedSubobject() argument
210 IsArray = true; in findMostDerivedSubobject()
224 IsArray = true; in findMostDerivedSubobject()
229 IsArray = false; in findMostDerivedSubobject()
233 IsArray = false; in findMostDerivedSubobject()
298 bool IsArray = false; in SubobjectDesignator() local
302 MostDerivedType, IsArray, FirstIsUnsizedArray); in SubobjectDesignator()
303 MostDerivedIsArrayElement = IsArray; in SubobjectDesignator()
321 bool IsArray = false; in truncate() local
324 Ctx, Base, Entries, MostDerivedArraySize, MostDerivedType, IsArray, in truncate()
[all …]
H A DDeclCXX.cpp3473 auto IsArray = [&Ctx](MatcherRef Elem, unsigned N) { in isValidStructGUID() local
3505 return IsStruct({IsInt(32), IsInt(16), IsInt(16), IsArray(IsInt(8), 8)})(T); in isValidStructGUID()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h37 IsArray, enumerator
160 KIND(LVScopeKind, IsArray);
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2081 bool IsArray; // new[] ? variable
2086 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
2089 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
2096 if (IsArray) in printLeft()
2116 bool IsArray; variable
2121 IsArray(IsArray_) {} in DeleteExpr()
2124 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
2131 if (IsArray) in printLeft()
2239 bool IsArray; variable
2242 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp808 const TargetList &ActiveTargets, bool IsArray = true) { in serializeField() argument
813 if (!IsArray) { in serializeField()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp101 QualType &Ty, bool &IsArray, unsigned Idx) { in makeElementRegion() argument
111 IsArray = true; in makeElementRegion()
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp339 clEnumValN(LVScopeKind::IsArray, "Array", "Array."),
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1515 bool IsArray = !OriginalBaseTy.isNull() && OriginalBaseTy->isArrayType(); in ActOnArraySectionExpr() local
1516 Diag(ColonLoc, diag::err_acc_subarray_no_length) << IsArray; in ActOnArraySectionExpr()
H A DSemaExprCXX.cpp2699 QualType AllocType, bool IsArray, in FindAllocationFunctions() argument
2745 IsArray ? OO_Array_New : OO_New); in FindAllocationFunctions()
H A DSemaChecking.cpp11641 const bool IsArray = T->isArrayType(); in DiagnoseAlwaysNonNullPointer() local
11650 if (!IsAddressOf && !IsFunction && !IsArray) in DiagnoseAlwaysNonNullPointer()
11669 else if (IsArray) in DiagnoseAlwaysNonNullPointer()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h888 QualType &Ty, bool &IsArray, unsigned Idx = 0);
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2299 CXXNewExpr(EmptyShell Empty, bool IsArray, unsigned NumPlacementArgs,
2314 static CXXNewExpr *CreateEmpty(const ASTContext &Ctx, bool IsArray,
2348 bool isArray() const { return CXXNewExprBits.IsArray; } in isArray()
H A DStmt.h867 unsigned IsArray : 1;
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5224 bool IsArray = Ty->isArrayTy(); in parseFunctionBody() local
5228 if (!IsStruct && !IsArray) in parseFunctionBody()
5234 if (IsArray && Index >= Ty->getArrayNumElements()) in parseFunctionBody()
5271 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody() local
5275 if (!IsStruct && !IsArray) in parseFunctionBody()
5281 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1904 bool IsArray = Record.readInt(); in VisitCXXNewExpr() local
1915 assert((IsArray == E->isArray()) && "Wrong IsArray!"); in VisitCXXNewExpr()
1920 (void)IsArray; in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp84 {LVScopeKind::IsArray, &LVScope::getIsArray},
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def571 TYPE_TRAIT_1(__is_array, IsArray, KEYCXX)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1295 bool IsArray = getContext().getAsArrayType(Type) != nullptr; in EmitOMPReductionClauseInit() local
1299 if (IsArray) { in EmitOMPReductionClauseInit()
1305 RHSVD, IsArray ? GetAddrOfLocalVar(PrivateVD).withElementType( in EmitOMPReductionClauseInit()
H A DCGOpenMPRuntime.cpp9348 llvm::Value *IsArray = MapperCGF.Builder.CreateICmpSGT( in emitUDMapperArrayInitOrDel() local
9368 Cond = MapperCGF.Builder.CreateOr(IsArray, BaseIsBegin); in emitUDMapperArrayInitOrDel()
9372 Cond = IsArray; in emitUDMapperArrayInitOrDel()

12