Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGCXXABI.cpp72 CGCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType()
79 llvm::Value *MemPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer()
95 const MemberPointerType *MPT) { in EmitMemberDataPointerAddress()
118 const MemberPointerType *MPT, in EmitMemberPointerComparison()
127 const MemberPointerType *MPT) { in EmitMemberPointerIsNotNull()
133 CGCXXABI::EmitNullMemberPointer(const MemberPointerType *MPT) { in EmitNullMemberPointer()
142 llvm::Constant *CGCXXABI::EmitMemberDataPointer(const MemberPointerType *MPT, in EmitMemberDataPointer()
151 bool CGCXXABI::isZeroInitializable(const MemberPointerType *MPT) { in isZeroInitializable()
276 derivedType->castAs<MemberPointerType>()->getClass()->getAsCXXRecordDecl(); in getMemberPointerAdjustment()
DCGCXXABI.h152 ConvertMemberPointerType(const MemberPointerType *MPT);
160 const MemberPointerType *MPT);
166 const MemberPointerType *MPT);
181 virtual bool isZeroInitializable(const MemberPointerType *MPT);
184 virtual bool isMemberPointerConvertible(const MemberPointerType *MPT) const { in isMemberPointerConvertible()
189 virtual llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT);
195 virtual llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
206 const MemberPointerType *MPT,
213 const MemberPointerType *MPT);
DMicrosoftCXXABI.cpp557 GetNullMemberPointerFields(const MemberPointerType *MPT,
599 bool MemberPointerConstantIsNull(const MemberPointerType *MPT,
614 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
616 bool isZeroInitializable(const MemberPointerType *MPT) override;
618 bool isMemberPointerConvertible(const MemberPointerType *MPT) const override { in isMemberPointerConvertible()
623 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT) override;
625 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
633 const MemberPointerType *MPT,
638 const MemberPointerType *MPT) override;
643 const MemberPointerType *MPT) override;
[all …]
DItaniumCXXABI.cpp111 bool isZeroInitializable(const MemberPointerType *MPT) override;
113 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
121 const MemberPointerType *MPT) override;
127 const MemberPointerType *MPT) override;
135 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT) override;
138 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
146 const MemberPointerType *MPT,
151 const MemberPointerType *MPT) override;
493 ItaniumCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType()
522 llvm::Value *MemFnPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer()
[all …]
DCodeGenTypes.cpp194 if (const auto *MPT = Ty->getAs<MemberPointerType>()) in isFuncParamTypeConvertible()
609 auto *MPTy = cast<MemberPointerType>(Ty); in ConvertType()
761 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) in isZeroInitializable()
DCGExprScalar.cpp361 if (isa<MemberPointerType>(E->getType())) // never sugared in VisitUnaryAddrOf()
584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) in EmitConversionToBool()
1463 const MemberPointerType *MPT = CE->getType()->getAs<MemberPointerType>(); in VisitCastExpr()
1554 const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>(); in VisitCastExpr()
2831 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare()
DCGExprConstant.cpp1492 const MemberPointerType *type = cast<MemberPointerType>(uo->getType()); in getMemberPointerConstant()
1627 return getCXXABI().EmitNullMemberPointer(T->castAs<MemberPointerType>()); in EmitNullConstant()
DCGDebugInfo.h162 llvm::DIType *CreateType(const MemberPointerType *Ty, llvm::DIFile *F);
/external/clang/lib/AST/
DCXXABI.h26 class MemberPointerType; variable
36 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const = 0;
DMicrosoftCXXABI.cpp82 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override;
222 getMSMemberPointerSlots(const MemberPointerType *MPT) { in getMSMemberPointerSlots()
242 const MemberPointerType *MPT) const { in getMemberPointerWidthAndAlign()
DType.cpp424 if (const MemberPointerType *MPT = getAs<MemberPointerType>()) in getPointeeType()
741 QualType VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType()
1567 AutoType *VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType()
1845 } else if (isa<MemberPointerType>(T)) { in getScalarTypeKind()
1935 auto *MPTy = cast<MemberPointerType>(CanonicalType); in isIncompleteType()
3338 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeCachedProperties()
3423 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeLinkageInfo()
3711 if (const MemberPointerType *MemPtr = getAs<MemberPointerType>()) in isObjCIndirectLifetimeType()
3782 CXXRecordDecl *MemberPointerType::getMostRecentCXXRecordDecl() const { in getMostRecentCXXRecordDecl()
DItaniumCXXABI.cpp104 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override { in getMemberPointerWidthAndAlign()
DMicrosoftMangle.cpp507 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) { in mangleVariableEncoding()
1274 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) { in mangleTemplateArg()
2162 void MicrosoftCXXNameMangler::mangleType(const MemberPointerType *T, Qualifiers Quals, in mangleType()
DTypePrinter.cpp406 void TypePrinter::printMemberPointerBefore(const MemberPointerType *T, in printMemberPointerBefore()
422 void TypePrinter::printMemberPointerAfter(const MemberPointerType *T, in printMemberPointerAfter()
DASTContext.cpp1722 const MemberPointerType *MPT = cast<MemberPointerType>(T); in getTypeInfoImpl()
2545 MemberPointerType::Profile(ID, T, Cls); in getMemberPointerType()
2548 if (MemberPointerType *PT = in getMemberPointerType()
2559 MemberPointerType *NewIP = in getMemberPointerType()
2563 MemberPointerType *New in getMemberPointerType()
2564 = new (*this, TypeAlignment) MemberPointerType(T, Cls, Canonical); in getMemberPointerType()
4262 const MemberPointerType *T1MPType = T1->getAs<MemberPointerType>(), in UnwrapSimilarPointerTypes()
4263 *T2MPType = T2->getAs<MemberPointerType>(); in UnwrapSimilarPointerTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp292 struct MemberPointerType : public Type { struct
743 Type *MemberPointerType::clone(ArenaAllocator &Arena) const { in clone()
744 return Arena.alloc<MemberPointerType>(*this); in clone()
747 void MemberPointerType::outputPre(OutputStream &OS) { in outputPre()
761 void MemberPointerType::outputPost(OutputStream &OS) { in outputPost()
890 MemberPointerType *demangleMemberPointerType(StringView &MangledName);
1020 MemberPointerType *MPTy = static_cast<MemberPointerType *>(Ty); in demangleVariableEncoding()
1822 MemberPointerType *
1824 MemberPointerType *Pointer = Arena.alloc<MemberPointerType>(); in demangleMemberPointerType()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp33 else if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) in GetUnderlyingFunction()
134 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
901 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
DSemaCast.cpp459 const MemberPointerType *T1MPType = T1->getAs<MemberPointerType>(), in UnwrapDissimilarPointerTypes()
460 *T2MPType = T2->getAs<MemberPointerType>(); in UnwrapDissimilarPointerTypes()
1378 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>(); in TryStaticMemberPointerUpcast()
1395 const MemberPointerType *SrcMemPtr = SrcType->getAs<MemberPointerType>(); in TryStaticMemberPointerUpcast()
1937 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>(), in TryReinterpretCast()
1938 *SrcMemPtr = SrcType->getAs<MemberPointerType>(); in TryReinterpretCast()
DSemaOverload.cpp1409 CanTo = CanTo.getAs<MemberPointerType>()->getPointeeType(); in IsNoReturnConversion()
1410 CanFrom = CanFrom.getAs<MemberPointerType>()->getPointeeType(); in IsNoReturnConversion()
2599 if (auto *MPT = FromType->getAs<MemberPointerType>()) in tryGetFunctionProtoType()
2618 const MemberPointerType *FromMember = FromType->getAs<MemberPointerType>(), in HandleFunctionTypeMismatch()
2619 *ToMember = ToType->getAs<MemberPointerType>(); in HandleFunctionTypeMismatch()
2811 const MemberPointerType *ToTypePtr = ToType->getAs<MemberPointerType>(); in IsMemberPointerConversion()
2824 const MemberPointerType *FromTypePtr = FromType->getAs<MemberPointerType>(); in IsMemberPointerConversion()
2854 const MemberPointerType *FromPtrType = FromType->getAs<MemberPointerType>(); in CheckMemberPointerConversion()
2864 const MemberPointerType *ToPtrType = ToType->getAs<MemberPointerType>(); in CheckMemberPointerConversion()
4001 const MemberPointerType * FromMemPointer1 = in CompareDerivedToBaseConversions()
[all …]
DSemaType.cpp1762 else if (const MemberPointerType *PTy = T->getAs<MemberPointerType>()) in BuildQualifiedType()
2120 if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) in BuildArrayType()
3339 if (type->getAs<MemberPointerType>()) { in classifyPointerDeclarator()
5649 } else if (isa<MemberPointerType>(Ty)) { in FunctionTypeUnwrapper()
5650 T = cast<MemberPointerType>(Ty)->getPointeeType(); in FunctionTypeUnwrapper()
5725 const MemberPointerType *OldMPT = cast<MemberPointerType>(Old); in wrap()
6945 if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) { in RequireCompleteTypeImpl()
DSemaTemplateDeduction.cpp1527 const MemberPointerType *MemPtrParam = cast<MemberPointerType>(Param); in DeduceTemplateArgumentsByTypeMatch()
1528 const MemberPointerType *MemPtrArg = dyn_cast<MemberPointerType>(Arg); in DeduceTemplateArgumentsByTypeMatch()
4768 const MemberPointerType *MemPtr = cast<MemberPointerType>(T.getTypePtr()); in MarkUsedTemplateParameters()
DSemaExprCXX.cpp4808 const MemberPointerType *MemPtr = RHSType->getAs<MemberPointerType>(); in CheckPointerToMemberOperands()
5463 const MemberPointerType *MemPtr1, *MemPtr2; in FindCompositePointerType()
5464 if ((MemPtr1 = Composite1->getAs<MemberPointerType>()) && in FindCompositePointerType()
5465 (MemPtr2 = Composite2->getAs<MemberPointerType>())) { in FindCompositePointerType()
5626 else if (const MemberPointerType *MemPtr = T->getAs<MemberPointerType>()) in MaybeBindToTemporary()
/external/clang/include/clang/AST/
DCanonicalType.h434 struct CanProxyAdaptor<MemberPointerType>
435 : public CanProxyBase<MemberPointerType> {
DType.h2401 class MemberPointerType : public Type, public llvm::FoldingSetNode {
2407 MemberPointerType(QualType Pointee, const Type *Cls, QualType CanonicalPtr) :
5510 return isa<MemberPointerType>(CanonicalType);
5513 if (const MemberPointerType* T = getAs<MemberPointerType>())
5519 if (const MemberPointerType* T = getAs<MemberPointerType>())
5728 isa<MemberPointerType>(CanonicalType) ||
/external/clang/tools/libclang/
DCXType.cpp373 T = cast<MemberPointerType>(TP)->getPointeeType(); in clang_getPointeeType()
739 ET = QualType(cast<MemberPointerType> (TP)->getClass(), 0); in clang_Type_getClassType()

12