Home
last modified time | relevance | path

Searched refs:BaseType (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h61 using BaseType = RecursiveASTVisitor<Derived>; variable
70 bool Result = BaseType::TraverseObjCImplementationDecl(D); in TraverseObjCImplementationDecl()
75 bool Result = BaseType::TraverseObjCCategoryImplDecl(D); in TraverseObjCCategoryImplDecl()
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
104 if (!BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Sibling)) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
147 assert(!BaseType::getDerived().shouldTraversePostOrder() && in TraverseAdditionalLexicallyNestedDeclarations()
151 if (!BaseType::getDerived().TraverseDecl(D)) in TraverseAdditionalLexicallyNestedDeclarations()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h30 typedef B BaseType; typedef
33 BaseType base;
40 void Clear(BaseType b = 0) {
64 void SetRangeEnd(BaseType end) { in SetRangeEnd()
77 bool Contains(BaseType r) const { in Contains()
127 typedef B BaseType; typedef
218 BaseType GetMinRangeBase(BaseType fail_value) const { in GetMinRangeBase()
229 BaseType GetMaxRangeEnd(BaseType fail_value) const { in GetMaxRangeEnd()
240 void Slide(BaseType slide) { in Slide()
650 typedef B BaseType; typedef
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp505 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
532 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
751 if (BaseType->isDependentType() || in BuildMemberReferenceExpr()
763 QualType RecordTy = BaseType; in BuildMemberReferenceExpr()
791 BaseType = Base->getType(); in BuildMemberReferenceExpr()
959 QualType BaseType = BaseExprType; in BuildMemberReferenceExpr() local
961 assert(BaseType->isPointerType()); in BuildMemberReferenceExpr()
962 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
964 R.setBaseObjectType(BaseType); in BuildMemberReferenceExpr()
1595 if (BaseType->isExtVectorType()) { in LookupMemberExpr()
[all …]
H A DSemaCodeComplete.cpp1619 QualType BaseType; member in __anon166de13d0211::CodeCompletionDeclConsumer
1640 this->BaseType = BaseType; in CodeCompletionDeclConsumer()
1661 QualType BaseType = this->BaseType; in IsAccessible() local
2682 if (!BaseType.isNull()) in AddResultTypeChunk()
2692 if (!BaseType.isNull()) in AddResultTypeChunk()
5335 if (BaseType.isNull()) in CodeCompleteMemberReferenceExpr()
5885 if (BaseType.isNull()) in getDesignatedType()
5903 BaseType = NextType; in getDesignatedType()
5905 return BaseType; in getDesignatedType()
5911 BaseType = getDesignatedType(BaseType, D); in CodeCompleteDesignator()
[all …]
H A DSemaDeclCXX.cpp2505 << BaseType; in CheckBaseSpecifier()
2532 if (BaseType->isUnionType()) { in CheckBaseSpecifier()
4209 QualType BaseType; in BuildMemInitializer() local
4214 if (BaseType.isNull()) in BuildMemInitializer()
4244 if (BaseType.isNull()) in BuildMemInitializer()
4306 if (BaseType.isNull()) { in BuildMemInitializer()
4467 if (!BaseType->isDependentType() && !BaseType->isRecordType()) in BuildBaseInitializer()
7172 if (!BaseType) continue; in defaultedSpecialMemberIsConstexpr()
14385 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitCopyAssignment()
14752 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitMoveAssignment()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h43 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, in TBAAAccessInfo()
45 : Kind(Kind), BaseType(BaseType), AccessType(AccessType), in TBAAAccessInfo()
49 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, in TBAAAccessInfo()
51 : TBAAAccessInfo(TBAAAccessKind::Ordinary, BaseType, AccessType, in TBAAAccessInfo()
81 BaseType == Other.BaseType &&
101 llvm::MDNode *BaseType; member
243 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
H A DCodeGenTBAA.cpp412 if (!Info.BaseType) { in getAccessTagInfo()
413 Info.BaseType = Info.AccessType; in getAccessTagInfo()
417 return N = MDHelper.createTBAAAccessTag(Info.BaseType, Info.AccessType, in getAccessTagInfo()
420 return N = MDHelper.createTBAAStructTagNode(Info.BaseType, Info.AccessType, in getAccessTagInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h46 } BaseType; member
60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
68 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
72 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
97 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
100 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
176 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
179 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp316 enum BaseType { enum
328 static enum BaseType getBaseType(const Value *Val) { in getBaseType()
373 return BaseType::NonConstant; in getBaseType()
377 return isExclusivelyDerivedFromNull ? BaseType::ExclusivelyNull in getBaseType()
378 : BaseType::ExclusivelySomeConstant; in getBaseType()
382 return getBaseType(V) == BaseType::NonConstant; in isNotExclusivelyConstantDerived()
812 enum BaseType baseTyLHS = getBaseType(LHS), in verifyInstruction()
833 if ((baseTyLHS == BaseType::ExclusivelySomeConstant && in verifyInstruction()
834 baseTyRHS == BaseType::NonConstant) || in verifyInstruction()
835 (baseTyLHS == BaseType::NonConstant && in verifyInstruction()
[all …]
H A DMDBuilder.cpp233 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, in createTBAAStructTagNode() argument
238 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
241 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()
260 MDNode *MDBuilder::createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType, in createTBAAAccessTag() argument
268 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode, in createTBAAAccessTag()
271 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode}); in createTBAAAccessTag()
275 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0)); in createMutableTBAAAccessTag() local
294 return createTBAAStructTagNode(BaseType, AccessType, Offset); in createMutableTBAAAccessTag()
298 return createTBAAAccessTag(BaseType, AccessType, Offset, Size); in createMutableTBAAAccessTag()
H A DLLVMContextImpl.h467 Metadata *BaseType;
476 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
481 BaseType(BaseType), SizeInBits(SizeInBits), OffsetInBits(OffsetInBits),
487 BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
495 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
517 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
557 Metadata *BaseType;
574 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
582 BaseType(BaseType), SizeInBits(SizeInBits), OffsetInBits(OffsetInBits),
591 BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
[all …]
H A DIRBuilder.cpp1146 auto *BaseType = Base->getType(); in CreatePreserveArrayAccessIndex() local
1147 assert(isa<PointerType>(BaseType) && in CreatePreserveArrayAccessIndex()
1149 assert(cast<PointerType>(BaseType)->isOpaqueOrPointeeTypeMatches(ElTy) && in CreatePreserveArrayAccessIndex()
1162 M, Intrinsic::preserve_array_access_index, {ResultType, BaseType}); in CreatePreserveArrayAccessIndex()
1179 auto *BaseType = Base->getType(); in CreatePreserveUnionAccessIndex() local
1183 M, Intrinsic::preserve_union_access_index, {BaseType, BaseType}); in CreatePreserveUnionAccessIndex()
1197 auto *BaseType = Base->getType(); in CreatePreserveStructAccessIndex() local
1198 assert(isa<PointerType>(BaseType) && in CreatePreserveStructAccessIndex()
1200 assert(cast<PointerType>(BaseType)->isOpaqueOrPointeeTypeMatches(ElTy) && in CreatePreserveStructAccessIndex()
1210 M, Intrinsic::preserve_struct_access_index, {ResultType, BaseType}); in CreatePreserveStructAccessIndex()
H A DDebugInfoMetadata.cpp582 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
588 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
591 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl()
599 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
610 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in getImpl()
613 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl()
624 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in buildODRType() argument
636 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in buildODRType()
649 Metadata *Ops[] = {File, Scope, Name, BaseType, in buildODRType()
663 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in getODRType() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp40 } BaseType = RegBase; member
64 if (BaseType == RegBase && Base.Reg.getNode() != nullptr) { in dump()
67 } else if (BaseType == FrameIndexBase) { in dump()
169 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) { in MatchAddressBase()
175 AM.BaseType = MSP430ISelAddressMode::RegBase; in MatchAddressBase()
197 if (AM.BaseType == MSP430ISelAddressMode::RegBase in MatchAddress()
199 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase; in MatchAddress()
251 if (AM.BaseType == MSP430ISelAddressMode::RegBase) in SelectAddr()
255 Base = (AM.BaseType == MSP430ISelAddressMode::FrameIndexBase) in SelectAddr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp568 static bool hasField(TBAAStructTypeNode BaseType, in hasField() argument
570 for (unsigned I = 0, E = BaseType.getNumFields(); I != E; ++I) { in hasField()
571 TBAAStructTypeNode T = BaseType.getFieldType(I); in hasField()
606 TBAAStructTypeNode BaseType(BaseTag.getBaseType()); in mayBeAccessToSubobjectOf() local
612 if (!BaseType.getNode()) { in mayBeAccessToSubobjectOf()
617 if (BaseType.getNode() == SubobjectTag.getBaseType()) { in mayBeAccessToSubobjectOf()
628 if (NewFormat && BaseType.getNode() == BaseTag.getAccessType()) in mayBeAccessToSubobjectOf()
633 BaseType = BaseType.getField(OffsetInBase); in mayBeAccessToSubobjectOf()
642 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp61 Base BaseType; member
93 return BaseType == Base::FrameIndexBase || BaseReg.getNode() != nullptr; in hasBase()
96 bool hasFrameIndex() const { return BaseType == Base::FrameIndexBase; } in hasFrameIndex()
99 return BaseType == Base::RegBase && BaseReg.getNode() != nullptr; in hasBaseReg()
103 return BaseType == Base::RegBase && IndexReg.getNode() != nullptr; in hasIndexReg()
135 if (BaseType != Base::RegBase) in isPCRelative()
143 BaseType = Base::RegBase; in setBaseReg()
233 if (AM.BaseType == M68kISelAddressMode::Base::FrameIndexBase) { in getFrameIndexAddress()
384 AM.BaseType = M68kISelAddressMode::Base::RegBase; in matchAddressBase()
459 AM.BaseType == M68kISelAddressMode::Base::RegBase && in matchAddressRecursively()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp152 QualType BaseType = T; in GetBaseType() local
155 BaseType = PTy->getPointeeType(); in GetBaseType()
157 BaseType = BPy->getPointeeType(); in GetBaseType()
159 BaseType = ATy->getElementType(); in GetBaseType()
161 BaseType = FTy->getReturnType(); in GetBaseType()
163 BaseType = VTy->getElementType(); in GetBaseType()
165 BaseType = RTy->getPointeeType(); in GetBaseType()
167 BaseType = ATy->getDeducedType(); in GetBaseType()
169 BaseType = PTy->desugar(); in GetBaseType()
174 return BaseType; in GetBaseType()
[all …]
H A DCXXInheritance.cpp40 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous() argument
41 BaseType = BaseType.getUnqualifiedType(); in isAmbiguous()
42 IsVirtBaseAndNumberNonVirtBases Subobjects = ClassSubobjects[BaseType]; in isAmbiguous()
170 QualType BaseType = in lookupInBases() local
179 if (!LookupInDependent && BaseType->isDependentType()) in lookupInBases()
184 IsVirtBaseAndNumberNonVirtBases &Subobjects = ClassSubobjects[BaseType]; in lookupInBases()
193 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()
H A DExprCXX.cpp1363 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in CXXDependentScopeMemberExpr() argument
1370 Base(Base), BaseType(BaseType), QualifierLoc(QualifierLoc), in CXXDependentScopeMemberExpr()
1405 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in Create() argument
1458 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in UnresolvedMemberExpr() argument
1469 BaseType->isInstantiationDependentType()), in UnresolvedMemberExpr()
1472 BaseType->containsUnexpandedParameterPack())), in UnresolvedMemberExpr()
1473 Base(Base), BaseType(BaseType), OperatorLoc(OperatorLoc) { in UnresolvedMemberExpr()
1498 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in Create() argument
1543 QualType BaseType = getBaseType().getNonReferenceType(); in getNamingClass() local
1545 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in getNamingClass()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp161 DIType *BaseType = DDTy->getBaseType(); in getBaseTypeSize() local
163 if (!BaseType) in getBaseTypeSize()
169 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
170 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
173 return getBaseTypeSize(BaseType); in getBaseTypeSize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h190 MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,
203 MDNode *createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h30 using BaseType = RecursiveASTVisitor<RecursiveSymbolVisitor<T>>; variable
122 return BaseType::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h889 TypeIndex BaseType, TypeIndex VBPtrType, in VirtualBaseClassRecord() argument
891 : TypeRecord(Kind), Attrs(Attrs), BaseType(BaseType), in VirtualBaseClassRecord()
894 TypeIndex BaseType, TypeIndex VBPtrType, in VirtualBaseClassRecord() argument
896 : TypeRecord(Kind), Attrs(Access), BaseType(BaseType), in VirtualBaseClassRecord()
900 TypeIndex getBaseType() const { return BaseType; } in getBaseType()
906 TypeIndex BaseType; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp275 SVal StoreManager::evalDerivedToBase(SVal Derived, QualType BaseType, in evalDerivedToBase() argument
281 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl(); in evalDerivedToBase()
283 BaseDecl = BaseType->getAsCXXRecordDecl(); in evalDerivedToBase()
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_tree.def60 typedef BaseType ENUM (
86 (3 dot1dBaseType BaseType op_dot1d_base GET)
192 (4 begemotBridgeBaseType BaseType GET)

1234