Home
last modified time | relevance | path

Searched refs:getFieldDesc (Results 1 – 6 of 6) sorted by relevance

/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.h145 if (getFieldDesc()->ElemDesc) in atIndex()
204 if (!getFieldDesc()->isArray()) in narrow()
264 return !isRoot() && getFieldDesc()->asDecl(); in isField()
308 const Descriptor *getFieldDesc() const { in getFieldDesc() function
322 if (const auto *AT = getFieldDesc()->getType()->getAsArrayTypeUnsafe()) in getType()
324 if (const auto *CT = getFieldDesc()->getType()->getAs<ComplexType>()) in getType()
326 if (const auto *CT = getFieldDesc()->getType()->getAs<VectorType>()) in getType()
329 return getFieldDesc()->getType(); in getType()
346 return getFieldDesc()->getElemSize(); in elemSize()
351 return getFieldDesc()->getSize(); in getSize()
[all …]
H A DPointer.cpp166 {Ptr.getFieldDesc()->asDecl(), /*IsVirtual=*/false})); in toAPValue()
168 if (const auto *FD = dyn_cast<FieldDecl>(Ptr.getFieldDesc()->asDecl())) in toAPValue()
186 const Descriptor *Desc = Ptr.getFieldDesc(); in toAPValue()
277 const Descriptor *Desc = getFieldDesc(); in isInitialized()
306 const Descriptor *Desc = getFieldDesc(); in initialize()
381 A.getFieldDesc()->IsArray; in hasSameArray()
423 ActiveField = FP.getFieldDesc()->asFieldDecl(); in toRValue()
511 assert(Ptr.getFieldDesc()->isPrimitiveArray()); in toRValue()
H A DInterpBuiltin.cpp176 assert(A.getFieldDesc()->isPrimitiveArray()); in interp__builtin_strcmp()
177 assert(B.getFieldDesc()->isPrimitiveArray()); in interp__builtin_strcmp()
221 assert(StrPtr.getFieldDesc()->isPrimitiveArray()); in interp__builtin_strlen()
248 assert(Arg.getFieldDesc()->isPrimitiveArray()); in interp__builtin_nan()
1108 assert(Ptr.getFieldDesc()->isPrimitiveArray()); in interp__builtin_ptrauth_string_discriminator()
1110 StringRef R(&Ptr.deref<char>(), Ptr.getFieldDesc()->getNumElems() - 1); in interp__builtin_ptrauth_string_discriminator()
1550 [[maybe_unused]] const Descriptor *SrcDesc = Src.getFieldDesc(); in DoMemcpy()
1551 const Descriptor *DestDesc = Dest.getFieldDesc(); in DoMemcpy()
H A DInterpFrame.cpp152 printDesc(It.getFieldDesc()); in print()
H A DEvaluationResult.cpp189 const Descriptor *Desc = Ptr.getFieldDesc(); in collectBlocks()
H A DInterp.h1288 if (!CheckConstant(S, OpPC, Ptr.getFieldDesc())) in GetGlobal()
2608 ThisPtr.getFieldDesc()->getType()->getAsCXXRecordDecl(); in CallVirt()