Home
last modified time | relevance | path

Searched refs:MemPtr (Results 1 – 24 of 24) sorted by relevance

/external/clang/test/SemaTemplate/
Dexplicit-instantiation.cpp43 typedef int X1::*MemPtr; typedef
45 template MemPtr X0<MemPtr>::f0(MemPtr); // expected-note{{requested here}}
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_1_2_3.pass.cpp215 typedef CallSig (ClassType::*MemPtr); in runTest()
217 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
218 b.runTest( (MemPtr)&ClassType::f, obj); in runTest()
225 typedef CallSig (ClassType::*MemPtr); in runTest()
227 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
228 b.runTest( (MemPtr)&ClassType::f, obj); in runTest()
235 typedef CallSig (ClassType::*MemPtr); in runTest()
237 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
238 b.runTest( (MemPtr)&ClassType::f, obj); in runTest()
Dbullet_4_5_6.pass.cpp76 typedef ObjectType (TestType::*MemPtr); in doTest()
78 MemPtr M = &TestType::object; in doTest()
/external/clang/test/SemaCXX/
Dmember-pointer-ms.cpp188 typedef int MemPtrInBody::*MemPtr; typedef
190 operator MemPtr() const { in operator MemPtr()
195 static_assert(sizeof(MemPtrInBody::MemPtr) == kSingleDataSize, "");
Dconstexpr-printing.cpp71 constexpr int MemPtr(int (MemPtrTest::*a), void (MemPtrTest::*b)(), int &c) { in MemPtr() function
74 static_assert(MemPtr(&MemPtrTest::n, &MemPtrTest::f, mpt.*&MemPtrTest::n), ""); // expected-error {…
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-vmemptr-vbase.cpp10 void (B::*MemPtr)(void) = &B::f; variable
/external/clang/lib/CodeGen/
DCGCXXABI.cpp79 llvm::Value *MemPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer() argument
94 Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument
126 llvm::Value *MemPtr, in EmitMemberPointerIsNotNull() argument
DCGCXXABI.h159 llvm::Value *&ThisPtrForCall, llvm::Value *MemPtr,
165 Address Base, llvm::Value *MemPtr,
212 llvm::Value *MemPtr,
DItaniumCXXABI.cpp126 llvm::Value *MemPtr,
611 CodeGenFunction &CGF, const Expr *E, Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument
613 assert(MemPtr->getType() == CGM.PtrDiffTy); in EmitMemberDataPointerAddress()
622 Builder.CreateInBoundsGEP(Base.getPointer(), MemPtr, "memptr.offset"); in EmitMemberDataPointerAddress()
792 llvm::Constant *MemPtr[2]; in BuildMemberPointer() local
808 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset); in BuildMemberPointer()
809 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer()
816 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset + 1); in BuildMemberPointer()
817 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer()
834 MemPtr[0] = llvm::ConstantExpr::getPtrToInt(addr, CGM.PtrDiffTy); in BuildMemberPointer()
[all …]
DMicrosoftCXXABI.cpp637 llvm::Value *MemPtr,
642 Address Base, llvm::Value *MemPtr,
666 llvm::Value *MemPtr,
2780 llvm::Value *MemPtr, in EmitMemberPointerIsNotNull() argument
2790 llvm::Value *FirstField = MemPtr; in EmitMemberPointerIsNotNull()
2791 if (MemPtr->getType()->isStructTy()) in EmitMemberPointerIsNotNull()
2792 FirstField = Builder.CreateExtractValue(MemPtr, 0); in EmitMemberPointerIsNotNull()
2802 llvm::Value *Field = Builder.CreateExtractValue(MemPtr, I); in EmitMemberPointerIsNotNull()
2936 CodeGenFunction &CGF, const Expr *E, Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument
2948 llvm::Value *FieldOffset = MemPtr; in EmitMemberDataPointerAddress()
[all …]
DCGExprScalar.cpp1553 llvm::Value *MemPtr = Visit(E); in VisitCastExpr() local
1555 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, MemPtr, MPT); in VisitCastExpr()
DCGExpr.cpp113 llvm::Value *MemPtr = EmitScalarExpr(E); in EvaluateExprAsBool() local
114 return CGM.getCXXABI().EmitMemberPointerIsNotNull(*this, MemPtr, MPT); in EvaluateExprAsBool()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.h57 int scudoPosixMemalign(void **MemPtr, uptr Alignment, uptr Size);
Dscudo_allocator.cpp582 int scudoPosixMemalign(void **MemPtr, uptr Alignment, uptr Size) { in scudoPosixMemalign() argument
583 *MemPtr = Instance.allocate(Size, Alignment, FromMemalign); in scudoPosixMemalign()
/external/clang/test/CodeGenObjCXX/
Dencode.mm46 @interface MemPtr {} interface
49 @implementation MemPtr implementation
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DSparsePropagation.cpp210 auto MemPtr = TestLatticeKey(GV, IPOGrouping::Memory); in visitStore() local
211 ChangedValues[MemPtr] = in visitStore()
212 MergeValues(SS.getValueState(RegVal), SS.getValueState(MemPtr)); in visitStore()
/external/pdfium/third_party/lcms/src/
Dcmsio0.c1156 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32N… in cmsOpenProfileFromMemTHR() argument
1168 NewIcc ->IOhandler = cmsOpenIOhandlerFromMem(ContextID, (void*) MemPtr, dwSize, "r"); in cmsOpenProfileFromMemTHR()
1180 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void* MemPtr, cmsUInt32Number dwSize) in cmsOpenProfileFromMem() argument
1182 return cmsOpenProfileFromMemTHR(NULL, MemPtr, dwSize); in cmsOpenProfileFromMem()
1424 cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number* BytesNee… in cmsSaveProfileToMem() argument
1433 if (MemPtr == NULL) { in cmsSaveProfileToMem()
1440 io = cmsOpenIOhandlerFromMem(ContextID, MemPtr, *BytesNeeded, "w"); in cmsSaveProfileToMem()
Dcmscgats.c1786 cmsBool CMSEXPORT cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number* BytesNeeded) in cmsIT8SaveToMem() argument
1795 sd.Base = (cmsUInt8Number*) MemPtr; in cmsIT8SaveToMem()
/external/clang/lib/AST/
DExprConstant.cpp3254 MemberPtr MemPtr; in HandleMemberPointerAccess() local
3255 if (!EvaluateMemberPointer(RHS, MemPtr, Info)) in HandleMemberPointerAccess()
3260 if (!MemPtr.getDecl()) { in HandleMemberPointerAccess()
3266 if (MemPtr.isDerivedMember()) { in HandleMemberPointerAccess()
3270 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() > in HandleMemberPointerAccess()
3276 LV.Designator.Entries.size() - MemPtr.Path.size(); in HandleMemberPointerAccess()
3277 for (unsigned I = 0, N = MemPtr.Path.size(); I != N; ++I) { in HandleMemberPointerAccess()
3280 const CXXRecordDecl *MPDecl = MemPtr.Path[I]; in HandleMemberPointerAccess()
3288 if (!CastToDerivedClass(Info, RHS, LV, MemPtr.getContainingRecord(), in HandleMemberPointerAccess()
3291 } else if (!MemPtr.Path.empty()) { in HandleMemberPointerAccess()
[all …]
DType.cpp3711 if (const MemberPointerType *MemPtr = getAs<MemberPointerType>()) in isObjCIndirectLifetimeType() local
3712 return MemPtr->getPointeeType()->isObjCIndirectLifetimeType(); in isObjCIndirectLifetimeType()
/external/clang/lib/Sema/
DSemaOverload.cpp7548 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addEqualEqualOrNotEqualMemberPointerOverloads() local
7550 MemPtr != MemPtrEnd; in addEqualEqualOrNotEqualMemberPointerOverloads()
7551 ++MemPtr) { in addEqualEqualOrNotEqualMemberPointerOverloads()
7553 if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second) in addEqualEqualOrNotEqualMemberPointerOverloads()
7556 QualType ParamTypes[2] = { *MemPtr, *MemPtr }; in addEqualEqualOrNotEqualMemberPointerOverloads()
7842 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addAssignmentMemberPointerOrEnumeralOverloads() local
7844 MemPtr != MemPtrEnd; ++MemPtr) { in addAssignmentMemberPointerOrEnumeralOverloads()
7845 if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second) in addAssignmentMemberPointerOrEnumeralOverloads()
7848 AddBuiltinAssignmentOperatorCandidates(S, *MemPtr, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()
8166 MemPtr = CandidateTypes[1].member_pointer_begin(), in addArrowStarOverloads() local
[all …]
DSemaExprCXX.cpp4808 const MemberPointerType *MemPtr = RHSType->getAs<MemberPointerType>(); in CheckPointerToMemberOperands() local
4809 if (!MemPtr) { in CheckPointerToMemberOperands()
4815 QualType Class(MemPtr->getClass(), 0); in CheckPointerToMemberOperands()
4878 QualType Result = MemPtr->getPointeeType(); in CheckPointerToMemberOperands()
5626 else if (const MemberPointerType *MemPtr = T->getAs<MemberPointerType>()) in MaybeBindToTemporary() local
5627 T = MemPtr->getPointeeType(); in MaybeBindToTemporary()
DSemaTemplateDeduction.cpp4768 const MemberPointerType *MemPtr = cast<MemberPointerType>(T.getTypePtr()); in MarkUsedTemplateParameters() local
4769 MarkUsedTemplateParameters(Ctx, MemPtr->getPointeeType(), OnlyDeduced, in MarkUsedTemplateParameters()
4771 MarkUsedTemplateParameters(Ctx, QualType(MemPtr->getClass(), 0), in MarkUsedTemplateParameters()
/external/pdfium/third_party/lcms/include/
Dlcms2.h1530 CMSAPI cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void * MemPtr, cmsUInt32Number dwSize…
1531 … CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void * MemPtr, cmsUInt32Number d…
1538 CMSAPI cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32…
1814 CMSAPI cmsBool CMSEXPORT cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number* By…