Lines Matching refs:MPT
557 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()
619 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in isMemberPointerConvertible()
623 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT) override;
625 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
628 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
633 const MemberPointerType *MPT,
638 const MemberPointerType *MPT) override;
643 const MemberPointerType *MPT) override;
667 const MemberPointerType *MPT) override;
2494 bool MicrosoftCXXABI::isZeroInitializable(const MemberPointerType *MPT) { in isZeroInitializable() argument
2497 if (MPT->isMemberFunctionPointer()) in isZeroInitializable()
2503 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in isZeroInitializable()
2510 MicrosoftCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType() argument
2511 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in ConvertMemberPointerType()
2514 if (MPT->isMemberFunctionPointer()) in ConvertMemberPointerType()
2519 if (MSInheritanceAttr::hasNVOffsetField(MPT->isMemberFunctionPointer(), in ConvertMemberPointerType()
2533 GetNullMemberPointerFields(const MemberPointerType *MPT, in GetNullMemberPointerFields() argument
2536 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in GetNullMemberPointerFields()
2538 if (MPT->isMemberFunctionPointer()) { in GetNullMemberPointerFields()
2548 if (MSInheritanceAttr::hasNVOffsetField(MPT->isMemberFunctionPointer(), in GetNullMemberPointerFields()
2558 MicrosoftCXXABI::EmitNullMemberPointer(const MemberPointerType *MPT) { in EmitNullMemberPointer() argument
2560 GetNullMemberPointerFields(MPT, fields); in EmitNullMemberPointer()
2564 assert(Res->getType() == ConvertMemberPointerType(MPT)); in EmitNullMemberPointer()
2603 MicrosoftCXXABI::EmitMemberDataPointer(const MemberPointerType *MPT, in EmitMemberDataPointer() argument
2605 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in EmitMemberDataPointer()
2722 const MemberPointerType *MPT, in EmitMemberPointerComparison() argument
2741 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in EmitMemberPointerComparison()
2743 if (MSInheritanceAttr::hasOnlyOneField(MPT->isMemberFunctionPointer(), in EmitMemberPointerComparison()
2766 if (MPT->isMemberFunctionPointer()) { in EmitMemberPointerComparison()
2781 const MemberPointerType *MPT) { in EmitMemberPointerIsNotNull() argument
2785 if (MPT->isMemberFunctionPointer()) in EmitMemberPointerIsNotNull()
2788 GetNullMemberPointerFields(MPT, fields); in EmitMemberPointerIsNotNull()
2797 if (MPT->isMemberFunctionPointer()) in EmitMemberPointerIsNotNull()
2809 bool MicrosoftCXXABI::MemberPointerConstantIsNull(const MemberPointerType *MPT, in MemberPointerConstantIsNull() argument
2812 if (MPT->isMemberFunctionPointer()) { in MemberPointerConstantIsNull()
2820 if (isZeroInitializable(MPT) && Val->isNullValue()) in MemberPointerConstantIsNull()
2826 GetNullMemberPointerFields(MPT, Fields); in MemberPointerConstantIsNull()
2937 const MemberPointerType *MPT) { in EmitMemberDataPointerAddress() argument
2938 assert(MPT->isMemberDataPointer()); in EmitMemberDataPointerAddress()
2941 CGF.ConvertTypeForMem(MPT->getPointeeType())->getPointerTo(AS); in EmitMemberDataPointerAddress()
2943 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in EmitMemberDataPointerAddress()
3228 const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer() argument
3229 assert(MPT->isMemberFunctionPointer()); in EmitLoadOfMemberFunctionPointer()
3231 MPT->getPointeeType()->castAs<FunctionProtoType>(); in EmitLoadOfMemberFunctionPointer()
3232 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in EmitLoadOfMemberFunctionPointer()
3249 if (MSInheritanceAttr::hasNVOffsetField(MPT, Inheritance)) in EmitLoadOfMemberFunctionPointer()