Home
last modified time | relevance | path

Searched refs:Underlying (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A Dfallible_iterator.h94 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 DBitmaskEnum.h90 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 DEnumeratedArray.h30 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 DFindTargetTests.cpp355 {"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 DInstrProfReader.cpp750 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 Dlibcall-fulfilled.ll9 ; Underlying libcall declaration
32 ; Underlying libcall definition
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp186 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 DFindTarget.h119 Underlying, enumerator
174 using Set = std::bitset<static_cast<unsigned>(DeclRelation::Underlying) + 1>;
H A DFindTarget.cpp184 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 DSemanticHighlighting.cpp269 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 DXRefs.cpp1519 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 DIndexTypeSourceInfo.cpp63 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 DODRHash.cpp1038 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 DASTDiagnostic.cpp175 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 DASTContext.cpp4628 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 DType.cpp3447 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 DInstCombineCalls.cpp2806 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 DDeclCXX.h3224 NamedDecl *Underlying = nullptr; variable
3284 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl()
3290 Underlying = ND; in setTargetDecl()
H A DASTContext.h1594 QualType Underlying) const;
1599 QualType Underlying = QualType()) const;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp3856 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 DTreeTransform.h937 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 DSemaType.cpp9222 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 DSemaStmt.cpp4499 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 DCGDebugInfo.cpp1290 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 Dc-index-test.c821 CXType Underlying = clang_getTypedefDeclUnderlyingType(Referenced); in PrintCursor() local
822 CXString S = clang_getTypeSpelling(Underlying); in PrintCursor()

12