Lines Matching refs:Pointer
89 const auto &Ptr = S.Stk.pop<Pointer>(); in BCP()
210 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary()
235 static bool CheckGlobal(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckGlobal()
293 bool isConstexprUnknown(const Pointer &P) { in isConstexprUnknown()
303 bool CheckBCPResult(InterpState &S, const Pointer &Ptr) { in CheckBCPResult()
323 bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive()
331 Pointer U = Ptr.getBase(); in CheckActive()
332 Pointer C = Ptr; in CheckActive()
372 const Pointer &Field = U.atField(F.Offset); in CheckActive()
385 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckExtern()
402 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckArray()
410 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive()
496 static bool CheckConstant(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckConstant()
504 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull()
515 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckRange()
527 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckRange()
537 bool CheckSubobject(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckSubobject()
548 bool CheckDowncast(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckDowncast()
568 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckConst()
587 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckMutable()
612 static bool CheckVolatile(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckVolatile()
624 Pointer P = Ptr; in CheckVolatile()
655 bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckInitialized()
697 static bool CheckLifetime(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLifetime()
709 bool CheckGlobalInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckGlobalInitialized()
726 static bool CheckWeak(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckWeak()
739 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLoad()
770 bool CheckFinalLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckFinalLoad()
797 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckStore()
817 bool CheckInvoke(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckInvoke()
829 bool CheckInit(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckInit()
950 bool CheckThis(InterpState &S, CodePtr OpPC, const Pointer &This) { in CheckThis()
1042 const Pointer &Ptr) { in CheckDeleteSource()
1074 bool CheckDummy(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckDummy()
1102 const Pointer &ArgPtr = S.Stk.peek<Pointer>(ArgSize - Offset); in CheckNonNullArgs()
1117 const Pointer &BasePtr, in runRecordDestructor()
1123 if (Pointer::pointToSameBlock(BasePtr, S.Current->getThis()) && in runRecordDestructor()
1137 S.Stk.push<Pointer>(BasePtr); in runRecordDestructor()
1160 Pointer RP(const_cast<Block *>(B)); in RunDestructors()
1169 return runRecordDestructor(S, OpPC, Pointer(const_cast<Block *>(B)), Desc); in RunDestructors()
1191 Pointer Ptr = S.Stk.pop<Pointer>(); in Free()
1333 static bool getField(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in getField()
1347 S.Stk.push<Pointer>(Ptr.asIntPointer().atOffset(S.getASTContext(), Off)); in getField()
1364 S.Stk.push<Pointer>(Ptr.atField(Off)); in getField()
1369 const auto &Ptr = S.Stk.peek<Pointer>(); in GetPtrField()
1374 const auto &Ptr = S.Stk.pop<Pointer>(); in GetPtrFieldPop()
1379 const Pointer &ThisPtr) { in checkConstructor()
1399 bool CheckDestructor(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckDestructor()
1427 const Pointer &ThisPtr = S.Stk.peek<Pointer>(ThisOffset); in CallVar()
1483 const Pointer &ThisPtr = S.Stk.peek<Pointer>(ThisOffset); in Call()
1564 Pointer &ThisPtr = S.Stk.peek<Pointer>(ThisOffset); in CallVirt()
1583 Pointer TypePtr = ThisPtr; in CallVirt()
1660 const Pointer &Ptr = S.Stk.pop<Pointer>(); in CallPtr()
1705 static void startLifetimeRecurse(const Pointer &Ptr) { in startLifetimeRecurse()
1725 const auto &Ptr = S.Stk.peek<Pointer>(); in StartLifetime()
1734 static void endLifetimeRecurse(const Pointer &Ptr) { in endLifetimeRecurse()
1756 const auto &Ptr = S.Stk.peek<Pointer>(); in EndLifetime()
1765 const auto &Ptr = S.Stk.pop<Pointer>(); in EndLifetimePop()
1774 const Pointer &Ptr = S.Stk.peek<Pointer>(); in CheckNewTypeMismatch()
1786 for (Pointer P = Ptr;;) { in CheckNewTypeMismatch()
1910 const Pointer &Ptr, unsigned BitWidth) { in CheckPointerToIntegralCast()
1930 const Pointer &Ptr = S.Stk.pop<Pointer>(); in CastPointerIntegralAP()
1943 const Pointer &Ptr = S.Stk.pop<Pointer>(); in CastPointerIntegralAPS()
1974 S.Stk.push<Pointer>(TypePtr, TypeInfoType); in GetTypeid()
1979 const auto &P = S.Stk.pop<Pointer>(); in GetTypeidPtr()
1999 S.Stk.push<Pointer>(T->getCanonicalTypeUnqualified().getTypePtr(), in GetTypeidPtr()
2012 bool arePotentiallyOverlappingStringLiterals(const Pointer &LHS, in arePotentiallyOverlappingStringLiterals()
2013 const Pointer &RHS) { in arePotentiallyOverlappingStringLiterals()
2057 static void copyPrimitiveMemory(InterpState &S, const Pointer &Ptr, in copyPrimitiveMemory()
2082 static void copyPrimitiveMemory(InterpState &S, const Pointer &Ptr) { in copyPrimitiveMemory()
2091 static void finishGlobalRecurse(InterpState &S, const Pointer &Ptr) { in finishGlobalRecurse()
2115 const Pointer EP = Ptr.atIndex(0); in finishGlobalRecurse()
2126 const Pointer EP = Ptr.atIndex(I); in finishGlobalRecurse()
2132 const Pointer EP = Ptr.atIndex(I).narrow(); in finishGlobalRecurse()
2140 const Pointer &Ptr = S.Stk.pop<Pointer>(); in FinishInitGlobal()