Searched refs:BaseType (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h61 using BaseType = RecursiveASTVisitor<Derived>;
70 bool Result = BaseType::TraverseObjCImplementationDecl(D);
75 bool Result = BaseType::TraverseObjCCategoryImplDecl(D);
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) {
91 if (!BaseType::getDerived().TraverseDecl(Child))
104 if (!BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Sibling))
107 if (!BaseType::getDerived().TraverseDecl(Child))
147 assert(!BaseType::getDerived().shouldTraversePostOrder() &&
151 if (!BaseType::getDerived().TraverseDecl(D))
H A DCXXInheritance.h206 bool isAmbiguous(CanQualType BaseType);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h30 typedef B BaseType; typedef in struct:lldb_private::Range
33 BaseType base;
38 Range(BaseType b, SizeType s) : base(b), size(s) {}
40 void Clear(BaseType b = 0) {
46 BaseType GetRangeBase() const { return base; }
48 void SetRangeBase(BaseType b) { base = b; }
50 void Slide(BaseType slide) { base += slide; }
54 auto new_end = std::max<BaseType>(GetRangeEnd(), rhs.GetRangeEnd());
55 base = std::min<BaseType>(base, rhs.base);
62 BaseType GetRangeEn
130 typedef B BaseType; typedef in class:lldb_private::RangeArray
334 typedef B BaseType; typedef in class:lldb_private::RangeVector
815 typedef B BaseType; typedef in struct:lldb_private::AddressData
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h43 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, argument
45 : Kind(Kind), BaseType(BaseType), AccessType(AccessType),
49 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, argument
51 : TBAAAccessInfo(TBAAAccessKind::Ordinary, BaseType, AccessType,
56 : TBAAAccessInfo(/* BaseType= */ nullptr, AccessType, /* Offset= */ 0, Size)
65 /* BaseType= */ nullptr, /* AccessType= */ nullptr,
73 /* BaseType= */ nullptr, /* AccessType= */ nullptr,
81 BaseType == Other.BaseType
101 llvm::MDNode *BaseType; member in struct:clang::CodeGen::TBAAAccessInfo
[all...]
H A DCodeGenTBAA.cpp375 if (!Info.BaseType) {
376 Info.BaseType = Info.AccessType;
380 return N = MDHelper.createTBAAAccessTag(Info.BaseType, Info.AccessType,
383 return N = MDHelper.createTBAAStructTagNode(Info.BaseType, Info.AccessType,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h46 } BaseType; member in struct:llvm::X86AddressMode
60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr),
68 if (BaseType == X86AddressMode::RegBase)
72 assert(BaseType == X86AddressMode::FrameIndexBase);
97 AM.BaseType = X86AddressMode::RegBase;
100 AM.BaseType = X86AddressMode::FrameIndexBase;
176 if (AM.BaseType == X86AddressMode::RegBase)
179 assert(AM.BaseType == X86AddressMode::FrameIndexBase);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp480 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
497 const PointerType *PT = BaseType->getAs<PointerType>();
502 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
507 assert(BaseType->isDependentType() ||
511 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
514 Context, BaseExpr, BaseType, IsArrow, OpLoc,
524 QualType BaseType,
534 << SS.getRange() << rep << BaseType; local
550 QualType BaseType,
554 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType));
522 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
549 CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, const LookupResult &R) argument
744 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, const Scope *S, ActOnMemberAccessExtraArgs *ExtraArgs) argument
982 QualType BaseType = BaseExprType; local
1793 QualType BaseType = BaseExpr->getType(); local
[all...]
H A DSemaDeclCXX.cpp1297 QualType BaseType = BestPath->back().Base->getType();
1298 if (Paths.isAmbiguous(S.Context.getCanonicalType(BaseType))) {
1300 << RD << BaseType << S.getAmbiguousPathsDisplayString(Paths);
1305 S.CheckBaseClassAccess(Loc, BaseType, S.Context.getRecordType(RD),
1309 ClassWithFields = BaseType->getAsCXXRecordDecl();
1339 QualType BaseType = S.Context.getQualifiedType(S.Context.getRecordType(RD),
1387 E = S.ImpCastExprToType(E.get(), BaseType, CK_UncheckedDerivedToBase,
2419 QualType BaseType = TInfo->getType();
2438 if (BaseType->isDependentType()) {
2442 if (CXXRecordDecl *BaseDecl = BaseType
[all...]
H A DSemaCUDA.cpp305 const RecordType *BaseType = B->getType()->getAs<RecordType>();
306 if (!BaseType) {
310 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp313 /// null, we record that as ExclusivelyNull. In all other cases, the BaseType is
315 enum BaseType { enum
327 static enum BaseType getBaseType(const Value *Val) {
373 return BaseType::NonConstant;
377 return isExclusivelyDerivedFromNull ? BaseType::ExclusivelyNull
378 : BaseType::ExclusivelySomeConstant;
382 return getBaseType(V) == BaseType::NonConstant;
813 enum BaseType baseTyLHS = getBaseType(LHS),
834 if ((baseTyLHS == BaseType::ExclusivelySomeConstant &&
835 baseTyRHS == BaseType
[all...]
H A DMDBuilder.cpp237 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, argument
242 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off),
245 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)});
264 MDNode *MDBuilder::createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType, argument
272 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode,
275 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode});
279 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0)); local
298 return createTBAAStructTagNode(BaseType, AccessType, Offset);
302 return createTBAAAccessTag(BaseType, AccessType, Offset, Size);
H A DLLVMContextImpl.h411 Metadata *BaseType; member in struct:llvm::MDNodeKeyImpl
420 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
425 BaseType(BaseType), SizeInBits(SizeInBits), OffsetInBits(OffsetInBits),
431 BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
439 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
461 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
501 Metadata *BaseType; member in struct:llvm::MDNodeKeyImpl
514 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
520 BaseType(BaseTyp
419 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace, unsigned Flags, Metadata *ExtraData) argument
513 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator) argument
[all...]
H A DDebugInfoMetadata.cpp372 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
378 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
381 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData};
389 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
398 DICompositeType, (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
401 Metadata *Ops[] = {File, Scope, Name, BaseType,
411 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType,
421 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
433 Metadata *Ops[] = {File, Scope, Name, BaseType,
446 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType,
370 getImpl( LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace, DIFlags Flags, Metadata *ExtraData, StorageType Storage, bool ShouldCreate) argument
387 getImpl( LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator, StorageType Storage, bool ShouldCreate) argument
409 buildODRType( LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, Metadata *Discriminator) argument
444 getODRType( LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, Metadata *Discriminator) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp40 } BaseType = RegBase; member in struct:__anon2295::MSP430ISelAddressMode
42 struct { // This is really a union, discriminated by BaseType!
64 if (BaseType == RegBase && Base.Reg.getNode() != nullptr) {
67 } else if (BaseType == FrameIndexBase) {
169 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) {
175 AM.BaseType = MSP430ISelAddressMode::RegBase;
197 if (AM.BaseType == MSP430ISelAddressMode::RegBase
199 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase;
251 if (AM.BaseType == MSP430ISelAddressMode::RegBase)
255 Base = (AM.BaseType
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp156 DIType *BaseType = DDTy->getBaseType();
158 if (!BaseType)
164 if (BaseType->getTag() == dwarf::DW_TAG_reference_type ||
165 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type)
168 return getBaseTypeSize(BaseType);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h30 using BaseType = RecursiveASTVisitor<RecursiveSymbolVisitor<T>>;
122 return BaseType::TraverseNestedNameSpecifierLoc(NNS);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp567 static bool hasField(TBAAStructTypeNode BaseType, argument
569 for (unsigned I = 0, E = BaseType.getNumFields(); I != E; ++I) {
570 TBAAStructTypeNode T = BaseType.getFieldType(I);
605 TBAAStructTypeNode BaseType(BaseTag.getBaseType());
611 if (!BaseType.getNode()) {
616 if (BaseType.getNode() == SubobjectTag.getBaseType()) {
627 if (NewFormat && BaseType.getNode() == BaseTag.getAccessType())
632 BaseType = BaseType.getField(OffsetInBase);
641 if (hasField(BaseType, FieldTyp
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp145 QualType BaseType = T; local
146 while (!BaseType->isSpecifierType()) {
147 if (const PointerType *PTy = BaseType->getAs<PointerType>())
148 BaseType = PTy->getPointeeType();
149 else if (const BlockPointerType *BPy = BaseType->getAs<BlockPointerType>())
150 BaseType = BPy->getPointeeType();
151 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType))
152 BaseType = ATy->getElementType();
153 else if (const FunctionType* FTy = BaseType->getAs<FunctionType>())
154 BaseType
408 QualType BaseType = GetBaseType(CurDeclType); local
[all...]
H A DCXXInheritance.cpp61 /// different base class subobjects of the same type. BaseType must be
63 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { argument
64 BaseType = BaseType.getUnqualifiedType();
65 IsVirtBaseAndNumberNonVirtBases Subobjects = ClassSubobjects[BaseType];
203 QualType BaseType =
212 if (!LookupInDependent && BaseType->isDependentType())
217 IsVirtBaseAndNumberNonVirtBases &Subobjects = ClassSubobjects[BaseType];
226 DetectedVirtual = BaseType->getAs<RecordType>();
H A DExprCXX.cpp1398 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow,
1409 Base(Base), BaseType(BaseType), QualifierLoc(QualifierLoc),
1447 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow,
1463 Ctx, Base, BaseType, IsArrow, OperatorLoc, QualifierLoc, TemplateKWLoc,
1500 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc,
1509 ((Base && Base->isTypeDependent()) || BaseType->isDependentType()),
1511 BaseType->isInstantiationDependentType()),
1514 BaseType->containsUnexpandedParameterPack())),
1515 Base(Base), BaseType(BaseTyp
1397 CXXDependentScopeMemberExpr( const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1446 Create( const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1498 UnresolvedMemberExpr( const ASTContext &Context, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1538 Create( const ASTContext &Context, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1585 QualType BaseType = getBaseType().getNonReferenceType(); local
[all...]
H A DType.cpp674 BaseType(Base) {
1186 using BaseType = SimpleTransformVisitor<SubstObjCTypeArgsVisitor>;
1193 : BaseType(ctx), TypeArgs(typeArgs), SubstContext(context) {}
1261 return BaseType::VisitFunctionType(funcType);
1310 return BaseType::VisitFunctionType(funcType);
1354 return BaseType::VisitObjCObjectType(objcObjectType);
1358 QualType newType = BaseType::VisitAttributedType(attrType);
1396 using BaseType = SimpleTransformVisitor<StripObjCKindOfTypeVisitor>;
1398 explicit StripObjCKindOfTypeVisitor(ASTContext &ctx) : BaseType(ctx) {}
1402 return BaseType
3265 UnaryTransformType(QualType BaseType, QualType UnderlyingType, UTTKind UKind, QualType CanonicalType) argument
3275 DependentUnaryTransformType(const ASTContext &C, QualType BaseType, UTTKind UKind) argument
3515 Profile(llvm::FoldingSetNodeID &ID, QualType BaseType, ArrayRef<QualType> typeArgs, ArrayRef<ObjCProtocolDecl *> protocols, bool isKindOf) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h191 MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,
204 MDNode *createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleList.h34 using BaseType =
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp273 SVal StoreManager::evalDerivedToBase(SVal Derived, QualType BaseType, argument
279 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl();
281 BaseDecl = BaseType->getAsCXXRecordDecl();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h895 TypeIndex BaseType, TypeIndex VBPtrType,
897 : TypeRecord(Kind), Attrs(Attrs), BaseType(BaseType),
900 TypeIndex BaseType, TypeIndex VBPtrType,
902 : TypeRecord(Kind), Attrs(Access), BaseType(BaseType),
906 TypeIndex getBaseType() const { return BaseType; }
912 TypeIndex BaseType; member in class:llvm::codeview::VirtualBaseClassRecord
894 VirtualBaseClassRecord(TypeRecordKind Kind, MemberAttributes Attrs, TypeIndex BaseType, TypeIndex VBPtrType, uint64_t Offset, uint64_t Index) argument
899 VirtualBaseClassRecord(TypeRecordKind Kind, MemberAccess Access, TypeIndex BaseType, TypeIndex VBPtrType, uint64_t Offset, uint64_t Index) argument

Completed in 348 milliseconds

1234