Home
last modified time | relevance | path

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

12345

/freebsd/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/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVType.cpp147 LVElement *BaseType = getType(); in resolveName() local
148 if (BaseType && options().getAttributeArgument()) in resolveName()
149 if (BaseType->isTemplateParam()) in resolveName()
150 BaseType = BaseType->getType(); in resolveName()
152 if (BaseType && !BaseType->getIsResolvedName()) in resolveName()
153 BaseType->resolveName(); in resolveName()
154 resolveFullname(BaseType, getName()); in resolveName()
307 LVElement *BaseType = getTypeAsScope(); in getUnderlyingType() local
308 if (BaseType) in getUnderlyingType()
310 return BaseType; in getUnderlyingType()
[all …]
H A DLVElement.cpp273 void LVElement::resolveFullname(LVElement *BaseType, StringRef Name) { in resolveFullname() argument
284 StringRef BaseTypename = BaseType ? BaseType->getName() : emptyString(); in resolveFullname()
291 if (!BaseType) in resolveFullname()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp557 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, in ActOnDependentMemberExpr() argument
574 const PointerType *PT = BaseType->getAs<PointerType>(); in ActOnDependentMemberExpr()
579 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr()
584 assert(BaseType->isDependentType() || NameInfo.getName().isDependentName() || in ActOnDependentMemberExpr()
594 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
604 QualType BaseType, in DiagnoseQualifiedMemberReference() argument
614 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
618 QualType BaseType, in CheckQualifiedMemberReference() argument
622 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
626 assert(BaseType->isDependentType()); in CheckQualifiedMemberReference()
[all …]
H A DSemaType.cpp9815 static QualType GetEnumUnderlyingType(Sema &S, QualType BaseType, in GetEnumUnderlyingType() argument
9817 assert(BaseType->isEnumeralType()); in GetEnumUnderlyingType()
9818 EnumDecl *ED = BaseType->castAs<EnumType>()->getDecl(); in GetEnumUnderlyingType()
9829 QualType Sema::BuiltinEnumUnderlyingType(QualType BaseType, in BuiltinEnumUnderlyingType() argument
9831 if (!BaseType->isEnumeralType()) { in BuiltinEnumUnderlyingType()
9839 if (BaseType->isIncompleteType(&FwdDecl)) { in BuiltinEnumUnderlyingType()
9840 Diag(Loc, diag::err_underlying_type_of_incomplete_enum) << BaseType; in BuiltinEnumUnderlyingType()
9845 return GetEnumUnderlyingType(*this, BaseType, Loc); in BuiltinEnumUnderlyingType()
9848 QualType Sema::BuiltinAddPointer(QualType BaseType, SourceLocation Loc) { in BuiltinAddPointer() argument
9849 QualType Pointer = BaseType.isReferenceable() || BaseType->isVoidType() in BuiltinAddPointer()
[all …]
H A DSemaCodeComplete.cpp440 static QualType getDesignatedType(QualType BaseType, const Designation &Desig,
444 QualType BaseType, in enterDesignatedInitializer() argument
450 Type = getDesignatedType(BaseType, D, Resolver); in enterDesignatedInitializer()
1722 QualType BaseType; member in __anone047e0890311::CodeCompletionDeclConsumer
1728 QualType BaseType = QualType(), in CodeCompletionDeclConsumer() argument
1734 if (BaseType.isNull()) { in CodeCompletionDeclConsumer()
1738 BaseType = ThisType->getPointeeType(); in CodeCompletionDeclConsumer()
1740 NamingClass = BaseType->getAsCXXRecordDecl(); in CodeCompletionDeclConsumer()
1743 this->BaseType = BaseType; in CodeCompletionDeclConsumer()
1750 Results.AddResult(Result, InitialLookupCtx, Hiding, InBaseClass, BaseType); in FoundDecl()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h30 typedef B BaseType; typedef
33 BaseType base;
38 Range(BaseType b, SizeType s) : base(b), size(s) {} in Range()
40 void Clear(BaseType b = 0) {
45 BaseType GetRangeBase() const { return base; } in GetRangeBase()
48 void SetRangeBase(BaseType b) { base = b; } in SetRangeBase()
50 void Slide(BaseType slide) { base += slide; } in Slide()
59 auto new_end = std::max<BaseType>(GetRangeEnd(), rhs.GetRangeEnd()); in Union()
60 base = std::min<BaseType>(base, rhs.base); in Union()
68 const BaseType lhs_base = this->GetRangeBase(); in Intersect()
[all …]
/freebsd/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
254 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h43 enum { RegBase, FrameIndexBase } BaseType = RegBase; member
62 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
66 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
91 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
94 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
173 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
176 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp315 enum BaseType { enum
327 static enum BaseType getBaseType(const Value *Val) { in getBaseType()
383 return BaseType::NonConstant; in getBaseType()
387 return isExclusivelyDerivedFromNull ? BaseType::ExclusivelyNull in getBaseType()
388 : BaseType::ExclusivelySomeConstant; in getBaseType()
392 return getBaseType(V) == BaseType::NonConstant; in isNotExclusivelyConstantDerived()
819 enum BaseType baseTyLHS = getBaseType(LHS), in verifyInstruction()
840 if ((baseTyLHS == BaseType::ExclusivelySomeConstant && in verifyInstruction()
841 baseTyRHS == BaseType::NonConstant) || in verifyInstruction()
842 (baseTyLHS == BaseType::NonConstant && in verifyInstruction()
[all …]
H A DMDBuilder.cpp275 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, in createTBAAStructTagNode() argument
280 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
283 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()
302 MDNode *MDBuilder::createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType, in createTBAAAccessTag() argument
310 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode, in createTBAAAccessTag()
313 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode}); in createTBAAAccessTag()
317 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0)); in createMutableTBAAAccessTag() local
336 return createTBAAStructTagNode(BaseType, AccessType, Offset); in createMutableTBAAAccessTag()
340 return createTBAAAccessTag(BaseType, AccessType, Offset, Size); in createMutableTBAAAccessTag()
H A DLLVMContextImpl.h613 Metadata *BaseType;
624 Metadata *Scope, Metadata *BaseType, Metadata *SizeInBits,
630 BaseType(BaseType), SizeInBits(SizeInBits), OffsetInBits(OffsetInBits),
637 BaseType(N->getRawBaseType()), SizeInBits(N->getRawSizeInBits()),
646 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
669 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
681 Metadata *BaseType;
689 Metadata *BaseType, Metadata *LowerBound, Metadata *UpperBound,
693 BaseType(BaseType), LowerBound(LowerBound), UpperBound(UpperBound),
699 BaseType(N->getRawBaseType()), LowerBound(N->getRawLowerBound()),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp36 } BaseType = RegBase; member
60 if (BaseType == RegBase && Base.Reg.getNode() != nullptr) { in dump()
63 } else if (BaseType == FrameIndexBase) { in dump()
175 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) { in MatchAddressBase()
181 AM.BaseType = MSP430ISelAddressMode::RegBase; in MatchAddressBase()
203 if (AM.BaseType == MSP430ISelAddressMode::RegBase in MatchAddress()
205 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase; in MatchAddress()
257 if (AM.BaseType == MSP430ISelAddressMode::RegBase) in SelectAddr()
261 Base = (AM.BaseType == MSP430ISelAddressMode::FrameIndexBase) in SelectAddr()
/freebsd/contrib/llvm-project/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()
617 BaseType.getNode() == BaseTag.getAccessType() || in mayBeAccessToSubobjectOf()
627 if (NewFormat && BaseType.getNode() == BaseTag.getAccessType()) in mayBeAccessToSubobjectOf()
632 BaseType = BaseType.getField(OffsetInBase); in mayBeAccessToSubobjectOf()
641 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp37 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous() argument
38 BaseType = BaseType.getUnqualifiedType(); in isAmbiguous()
39 IsVirtBaseAndNumberNonVirtBases Subobjects = ClassSubobjects[BaseType]; in isAmbiguous()
168 QualType BaseType = in lookupInBases() local
171 bool isCurrentInstantiation = isa<InjectedClassNameType>(BaseType); in lookupInBases()
185 (BaseType->isDependentType() && !isCurrentInstantiation)) in lookupInBases()
190 IsVirtBaseAndNumberNonVirtBases &Subobjects = ClassSubobjects[BaseType]; in lookupInBases()
199 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()
H A DDeclPrinter.cpp160 QualType BaseType = T; in GetBaseType() local
161 while (!BaseType->isSpecifierType()) { in GetBaseType()
162 if (const PointerType *PTy = BaseType->getAs<PointerType>()) in GetBaseType()
163 BaseType = PTy->getPointeeType(); in GetBaseType()
165 BaseType->getAs<ObjCObjectPointerType>()) in GetBaseType()
166 BaseType = OPT->getPointeeType(); in GetBaseType()
167 else if (const BlockPointerType *BPy = BaseType->getAs<BlockPointerType>()) in GetBaseType()
168 BaseType = BPy->getPointeeType(); in GetBaseType()
169 else if (const ArrayType *ATy = dyn_cast<ArrayType>(BaseType)) in GetBaseType()
170 BaseType = ATy->getElementType(); in GetBaseType()
[all …]
H A DExprCXX.cpp1497 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in CXXDependentScopeMemberExpr() argument
1504 Base(Base), BaseType(BaseType), QualifierLoc(QualifierLoc), in CXXDependentScopeMemberExpr()
1539 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in Create() argument
1555 Ctx, Base, BaseType, IsArrow, OperatorLoc, QualifierLoc, TemplateKWLoc, in Create()
1602 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in UnresolvedMemberExpr() argument
1611 ((Base && Base->isTypeDependent()) || BaseType->isDependentType()), in UnresolvedMemberExpr()
1613 BaseType->isInstantiationDependentType()), in UnresolvedMemberExpr()
1616 BaseType->containsUnexpandedParameterPack())), in UnresolvedMemberExpr()
1617 Base(Base), BaseType(BaseType), OperatorLoc(OperatorLoc) { in UnresolvedMemberExpr()
1642 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in Create() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp161 DIType *BaseType = nullptr; in getBaseTypeSize() local
163 BaseType = DDTy->getBaseType(); in getBaseTypeSize()
165 BaseType = SRTy->getBaseType(); in getBaseTypeSize()
167 if (!BaseType) in getBaseTypeSize()
173 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
174 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
177 return getBaseTypeSize(BaseType); in getBaseTypeSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp62 Base BaseType; member
84 : AM(AT), BaseType(Base::RegBase), Disp(0), BaseFrameIndex(0), IndexReg(), in M68kISelAddressMode()
94 return BaseType == Base::FrameIndexBase || BaseReg.getNode() != nullptr; in hasBase()
97 bool hasFrameIndex() const { return BaseType == Base::FrameIndexBase; } in hasFrameIndex()
100 return BaseType == Base::RegBase && BaseReg.getNode() != nullptr; in hasBaseReg()
104 return BaseType == Base::RegBase && IndexReg.getNode() != nullptr; in hasIndexReg()
136 if (BaseType != Base::RegBase) in isPCRelative()
144 BaseType = Base::RegBase; in setBaseReg()
237 if (AM.BaseType == M68kISelAddressMode::Base::FrameIndexBase) { in getFrameIndexAddress()
427 AM.BaseType = M68kISelAddressMode::Base::RegBase; in matchAddressBase()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp527 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type)) in getTypeSizeImpl() local
528 if (BaseType.getTag() == DW_TAG_subroutine_type) in getTypeSizeImpl()
538 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type)) in getTypeSizeImpl() local
539 return getTypeSizeImpl(BaseType, PointerSize, Visited); in getTypeSizeImpl()
543 DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type); in getTypeSizeImpl() local
544 if (!BaseType) in getTypeSizeImpl()
547 getTypeSizeImpl(BaseType, PointerSize, Visited); in getTypeSizeImpl()
571 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type)) in getTypeSizeImpl() local
572 return getTypeSizeImpl(BaseType, PointerSize, Visited); in getTypeSizeImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h288 SPIRVType *assignVectTypeToVReg(SPIRVType *BaseType, unsigned NumElements,
494 getOrCreateSPIRVPointerTypeInternal(SPIRVType *BaseType,
548 Register buildGlobalVariable(Register Reg, SPIRVType *BaseType,
575 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
579 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
586 SPIRVType *getOrCreateSPIRVPointerType(const Type *BaseType,
589 SPIRVType *getOrCreateSPIRVPointerType(const Type *BaseType, MachineInstr &I,
596 SPIRVType *getOrCreateSPIRVPointerType(SPIRVType *BaseType,
H A DSPIRVGlobalRegistry.cpp111 SPIRVType *BaseType, unsigned NumElements, Register VReg, MachineInstr &I, in assignVectTypeToVReg() argument
114 getOrCreateSPIRVVectorType(BaseType, NumElements, I, TII); in assignVectTypeToVReg()
701 Register ResVReg, SPIRVType *BaseType, StringRef Name, in buildGlobalVariable() argument
715 const Type *Ty = getTypeForSPIRVType(BaseType); // TODO: check type. in buildGlobalVariable()
734 .addUse(getSPIRVTypeID(BaseType)) in buildGlobalVariable()
757 assignSPIRVTypeToVReg(BaseType, Reg, MIRBuilder.getMF()); in buildGlobalVariable()
763 if (!DefType || DefType != BaseType) in buildGlobalVariable()
764 assignSPIRVTypeToVReg(BaseType, Reg, MIRBuilder.getMF()); in buildGlobalVariable()
1743 SPIRVType *BaseType, unsigned NumElements, MachineIRBuilder &MIRBuilder, in getOrCreateSPIRVVectorType() argument
1746 FixedVectorType::get(const_cast<Type *>(getTypeForSPIRVType(BaseType)), in getOrCreateSPIRVVectorType()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1273 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
1284 Line, Scope, BaseType, SizeInBitsNode, AlignInBits,
1290 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
1300 return getImpl(Context, Tag, Name, File, Line, Scope, BaseType,
1307 unsigned Line, DIScope *Scope, DIType *BaseType, Metadata *SizeInBits,
1314 Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits,
1320 unsigned Line, Metadata *Scope, Metadata *BaseType,
1338 unsigned Line, Metadata *Scope, Metadata *BaseType,
1345 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1350 DIScope *Scope, DIType *BaseType, Metadata *SizeInBits,
[all …]
H A DMDBuilder.h231 LLVM_ABI MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,
245 LLVM_ABI MDNode *createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType,

12345