Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h113 const bool IsArray = false; member
185 bool isPrimitiveArray() const { return IsArray && !ElemDesc; } in isPrimitiveArray()
187 bool isCompositeArray() const { return IsArray && ElemDesc; } in isCompositeArray()
194 bool isPrimitive() const { return !IsArray && !ElemRecord; } in isPrimitive()
197 bool isArray() const { return IsArray; } in isArray()
199 bool isRecord() const { return !IsArray && ElemRecord; } in isRecord()
H A DDescriptor.cpp143 Desc->IsInitialized = F->IsArray && !IsBase; in ctorRecord()
247 IsMutable(IsMutable), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
258 IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
272 IsTemporary(IsTemporary), IsArray(true), CtorFn(ctorArrayDesc), in Descriptor()
283 IsConst(true), IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
H A DPointer.h189 if (!Desc->IsArray) in expand()
274 bool inArray() const { return getFieldDesc()->IsArray; } in inArray()
H A DPointer.cpp231 return hasSameBase(A, B) && A.Base == B.Base && A.getFieldDesc()->IsArray; in hasSameArray()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp201 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr()
237 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray, in CXXNewExpr() argument
240 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr()
253 bool IsArray = ArraySize.has_value(); in Create() local
259 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
268 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() argument
273 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
276 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
H A DExprConstant.cpp209 IsArray = true; in findMostDerivedSubobject()
223 IsArray = true; in findMostDerivedSubobject()
228 IsArray = false; in findMostDerivedSubobject()
232 IsArray = false; in findMostDerivedSubobject()
293 bool IsArray = false; in SubobjectDesignator() local
298 MostDerivedIsArrayElement = IsArray; in SubobjectDesignator()
316 bool IsArray = false; in truncate() local
321 MostDerivedIsArrayElement = IsArray; in truncate()
482 if (IsArray) in adjustIndex()
4011 bool IsArray = A.MostDerivedIsArrayElement; in AreElementsOfSameArray() local
[all …]
H A DDeclCXX.cpp3439 auto IsArray = [&Ctx](MatcherRef Elem, unsigned N) { in isValidStructGUID() local
3470 return IsStruct({IsInt(32), IsInt(16), IsInt(16), IsArray(IsInt(8), 8)})(T); in isValidStructGUID()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h37 IsArray, enumerator
160 KIND(LVScopeKind, IsArray);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2082 bool IsArray; // new[] ? variable
2087 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
2090 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
2097 if (IsArray) in printLeft()
2117 bool IsArray; variable
2122 IsArray(IsArray_) {} in DeleteExpr()
2125 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
2132 if (IsArray) in printLeft()
2240 bool IsArray; variable
2243 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
[all …]
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp339 clEnumValN(LVScopeKind::IsArray, "Array", "Array."),
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h896 QualType &Ty, bool &IsArray, unsigned Idx = 0);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2283 CXXNewExpr(EmptyShell Empty, bool IsArray, unsigned NumPlacementArgs,
2298 static CXXNewExpr *CreateEmpty(const ASTContext &Ctx, bool IsArray,
2332 bool isArray() const { return CXXNewExprBits.IsArray; } in isArray()
H A DStmt.h860 unsigned IsArray : 1; in alignas()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5047 bool IsArray = Ty->isArrayTy(); in parseFunctionBody() local
5051 if (!IsStruct && !IsArray) in parseFunctionBody()
5057 if (IsArray && Index >= Ty->getArrayNumElements()) in parseFunctionBody()
5094 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody() local
5098 if (!IsStruct && !IsArray) in parseFunctionBody()
5104 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1896 bool IsArray = Record.readInt(); in VisitCXXNewExpr() local
1907 assert((IsArray == E->isArray()) && "Wrong IsArray!"); in VisitCXXNewExpr()
1912 (void)IsArray; in VisitCXXNewExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp84 {LVScopeKind::IsArray, &LVScope::getIsArray},
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def549 TYPE_TRAIT_1(__is_array, IsArray, KEYCXX)
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1270 bool IsArray = getContext().getAsArrayType(Type) != nullptr; in EmitOMPReductionClauseInit() local
1274 if (IsArray) { in EmitOMPReductionClauseInit()
1280 RHSVD, IsArray ? GetAddrOfLocalVar(PrivateVD).withElementType( in EmitOMPReductionClauseInit()
H A DCGOpenMPRuntime.cpp9287 llvm::Value *IsArray = MapperCGF.Builder.CreateICmpSGT( in emitUDMapperArrayInitOrDel() local
9307 Cond = MapperCGF.Builder.CreateOr(IsArray, BaseIsBegin); in emitUDMapperArrayInitOrDel()
9311 Cond = IsArray; in emitUDMapperArrayInitOrDel()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp2674 QualType AllocType, bool IsArray, in FindAllocationFunctions() argument
2720 IsArray ? OO_Array_New : OO_New); in FindAllocationFunctions()
H A DSemaChecking.cpp16526 const bool IsArray = T->isArrayType(); in DiagnoseAlwaysNonNullPointer() local
16535 if (!IsAddressOf && !IsFunction && !IsArray) in DiagnoseAlwaysNonNullPointer()
16554 else if (IsArray) in DiagnoseAlwaysNonNullPointer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6913 QualType AllocType, bool IsArray,