Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h62 using BaseType = RecursiveASTVisitor<Derived>; variable
71 bool Result = BaseType::TraverseObjCImplementationDecl(D); in TraverseObjCImplementationDecl()
76 bool Result = BaseType::TraverseObjCCategoryImplDecl(D); in TraverseObjCCategoryImplDecl()
86 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
92 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
105 if (!BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Sibling)) in TraverseDeclContextHelper()
108 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
148 assert(!BaseType::getDerived().shouldTraversePostOrder() && in TraverseAdditionalLexicallyNestedDeclarations()
152 if (!BaseType::getDerived().TraverseDecl(D)) in TraverseAdditionalLexicallyNestedDeclarations()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DRangeMap.h35 typedef B BaseType; typedef
38 BaseType base;
45 void Clear(BaseType b = 0) {
139 typedef B BaseType; typedef
218 BaseType GetMinRangeBase(BaseType fail_value) const { in GetMinRangeBase()
229 BaseType GetMaxRangeEnd(BaseType fail_value) const { in GetMaxRangeEnd()
343 typedef B BaseType; typedef
450 BaseType GetMinRangeBase(BaseType fail_value) const { in GetMinRangeBase()
461 BaseType GetMaxRangeEnd(BaseType fail_value) const { in GetMaxRangeEnd()
836 typedef B BaseType; typedef
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprMember.cpp508 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
535 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
750 if (BaseType->isDependentType() || in BuildMemberReferenceExpr()
762 QualType RecordTy = BaseType; in BuildMemberReferenceExpr()
790 BaseType = Base->getType(); in BuildMemberReferenceExpr()
953 QualType BaseType = BaseExprType; in BuildMemberReferenceExpr() local
955 assert(BaseType->isPointerType()); in BuildMemberReferenceExpr()
956 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
958 R.setBaseObjectType(BaseType); in BuildMemberReferenceExpr()
1580 if (BaseType->isExtVectorType()) { in LookupMemberExpr()
[all …]
H A DSemaDeclCXX.cpp2228 << BaseType; in CheckBaseSpecifier()
2240 if (!BaseType->isRecordType()) { in CheckBaseSpecifier()
2247 if (BaseType->isUnionType()) { in CheckBaseSpecifier()
3873 QualType BaseType; in BuildMemInitializer() local
3906 if (BaseType.isNull()) in BuildMemInitializer()
3969 if (BaseType.isNull()) { in BuildMemInitializer()
4129 if (!BaseType->isDependentType() && !BaseType->isRecordType()) in BuildBaseInitializer()
6404 if (!BaseType) continue; in defaultedSpecialMemberIsConstexpr()
12051 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitCopyAssignment()
12416 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitMoveAssignment()
[all …]
H A DSemaCodeComplete.cpp1291 QualType BaseType; member in __anonc8a3b6180211::CodeCompletionDeclConsumer
1297 QualType BaseType = QualType(), in CodeCompletionDeclConsumer() argument
1303 if (BaseType.isNull()) { in CodeCompletionDeclConsumer()
1312 this->BaseType = BaseType; in CodeCompletionDeclConsumer()
1333 QualType BaseType = this->BaseType; in IsAccessible() local
1343 BaseType = QualType(); in IsAccessible()
1350 BaseType = QualType(); in IsAccessible()
2276 if (!BaseType.isNull()) in AddResultTypeChunk()
2286 if (!BaseType.isNull()) in AddResultTypeChunk()
2287 T = Ivar->getUsageType(BaseType); in AddResultTypeChunk()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTBAA.h44 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, in TBAAAccessInfo()
46 : Kind(Kind), BaseType(BaseType), AccessType(AccessType), in TBAAAccessInfo()
50 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, in TBAAAccessInfo()
52 : TBAAAccessInfo(TBAAAccessKind::Ordinary, BaseType, AccessType, in TBAAAccessInfo()
82 BaseType == Other.BaseType &&
102 llvm::MDNode *BaseType; member
244 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
H A DCodeGenTBAA.cpp371 if (!Info.BaseType) { in getAccessTagInfo()
372 Info.BaseType = Info.AccessType; in getAccessTagInfo()
376 return N = MDHelper.createTBAAAccessTag(Info.BaseType, Info.AccessType, in getAccessTagInfo()
379 return N = MDHelper.createTBAAStructTagNode(Info.BaseType, Info.AccessType, in getAccessTagInfo()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrBuilder.h47 } BaseType; member
61 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
69 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
73 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
98 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
101 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
177 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
180 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DMDBuilder.cpp194 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, in createTBAAStructTagNode() argument
199 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
202 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()
221 MDNode *MDBuilder::createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType, in createTBAAAccessTag() argument
229 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode, in createTBAAAccessTag()
232 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode}); in createTBAAAccessTag()
236 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0)); in createMutableTBAAAccessTag() local
255 return createTBAAStructTagNode(BaseType, AccessType, Offset); in createMutableTBAAAccessTag()
259 return createTBAAAccessTag(BaseType, AccessType, Offset, Size); in createMutableTBAAAccessTag()
H A DSafepointIRVerifier.cpp304 enum BaseType { enum
316 static enum BaseType getBaseType(const Value *Val) { in getBaseType()
362 return BaseType::NonConstant; in getBaseType()
366 return isExclusivelyDerivedFromNull ? BaseType::ExclusivelyNull in getBaseType()
367 : BaseType::ExclusivelySomeConstant; in getBaseType()
371 return getBaseType(V) == BaseType::NonConstant; in isNotExclusivelyConstantDerived()
802 enum BaseType baseTyLHS = getBaseType(LHS), in verifyInstruction()
823 if ((baseTyLHS == BaseType::ExclusivelySomeConstant && in verifyInstruction()
824 baseTyRHS == BaseType::NonConstant) || in verifyInstruction()
825 (baseTyLHS == BaseType::NonConstant && in verifyInstruction()
[all …]
H A DLLVMContextImpl.h411 Metadata *BaseType;
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;
514 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
520 BaseType(BaseType), SizeInBits(SizeInBits), OffsetInBits(OffsetInBits),
528 BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
[all …]
H A DDebugInfoMetadata.cpp365 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
371 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
374 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl()
382 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
391 DICompositeType, (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
394 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl()
404 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in buildODRType() argument
414 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in buildODRType()
426 Metadata *Ops[] = {File, Scope, Name, BaseType, in buildODRType()
439 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in getODRType() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp41 } BaseType; member
57 : BaseType(RegBase), Disp(0), GV(nullptr), CP(nullptr), in MSP430ISelAddressMode()
68 if (BaseType == RegBase && Base.Reg.getNode() != nullptr) { in dump()
71 } else if (BaseType == FrameIndexBase) { in dump()
173 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) { in MatchAddressBase()
179 AM.BaseType = MSP430ISelAddressMode::RegBase; in MatchAddressBase()
201 if (AM.BaseType == MSP430ISelAddressMode::RegBase in MatchAddress()
203 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase; in MatchAddress()
255 if (AM.BaseType == MSP430ISelAddressMode::RegBase) in SelectAddr()
259 Base = (AM.BaseType == MSP430ISelAddressMode::FrameIndexBase) in SelectAddr()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp566 static bool hasField(TBAAStructTypeNode BaseType, in hasField() argument
568 for (unsigned I = 0, E = BaseType.getNumFields(); I != E; ++I) { in hasField()
569 TBAAStructTypeNode T = BaseType.getFieldType(I); in hasField()
604 TBAAStructTypeNode BaseType(BaseTag.getBaseType()); in mayBeAccessToSubobjectOf() local
610 if (!BaseType.getNode()) { in mayBeAccessToSubobjectOf()
615 if (BaseType.getNode() == SubobjectTag.getBaseType()) { in mayBeAccessToSubobjectOf()
626 if (NewFormat && BaseType.getNode() == BaseTag.getAccessType()) in mayBeAccessToSubobjectOf()
631 BaseType = BaseType.getField(OffsetInBase); in mayBeAccessToSubobjectOf()
640 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
H A DLoads.cpp222 Type *BaseType = nullptr; in isSafeToLoadUnconditionally() local
226 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
233 BaseType = GV->getType()->getElementType(); in isSafeToLoadUnconditionally()
245 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
247 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
251 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclPrinter.cpp130 QualType BaseType = T; in GetBaseType() local
133 BaseType = PTy->getPointeeType(); in GetBaseType()
135 BaseType = BPy->getPointeeType(); in GetBaseType()
137 BaseType = ATy->getElementType(); in GetBaseType()
139 BaseType = FTy->getReturnType(); in GetBaseType()
141 BaseType = VTy->getElementType(); in GetBaseType()
143 BaseType = RTy->getPointeeType(); in GetBaseType()
145 BaseType = ATy->getDeducedType(); in GetBaseType()
147 BaseType = PTy->desugar(); in GetBaseType()
152 return BaseType; in GetBaseType()
[all …]
H A DCXXInheritance.cpp64 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous() argument
65 BaseType = BaseType.getUnqualifiedType(); in isAmbiguous()
66 IsVirtBaseAndNumberNonVirtBases Subobjects = ClassSubobjects[BaseType]; in isAmbiguous()
204 QualType BaseType = in lookupInBases() local
213 if (!LookupInDependent && BaseType->isDependentType()) in lookupInBases()
218 IsVirtBaseAndNumberNonVirtBases &Subobjects = ClassSubobjects[BaseType]; in lookupInBases()
227 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()
H A DExprCXX.cpp1302 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in CXXDependentScopeMemberExpr() argument
1313 Base(Base), BaseType(BaseType), QualifierLoc(QualifierLoc), in CXXDependentScopeMemberExpr()
1404 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in UnresolvedMemberExpr() argument
1415 BaseType->isInstantiationDependentType()), in UnresolvedMemberExpr()
1418 BaseType->containsUnexpandedParameterPack())), in UnresolvedMemberExpr()
1419 Base(Base), BaseType(BaseType), OperatorLoc(OperatorLoc) { in UnresolvedMemberExpr()
1444 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in Create() argument
1489 QualType BaseType = getBaseType().getNonReferenceType(); in getNamingClass() local
1491 const auto *PT = BaseType->getAs<PointerType>(); in getNamingClass()
1493 BaseType = PT->getPointeeType(); in getNamingClass()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp158 DIType *BaseType = DDTy->getBaseType().resolve(); in getBaseTypeSize() local
160 if (!BaseType) in getBaseTypeSize()
166 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
167 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
170 return getBaseTypeSize(BaseType); in getBaseTypeSize()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h31 using BaseType = RecursiveASTVisitor<RecursiveSymbolVisitor<T>>; variable
113 return BaseType::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DMDBuilder.h176 MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,
189 MDNode *createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType,
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp173 auto *BaseType = ATy->getBaseType().resolve(); in completeType() local
174 ArrayInfo.ElemType = BDebug.getTypeId(BaseType); in completeType()
192 uint32_t BaseTypeSize = BaseType->getSizeInBits(); in completeType()
194 const auto *DDTy = cast<DIDerivedType>(BaseType); in completeType()
195 BaseType = DDTy->getBaseType().resolve(); in completeType()
196 assert(BaseType); in completeType()
197 BaseTypeSize = BaseType->getSizeInBits(); in completeType()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h896 TypeIndex BaseType, TypeIndex VBPtrType, in VirtualBaseClassRecord() argument
898 : TypeRecord(Kind), Attrs(Attrs), BaseType(BaseType), in VirtualBaseClassRecord()
901 TypeIndex BaseType, TypeIndex VBPtrType, in VirtualBaseClassRecord() argument
903 : TypeRecord(Kind), Attrs(Access), BaseType(BaseType), in VirtualBaseClassRecord()
907 TypeIndex getBaseType() const { return BaseType; } in getBaseType()
913 TypeIndex BaseType; variable
/freebsd-12.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)
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp274 SVal StoreManager::evalDerivedToBase(SVal Derived, QualType BaseType, in evalDerivedToBase() argument
280 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl(); in evalDerivedToBase()
282 BaseDecl = BaseType->getAsCXXRecordDecl(); in evalDerivedToBase()

1234