| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | fallible_iterator.h | 94 static fallible_iterator end(Underlying I) { in end() 106 template <typename T = Underlying> 113 template <typename T = Underlying> 195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator() 214 Underlying I; 220 template <typename Underlying> 221 fallible_iterator<Underlying> make_fallible_itr(Underlying I, Error &Err) { in make_fallible_itr() 227 template <typename Underlying> 228 fallible_iterator<Underlying> make_fallible_end(Underlying E) { in make_fallible_end() 232 template <typename Underlying> [all …]
|
| H A D | BitmaskEnum.h | 90 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) { 103 return static_cast<E>(~Underlying(Val) & Mask<E>()); 108 return static_cast<E>(Underlying(LHS) | Underlying(RHS)); 113 return static_cast<E>(Underlying(LHS) & Underlying(RHS)); 118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
|
| H A D | EnumeratedArray.h | 30 Underlying[IX] = V; in EnumeratedArray() 36 return Underlying[IX]; 46 ValueType Underlying[Size];
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FindTargetTests.cpp | 355 {"namespace a", Rel::Underlying}); in TEST_F() 371 {"struct S", Rel::Underlying}); in TEST_F() 378 {"struct S", Rel::Underlying}); in TEST_F() 408 EXPECT_DECLS("DecltypeTypeLoc", {"struct S", Rel::Underlying}); in TEST_F() 661 Rel::TemplateInstantiation | Rel::Underlying}, in TEST_F() 662 {"class SmallVector", Rel::TemplatePattern | Rel::Underlying}, in TEST_F() 913 {"using type = int", Rel::Alias | Rel::Underlying}, in TEST_F() 914 {"using type = C::type", Rel::Alias | Rel::Underlying}, in TEST_F() 937 Rel::Alias | Rel::Underlying}); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 750 InstrProfReaderIndexBase &Underlying; member in __anonab0fb0340211::InstrProfReaderNullRemapper 753 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument 754 : Underlying(Underlying) {} in InstrProfReaderNullRemapper() 758 return Underlying.getRecords(FuncName, Data); in getRecords() 770 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument 771 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper() 803 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings() 828 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords() 844 return Underlying.getRecords(FuncName, Data); in getRecords() 862 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | libcall-fulfilled.ll | 9 ; Underlying libcall declaration 32 ; Underlying libcall definition
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeTypeEnum.cpp | 186 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local 189 if (!Underlying.isSimple() || in getBuiltinType() 190 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType() 194 switch (Underlying.getSimpleKind()) { in getBuiltinType()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.h | 119 Underlying, enumerator 174 using Set = std::bitset<static_cast<unsigned>(DeclRelation::Underlying) + 1>;
|
| H A D | FindTarget.cpp | 184 add(TND->getUnderlyingType(), Flags | Rel::Underlying); in add() 195 add(NAD->getUnderlyingDecl(), Flags | Rel::Underlying); in add() 377 Outer.add(DTT->getUnderlyingType(), Flags | Rel::Underlying); in add() 435 Outer.add(TST->getAliasedType(), Flags | Rel::Underlying); in add() 622 DeclRelation::Underlying, Resolver)}); in refInDecl() 1134 REL_CASE(Underlying); in operator <<()
|
| H A D | SemanticHighlighting.cpp | 269 const Type *Underlying = T->getPointeeOrArrayElementType(); in isDefaultLibrary() local 270 if (Underlying->isBuiltinType()) in isDefaultLibrary() 272 if (auto *TD = dyn_cast<TemplateTypeParmType>(Underlying)) in isDefaultLibrary() 274 if (auto *TD = Underlying->getAsTagDecl()) in isDefaultLibrary()
|
| H A D | XRefs.cpp | 1519 DeclRelation::Alias | DeclRelation::Underlying; in getSymbolInfo() 1752 auto Decls = explicitReferenceTargets(N->ASTNode, DeclRelation::Underlying, in findRecordTypeAt()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local 64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ODRHash.cpp | 1038 if (const TypedefType *Underlying = in VisitTypedefType() local 1040 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType() 1043 if (const ElaboratedType *Underlying = in VisitTypedefType() local 1045 UnderlyingType = Underlying->getNamedType(); in VisitTypedefType()
|
| H A D | ASTDiagnostic.cpp | 175 QualType Underlying; in desugarForDiagnostic() local 184 Underlying = CTy->desugar(); \ in desugarForDiagnostic() 197 if (isa<VectorType>(Underlying)) in desugarForDiagnostic() 201 if (const TagType *UTT = Underlying->getAs<TagType>()) in desugarForDiagnostic() 208 QT = Underlying; in desugarForDiagnostic()
|
| H A D | ASTContext.cpp | 4628 QualType Underlying) const { in getTypedefType() 4631 if (Underlying.isNull()) in getTypedefType() 4632 Underlying = Decl->getUnderlyingType(); in getTypedefType() 4633 QualType Canonical = getCanonicalType(Underlying); in getTypedefType() 4635 TypedefType(Type::Typedef, Decl, Underlying, Canonical); in getTypedefType() 4642 QualType Underlying) const { in getUsingType() 4651 assert(!Underlying.hasLocalQualifiers()); in getUsingType() 4653 QualType Canon = Underlying.getCanonicalType(); in getUsingType() 4656 new (*this, TypeAlignment) UsingType(Found, Underlying, Canon); in getUsingType() 4893 if (!Underlying.isNull()) in getTemplateSpecializationType() [all …]
|
| H A D | Type.cpp | 3447 UsingType::UsingType(const UsingShadowDecl *Found, QualType Underlying, in UsingType() argument 3449 : Type(Using, Canon, toSemanticDependence(Underlying->getDependence())), in UsingType() 3451 assert(Underlying == getUnderlyingType()); in UsingType()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2806 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local 2807 if (Underlying != TrampMem && in findInitTrampolineFromAlloca() 2808 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca() 2810 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3224 NamedDecl *Underlying = nullptr; variable 3284 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() 3290 Underlying = ND; in setTargetDecl()
|
| H A D | ASTContext.h | 1594 QualType Underlying) const; 1599 QualType Underlying = QualType()) const;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 3856 auto *Underlying = D; in ArgumentDependentLookup() local 3858 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup() 3860 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup() 3861 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup() 3925 Result.insert(Underlying); in ArgumentDependentLookup()
|
| H A D | TreeTransform.h | 937 QualType RebuildUsingType(UsingShadowDecl *Found, QualType Underlying) { in RebuildUsingType() argument 938 return SemaRef.Context.getUsingType(Found, Underlying); in RebuildUsingType() 966 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc); 971 QualType RebuildTypeOfType(QualType Underlying); 982 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc); 6149 QualType Underlying = getDerived().TransformType(T->desugar()); in TransformUsingType() local 6150 if (Underlying.isNull()) in TransformUsingType() 6155 Underlying != T->getUnderlyingType()) { in TransformUsingType() 6156 Result = getDerived().RebuildUsingType(Found, Underlying); in TransformUsingType() 14742 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying) { in RebuildTypeOfType() argument [all …]
|
| H A D | SemaType.cpp | 9222 QualType Underlying = BaseType; in BuildUnaryTransformType() local 9238 Underlying = ED->getIntegerType(); in BuildUnaryTransformType() 9239 assert(!Underlying.isNull()); in BuildUnaryTransformType() 9241 return Context.getUnaryTransformType(BaseType, Underlying, in BuildUnaryTransformType()
|
| H A D | SemaStmt.cpp | 4499 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local 4500 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 1290 llvm::DIType *Underlying = in CreateType() local 1294 return Underlying; in CreateType() 1303 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(), in CreateType() 5570 if (const auto *Underlying = in EmitNamespaceAlias() local 5575 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc), in EmitNamespaceAlias()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 821 CXType Underlying = clang_getTypedefDeclUnderlyingType(Referenced); in PrintCursor() local 822 CXString S = clang_getTypeSpelling(Underlying); in PrintCursor()
|