Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCXXABI.cpp71 CGCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType() argument
77 llvm::Value *MemPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer() argument
81 MPT->getPointeeType()->getAs<FunctionProtoType>(); in EmitLoadOfMemberFunctionPointer()
83 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl()); in EmitLoadOfMemberFunctionPointer()
92 const MemberPointerType *MPT) { in EmitMemberDataPointerAddress() argument
94 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); in EmitMemberDataPointerAddress()
114 const MemberPointerType *MPT, in EmitMemberPointerComparison() argument
123 const MemberPointerType *MPT) { in EmitMemberPointerIsNotNull() argument
129 CGCXXABI::EmitNullMemberPointer(const MemberPointerType *MPT) { in EmitNullMemberPointer() argument
130 return GetBogusMemberPointer(QualType(MPT, 0)); in EmitNullMemberPointer()
[all …]
DCGCXXABI.h132 ConvertMemberPointerType(const MemberPointerType *MPT);
139 llvm::Value *MemPtr, const MemberPointerType *MPT);
145 const MemberPointerType *MPT);
160 virtual bool isZeroInitializable(const MemberPointerType *MPT);
163 virtual bool isMemberPointerConvertible(const MemberPointerType *MPT) const { in isMemberPointerConvertible() argument
172 virtual llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT);
178 virtual llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
182 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
189 const MemberPointerType *MPT,
196 const MemberPointerType *MPT);
DMicrosoftCXXABI.cpp460 GetNullMemberPointerFields(const MemberPointerType *MPT,
505 bool MemberPointerConstantIsNull(const MemberPointerType *MPT,
520 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
522 bool isZeroInitializable(const MemberPointerType *MPT) override;
524 bool isMemberPointerConvertible(const MemberPointerType *MPT) const override { in isMemberPointerConvertible()
525 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in isMemberPointerConvertible()
532 if (const auto *MPT = Ty->getAs<MemberPointerType>()) { in isTypeInfoCalculable() local
533 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in isTypeInfoCalculable()
540 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT) override;
542 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
[all …]
DItaniumCXXABI.cpp72 bool isZeroInitializable(const MemberPointerType *MPT) override;
74 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
81 const MemberPointerType *MPT) override;
87 const MemberPointerType *MPT) override;
95 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT) override;
98 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT,
100 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
106 const MemberPointerType *MPT,
111 const MemberPointerType *MPT) override;
379 ItaniumCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { in ConvertMemberPointerType() argument
[all …]
DCodeGenTypes.cpp193 if (const auto *MPT = Ty->getAs<MemberPointerType>()) in isFuncParamTypeConvertible() local
194 return getCXXABI().isMemberPointerConvertible(MPT); in isFuncParamTypeConvertible()
729 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) in isZeroInitializable() local
730 return getCXXABI().isZeroInitializable(MPT); in isZeroInitializable()
DCGExprCXX.cpp291 const MemberPointerType *MPT = in EmitCXXMemberPointerCallExpr() local
295 MPT->getPointeeType()->castAs<FunctionProtoType>(); in EmitCXXMemberPointerCallExpr()
297 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl()); in EmitCXXMemberPointerCallExpr()
311 QualType(MPT->getClass(), 0)); in EmitCXXMemberPointerCallExpr()
315 CGM.getCXXABI().EmitLoadOfMemberFunctionPointer(*this, BO, This, MemFnPtr, MPT); in EmitCXXMemberPointerCallExpr()
DCGRecordLayoutBuilder.cpp141 if (const MemberPointerType *MPT = Type->getAs<MemberPointerType>()) in isZeroInitializable() local
142 return Types.getCXXABI().isZeroInitializable(MPT); in isZeroInitializable()
DCGExprScalar.cpp584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) in EmitConversionToBool() local
585 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, Src, MPT); in EmitConversionToBool()
1481 const MemberPointerType *MPT = CE->getType()->getAs<MemberPointerType>(); in VisitCastExpr() local
1482 return CGF.CGM.getCXXABI().EmitNullMemberPointer(MPT); in VisitCastExpr()
1573 const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>(); in VisitCastExpr() local
1574 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, MemPtr, MPT); in VisitCastExpr()
2837 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare() local
2843 CGF, LHS, RHS, MPT, E->getOpcode() == BO_NE); in EmitCompare()
DCGExpr.cpp92 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) { in EvaluateExprAsBool() local
94 return CGM.getCXXABI().EmitMemberPointerIsNotNull(*this, MemPtr, MPT); in EvaluateExprAsBool()
431 *this, E, Object, Ptr, Adjustment.Ptr.MPT); in EmitMaterializeTemporaryExpr()
3446 const MemberPointerType *MPT in EmitPointerToDataMemberBinaryExpr() local
3450 *this, E, BaseV, OffsetV, MPT); in EmitPointerToDataMemberBinaryExpr()
3452 return MakeAddrLValue(AddV, MPT->getPointeeType()); in EmitPointerToDataMemberBinaryExpr()
DCGDebugInfo.cpp1291 else if (const auto *MPT = dyn_cast<MemberPointerType>(T.getTypePtr())) { in CollectTemplateParams() local
1298 V = CGM.getCXXABI().EmitMemberDataPointer(MPT, chars); in CollectTemplateParams()
1312 if (const MemberPointerType *MPT = in CollectTemplateParams() local
1319 if (MPT->isMemberDataPointer()) in CollectTemplateParams()
1320 V = CGM.getCXXABI().EmitNullMemberPointer(MPT); in CollectTemplateParams()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp74 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override;
195 getMSMemberPointerSlots(const MemberPointerType *MPT) { in getMSMemberPointerSlots() argument
196 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in getMSMemberPointerSlots()
200 if (MPT->isMemberFunctionPointer()) in getMSMemberPointerSlots()
204 if (MSInheritanceAttr::hasNVOffsetField(MPT->isMemberFunctionPointer(), in getMSMemberPointerSlots()
215 const MemberPointerType *MPT) const { in getMemberPointerWidthAndAlign()
220 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); in getMemberPointerWidthAndAlign()
DItaniumCXXABI.cpp104 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override { in getMemberPointerWidthAndAlign()
109 if (MPT->getPointeeType()->isFunctionType()) in getMemberPointerWidthAndAlign()
DCXXABI.h35 getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const = 0;
DType.cpp418 if (const MemberPointerType *MPT = getAs<MemberPointerType>()) in getPointeeType() local
419 return MPT->getPointeeType(); in getPointeeType()
2205 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeCachedProperties() local
2206 return merge(Cache::get(MPT->getClass()), in computeCachedProperties()
2207 Cache::get(MPT->getPointeeType())); in computeCachedProperties()
2288 const MemberPointerType *MPT = cast<MemberPointerType>(T); in computeLinkageInfo() local
2289 LinkageInfo LV = computeLinkageInfo(MPT->getClass()); in computeLinkageInfo()
2290 LV.merge(computeLinkageInfo(MPT->getPointeeType())); in computeLinkageInfo()
DMicrosoftMangle.cpp455 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) { in mangleVariableEncoding() local
456 mangleQualifiers(MPT->getPointeeType().getQualifiers(), true); in mangleVariableEncoding()
459 mangleName(MPT->getClass()->getAsCXXRecordDecl()); in mangleVariableEncoding()
1187 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>()) { in mangleTemplateArg() local
1188 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl(); in mangleTemplateArg()
1189 if (MPT->isMemberFunctionPointerType() && isa<ClassTemplateDecl>(TD)) { in mangleTemplateArg()
1193 if (MPT->isMemberDataPointer()) { in mangleTemplateArg()
DExpr.cpp91 const MemberPointerType *MPT = in skipRValueSubobjectAdjustments() local
93 Adjustments.push_back(SubobjectAdjustment(MPT, BO->getRHS())); in skipRValueSubobjectAdjustments()
DASTContext.cpp1647 const MemberPointerType *MPT = cast<MemberPointerType>(T); in getTypeInfoImpl() local
1648 std::tie(Width, Align) = ABI->getMemberPointerWidthAndAlign(MPT); in getTypeInfoImpl()
DExprConstant.cpp4596 Type = Adjustments[I].Ptr.MPT->getPointeeType(); in VisitMaterializeTemporaryExpr()
/external/icu/icu4c/source/data/zone/
DtzdbNames.txt512 ss{"MPT"}
/external/clang/include/clang/AST/
DExpr.h71 const MemberPointerType *MPT; member
93 SubobjectAdjustment(const MemberPointerType *MPT, Expr *RHS) in SubobjectAdjustment()
95 this->Ptr.MPT = MPT; in SubobjectAdjustment()
/external/iproute2/testsuite/configs/
Dall-2.4354 # Fusion MPT device support
Dall-no-act448 # Fusion MPT device support
Dall-police-act448 # Fusion MPT device support
/external/clang/lib/Sema/
DTreeTransform.h4089 const MemberPointerType *MPT = Result->getAs<MemberPointerType>(); in TransformMemberPointerType() local
4090 if (MPT && PointeeType != MPT->getPointeeType()) { in TransformMemberPointerType()
4091 assert(isa<AdjustedType>(MPT->getPointeeType())); in TransformMemberPointerType()
4092 TLB.push<AdjustedTypeLoc>(MPT->getPointeeType()); in TransformMemberPointerType()