Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprMember.cpp477 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, in ActOnDependentMemberExpr() argument
494 const PointerType *PT = BaseType->getAs<PointerType>(); in ActOnDependentMemberExpr()
499 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr()
504 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
511 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
521 QualType BaseType, in DiagnoseQualifiedMemberReference() argument
531 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
547 QualType BaseType, in CheckQualifiedMemberReference() argument
551 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
555 assert(BaseType->isDependentType()); in CheckQualifiedMemberReference()
[all …]
H A DSemaCodeComplete.cpp412 static QualType getDesignatedType(QualType BaseType, const Designation &Desig);
415 QualType BaseType, in enterDesignatedInitializer() argument
420 Type = getDesignatedType(BaseType, D); in enterDesignatedInitializer()
1619 QualType BaseType; member in __anon4254e5140211::CodeCompletionDeclConsumer
1625 QualType BaseType = QualType(), in CodeCompletionDeclConsumer() argument
1631 if (BaseType.isNull()) { in CodeCompletionDeclConsumer()
1635 BaseType = ThisType->getPointeeType(); in CodeCompletionDeclConsumer()
1637 NamingClass = BaseType->getAsCXXRecordDecl(); in CodeCompletionDeclConsumer()
1640 this->BaseType = BaseType; in CodeCompletionDeclConsumer()
1661 QualType BaseType = this->BaseType; in IsAccessible() local
[all …]
H A DSemaDeclCXX.cpp1342 QualType BaseType = BestPath->back().Base->getType(); in findDecomposableBaseClass() local
1343 if (Paths.isAmbiguous(S.Context.getCanonicalType(BaseType))) { in findDecomposableBaseClass()
1345 << RD << BaseType << S.getAmbiguousPathsDisplayString(Paths); in findDecomposableBaseClass()
1350 S.CheckBaseClassAccess(Loc, BaseType, S.Context.getRecordType(RD), in findDecomposableBaseClass()
1354 ClassWithFields = BaseType->getAsCXXRecordDecl(); in findDecomposableBaseClass()
1384 QualType BaseType = S.Context.getQualifiedType(S.Context.getRecordType(RD), in checkMemberDecomposition() local
1444 E = S.ImpCastExprToType(E.get(), BaseType, CK_UncheckedDerivedToBase, in checkMemberDecomposition()
2470 QualType BaseType = TInfo->getType(); in CheckBaseSpecifier() local
2471 if (BaseType->containsErrors()) { in CheckBaseSpecifier()
2492 if (BaseType->isDependentType()) { in CheckBaseSpecifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/array/
H A Dequality.d169 template BaseType(T) in BaseType() function
172 alias BaseType = BaseType!(typeof(T.init[0])); in BaseType() local
174 alias BaseType = ubyte; in BaseType() local
176 alias BaseType = size_t; in BaseType() local
178 alias BaseType = T; in BaseType() local
189 alias B1 = BaseType!T1; in useMemcmp()
190 alias B2 = BaseType!T2; in useMemcmp()
/netbsd-src/external/apache2/llvm/dist/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 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 …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp61 Base BaseType; member
83 : AM(AT), BaseType(Base::RegBase), Disp(0), BaseFrameIndex(0), IndexReg(), in M68kISelAddressMode()
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()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclPrinter.cpp151 QualType BaseType = T; in GetBaseType() local
152 while (!BaseType->isSpecifierType()) { in GetBaseType()
153 if (const PointerType *PTy = BaseType->getAs<PointerType>()) in GetBaseType()
154 BaseType = PTy->getPointeeType(); in GetBaseType()
155 else if (const BlockPointerType *BPy = BaseType->getAs<BlockPointerType>()) in GetBaseType()
156 BaseType = BPy->getPointeeType(); in GetBaseType()
157 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType)) in GetBaseType()
158 BaseType = ATy->getElementType(); in GetBaseType()
159 else if (const FunctionType* FTy = BaseType->getAs<FunctionType>()) in GetBaseType()
160 BaseType = FTy->getReturnType(); 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.cpp1362 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in CXXDependentScopeMemberExpr() argument
1369 Base(Base), BaseType(BaseType), QualifierLoc(QualifierLoc), in CXXDependentScopeMemberExpr()
1404 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, in Create() argument
1420 Ctx, Base, BaseType, IsArrow, OperatorLoc, QualifierLoc, TemplateKWLoc, in Create()
1457 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in UnresolvedMemberExpr() argument
1466 ((Base && Base->isTypeDependent()) || BaseType->isDependentType()), in UnresolvedMemberExpr()
1468 BaseType->isInstantiationDependentType()), in UnresolvedMemberExpr()
1471 BaseType->containsUnexpandedParameterPack())), in UnresolvedMemberExpr()
1472 Base(Base), BaseType(BaseType), OperatorLoc(OperatorLoc) { in UnresolvedMemberExpr()
1497 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in Create() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DMDBuilder.h190 MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,
203 MDNode *createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h30 using BaseType = RecursiveASTVisitor<RecursiveSymbolVisitor<T>>; variable
122 return BaseType::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
/netbsd-src/sys/arch/prep/include/
H A Dresidual.h185 unsigned char BaseType; /* See pnp.h for bit definitions */ member
320 unsigned char * DevID, int BaseType,
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/sys/arch/prep/prep/
H A Dresidual.c1190 } BaseType[] = { in bustype_subr() local
1205 type = (id->BaseType >= NELEMS(BaseType)) ? 0 : id->BaseType; in bustype_subr()
1207 printf(" BaseType = %s (%d)\n", BaseType[type].str, id->BaseType); in bustype_subr()
1208 if (BaseType[type].func != NULL) in bustype_subr()
1209 (*BaseType[type].func)(id); in bustype_subr()
/netbsd-src/external/apache2/llvm/dist/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