Home
last modified time | relevance | path

Searched refs:StorageKind (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DPointer.h95 StorageKind = Storage::Int; in Pointer()
99 Pointer(IntPointer &&IntPtr) : StorageKind(Storage::Int) { in Pointer()
107 : Offset(Offset), StorageKind(Storage::Int) { in Offset()
112 : Offset(Offset), StorageKind(Storage::Fn) { in Offset()
116 : Offset(Offset), StorageKind(Storage::Typeid) { in Offset()
128 if (P.StorageKind != StorageKind)
482 bool isBlockPointer() const { return StorageKind == Storage::Block; } in isBlockPointer()
483 bool isIntegralPointer() const { return StorageKind == Storage::Int; } in isIntegralPointer()
484 bool isFunctionPointer() const { return StorageKind == Storage::Fn; } in isFunctionPointer()
485 bool isTypeidPointer() const { return StorageKind == Storage::Typeid; } in isTypeidPointer()
[all …]
H A DPointer.cpp33 : Offset(P.Offset), StorageKind(P.StorageKind), in Pointer()
41 : Offset(Offset), StorageKind(Storage::Block) { in Pointer()
51 : Offset(P.Offset), StorageKind(P.StorageKind), in Pointer()
54 if (StorageKind == Storage::Block && PointeeStorage.BS.Pointee) in Pointer()
86 StorageKind = P.StorageKind; in operator =()
123 StorageKind = P.StorageKind; in operator =()
303 switch (StorageKind) { in print()
560 if (A.StorageKind != B.StorageKind) in hasSameBase()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp322 ConstantExpr::ConstantExpr(Expr *SubExpr, ConstantResultStorageKind StorageKind, in ConstantExpr() argument
325 ConstantExprBits.ResultKind = llvm::to_underlying(StorageKind); in ConstantExpr()
332 if (StorageKind == ConstantResultStorageKind::APValue) in ConstantExpr()
337 ConstantResultStorageKind StorageKind, in Create() argument
340 AssertResultStorageKind(StorageKind); in Create()
343 StorageKind == ConstantResultStorageKind::APValue, in Create()
344 StorageKind == ConstantResultStorageKind::Int64); in Create()
346 return new (Mem) ConstantExpr(E, StorageKind, IsImmediateInvocation); in Create()
351 ConstantResultStorageKind StorageKind = getStorageKind(Result); in Create() local
352 ConstantExpr *Self = Create(Context, E, StorageKind); in Create()
[all …]
H A DDecl.cpp4768 assert(StorageKind == ISK_NoInit && !BitField && in setCapturedVLAType()
4771 StorageKind = ISK_CapturedVLAType; in setCapturedVLAType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3162 unsigned StorageKind : 2;
3198 Mutable(Mutable), StorageKind((InitStorageKind)InitStyle), in FieldDecl()
3303 return (StorageKind == ISK_CapturedVLAType ? ICIS_NoInit in getInClassInitStyle()
3304 : (InClassInitStyle)StorageKind); in getInClassInitStyle()
3337 StorageKind = ISK_NoInit; in removeInClassInitializer()
3348 return StorageKind == ISK_CapturedVLAType; in hasCapturedVLAType()
H A DExpr.h1112 ConstantExpr(Expr *SubExpr, ConstantResultStorageKind StorageKind,
1114 ConstantExpr(EmptyShell Empty, ConstantResultStorageKind StorageKind);
1124 ConstantResultStorageKind StorageKind);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp551 auto StorageKind = static_cast<ConstantResultStorageKind>(Record.readInt()); in VisitConstantExpr() local
552 assert(E->getResultStorageKind() == StorageKind && "Wrong ResultKind!"); in VisitConstantExpr()
560 switch (StorageKind) { in VisitConstantExpr()
H A DASTWriterDecl.cpp1208 Record.push_back((D->StorageKind << 1) | D->BitField); in VisitFieldDecl()
1209 if (D->StorageKind == FieldDecl::ISK_CapturedVLAType) in VisitFieldDecl()
H A DASTReaderDecl.cpp1536 FD->StorageKind = Bits >> 1; in VisitFieldDecl()
1537 if (FD->StorageKind == FieldDecl::ISK_CapturedVLAType) in VisitFieldDecl()