Home
last modified time | relevance | path

Searched refs:MPT (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGCXXABI.cpp72 CGCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType() argument
79 llvm::Value *MemPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer() argument
84 MPT->getPointeeType()->getAs<FunctionProtoType>(); in EmitLoadOfMemberFunctionPointer()
86 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl()); in EmitLoadOfMemberFunctionPointer()
95 const MemberPointerType *MPT) { in EmitMemberDataPointerAddress() argument
97 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType()) in EmitMemberDataPointerAddress()
118 const MemberPointerType *MPT, in EmitMemberPointerComparison() argument
127 const MemberPointerType *MPT) { in EmitMemberPointerIsNotNull() argument
133 CGCXXABI::EmitNullMemberPointer(const MemberPointerType *MPT) { in EmitNullMemberPointer() argument
134 return GetBogusMemberPointer(QualType(MPT, 0)); in EmitNullMemberPointer()
[all …]
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() argument
189 virtual llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT);
195 virtual llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
199 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType 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()
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,
[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,
140 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
146 const MemberPointerType *MPT,
151 const MemberPointerType *MPT) override;
493 ItaniumCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType() argument
[all …]
DCodeGenTypes.cpp194 if (const auto *MPT = Ty->getAs<MemberPointerType>()) in isFuncParamTypeConvertible() local
195 return getCXXABI().isMemberPointerConvertible(MPT); in isFuncParamTypeConvertible()
761 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) in isZeroInitializable() local
762 return getCXXABI().isZeroInitializable(MPT); in isZeroInitializable()
DCGExprCXX.cpp292 const MemberPointerType *MPT = in EmitCXXMemberPointerCallExpr() local
296 MPT->getPointeeType()->castAs<FunctionProtoType>(); in EmitCXXMemberPointerCallExpr()
298 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl()); in EmitCXXMemberPointerCallExpr()
311 QualType(MPT->getClass(), 0)); in EmitCXXMemberPointerCallExpr()
317 ThisPtrForCall, MemFnPtr, MPT); in EmitCXXMemberPointerCallExpr()
DCGExprScalar.cpp584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) in EmitConversionToBool() local
585 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, Src, MPT); in EmitConversionToBool()
1463 const MemberPointerType *MPT = CE->getType()->getAs<MemberPointerType>(); in VisitCastExpr() local
1464 return CGF.CGM.getCXXABI().EmitNullMemberPointer(MPT); in VisitCastExpr()
1554 const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>(); in VisitCastExpr() local
1555 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, MemPtr, MPT); in VisitCastExpr()
2831 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare() local
2837 CGF, LHS, RHS, MPT, E->getOpcode() == BO_NE); in EmitCompare()
DCGExpr.cpp112 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) { in EvaluateExprAsBool() local
114 return CGM.getCXXABI().EmitMemberPointerIsNotNull(*this, MemPtr, MPT); in EvaluateExprAsBool()
475 Adjustment.Ptr.MPT); in EmitMaterializeTemporaryExpr()
4143 const MemberPointerType *MPT in EmitPointerToDataMemberBinaryExpr() local
4148 EmitCXXMemberDataPointerAddress(E, BaseAddr, OffsetV, MPT, in EmitPointerToDataMemberBinaryExpr()
4151 return MakeAddrLValue(MemberAddr, MPT->getPointeeType(), AlignSource); in EmitPointerToDataMemberBinaryExpr()
DCGDebugInfo.cpp1428 else if (const auto *MPT = dyn_cast<MemberPointerType>(T.getTypePtr())) { in CollectTemplateParams() local
1435 V = CGM.getCXXABI().EmitMemberDataPointer(MPT, chars); in CollectTemplateParams()
1447 if (const MemberPointerType *MPT = in CollectTemplateParams() local
1454 if (MPT->isMemberDataPointer()) in CollectTemplateParams()
1455 V = CGM.getCXXABI().EmitNullMemberPointer(MPT); in CollectTemplateParams()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp82 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override;
222 getMSMemberPointerSlots(const MemberPointerType *MPT) { in getMSMemberPointerSlots() argument
223 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in getMSMemberPointerSlots()
227 if (MPT->isMemberFunctionPointer()) in getMSMemberPointerSlots()
231 if (MSInheritanceAttr::hasNVOffsetField(MPT->isMemberFunctionPointer(), in getMSMemberPointerSlots()
242 const MemberPointerType *MPT) const { in getMemberPointerWidthAndAlign()
250 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); in getMemberPointerWidthAndAlign()
DItaniumCXXABI.cpp104 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override { in getMemberPointerWidthAndAlign()
109 if (MPT->isMemberFunctionPointer()) in getMemberPointerWidthAndAlign()
DCXXABI.h36 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const = 0;
DMicrosoftMangle.cpp507 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) { in mangleVariableEncoding() local
508 mangleQualifiers(MPT->getPointeeType().getQualifiers(), true); in mangleVariableEncoding()
511 mangleName(MPT->getClass()->getAsCXXRecordDecl()); in mangleVariableEncoding()
1274 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) { in mangleTemplateArg() local
1275 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in mangleTemplateArg()
1276 if (MPT->isMemberFunctionPointerType() && in mangleTemplateArg()
1281 if (MPT->isMemberDataPointer()) { in mangleTemplateArg()
DType.cpp424 if (const MemberPointerType *MPT = getAs<MemberPointerType>()) in getPointeeType() local
425 return MPT->getPointeeType(); in getPointeeType()
3338 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeCachedProperties() local
3339 return merge(Cache::get(MPT->getClass()), in computeCachedProperties()
3340 Cache::get(MPT->getPointeeType())); in computeCachedProperties()
3423 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeLinkageInfo() local
3424 LinkageInfo LV = computeLinkageInfo(MPT->getClass()); in computeLinkageInfo()
3425 LV.merge(computeLinkageInfo(MPT->getPointeeType())); in computeLinkageInfo()
DExpr.cpp91 const MemberPointerType *MPT = in skipRValueSubobjectAdjustments() local
93 Adjustments.push_back(SubobjectAdjustment(MPT, BO->getRHS())); in skipRValueSubobjectAdjustments()
DASTContext.cpp1722 const MemberPointerType *MPT = cast<MemberPointerType>(T); in getTypeInfoImpl() local
1723 std::tie(Width, Align) = ABI->getMemberPointerWidthAndAlign(MPT); in getTypeInfoImpl()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp350 MachinePostDominatorTree MPT; in findShrunkPrologEpilog() local
351 MPT.runOnMachineFunction(MF); in findShrunkPrologEpilog()
404 PDomB = MPT.findNearestCommonDominator(PDomB, SFBlocks[i]); in findShrunkPrologEpilog()
425 if (!MPT.dominates(PDomB, DomB)) { in findShrunkPrologEpilog()
/external/icu/icu4c/source/data/zone/
DtzdbNames.txt515 ss{"MPT"}
/external/llvm/test/DebugInfo/COFF/
Dtypes-ptr-to-member.ll143 ; Unknown inheritance model MPT
/external/clang/include/clang/AST/
DExpr.h72 const MemberPointerType *MPT; member
94 SubobjectAdjustment(const MemberPointerType *MPT, Expr *RHS) in SubobjectAdjustment()
96 this->Ptr.MPT = MPT; in SubobjectAdjustment()
/external/iproute2/testsuite/configs/
Dall-2.4354 # Fusion MPT device support
Dall-police-act448 # Fusion MPT device support
Dall-no-act448 # Fusion MPT device support
/external/clang/lib/Sema/
DTreeTransform.h4383 const MemberPointerType *MPT = Result->getAs<MemberPointerType>(); in TransformMemberPointerType() local
4384 if (MPT && PointeeType != MPT->getPointeeType()) { in TransformMemberPointerType()
4385 assert(isa<AdjustedType>(MPT->getPointeeType())); in TransformMemberPointerType()
4386 TLB.push<AdjustedTypeLoc>(MPT->getPointeeType()); in TransformMemberPointerType()
DSemaOverload.cpp2599 if (auto *MPT = FromType->getAs<MemberPointerType>()) in tryGetFunctionProtoType() local
2600 return MPT->getPointeeType()->getAs<FunctionProtoType>(); in tryGetFunctionProtoType()

12