Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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.h43 Underlying[IX] = V; in EnumeratedArray()
49 Underlying[IX] = *(Init.begin() + IX); in EnumeratedArray()
56 return Underlying[IX];
66 iterator begin() { return Underlying; } in begin()
67 const_iterator begin() const { return Underlying; } in begin()
82 ValueType Underlying[Size];
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp800 InstrProfReaderIndexBase &Underlying; member in __anonbf1e1df10211::InstrProfReaderNullRemapper
803 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
804 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
808 return Underlying.getRecords(FuncName, Data); in getRecords()
820 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
821 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
853 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
878 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
894 return Underlying.getRecords(FuncName, Data); in getRecords()
912 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp187 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local
190 if (!Underlying.isSimple() || in getBuiltinType()
191 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType()
195 switch (Underlying.getSimpleKind()) { in getBuiltinType()
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
/openbsd/regress/usr.bin/grep/
H A Dt14.in49 DBTYPE type; /* Underlying db type. */
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp4668 if (Underlying.isNull()) in getTypedefType()
4669 Underlying = Decl->getUnderlyingType(); in getTypedefType()
4676 if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying) in getTypedefType()
4702 UsingType::Profile(ID, Found, Underlying); in getUsingType()
4711 assert(!Underlying.hasLocalQualifiers()); in getUsingType()
4716 Underlying = QualType(); in getUsingType()
4963 if (!Underlying.isNull()) in getTemplateSpecializationType()
12942 Ctx.getQualifiedType(Underlying), in getCommonSugarTypeNode()
13090 auto Underlying = SplitQualType( in getCommonSugaredType() local
13098 SX.Ty = Underlying.Ty; in getCommonSugaredType()
[all …]
H A DODRHash.cpp1192 if (const TypedefType *Underlying = in VisitTypedefType() local
1194 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType()
1197 if (const ElaboratedType *Underlying = in VisitTypedefType() local
1199 UnderlyingType = Underlying->getNamedType(); in VisitTypedefType()
H A DASTDiagnostic.cpp174 QualType Underlying; in desugarForDiagnostic() local
183 Underlying = CTy->desugar(); \ in desugarForDiagnostic()
196 if (isa<VectorType>(Underlying)) in desugarForDiagnostic()
200 if (const TagType *UTT = Underlying->getAs<TagType>()) in desugarForDiagnostic()
207 QT = Underlying; in desugarForDiagnostic()
H A DType.cpp3444 QualType Underlying, QualType can) in TypedefType() argument
3448 TypedefBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in TypedefType()
3450 *getTrailingObjects<QualType>() = Underlying; in TypedefType()
3458 UsingType::UsingType(const UsingShadowDecl *Found, QualType Underlying, in UsingType() argument
3462 UsingBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in UsingType()
3464 *getTrailingObjects<QualType>() = Underlying; in UsingType()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h128 Underlying, // --attribute=underlying enumerator
358 ATTRIBUTE_OPTION(Underlying);
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaType.cpp9317 QualType Underlying = ED->getIntegerType(); in GetEnumUnderlyingType() local
9318 assert(!Underlying.isNull()); in GetEnumUnderlyingType()
9320 return Underlying; in GetEnumUnderlyingType()
9361 if (Underlying->isArrayType()) in BuiltinDecay()
9362 return Context.getDecayedType(Underlying); in BuiltinDecay()
9364 if (Underlying->isFunctionType()) in BuiltinDecay()
9446 if (Underlying->isBooleanType()) { in ChangeIntegralSignedness()
9449 << Underlying; in ChangeIntegralSignedness()
9496 QualType Underlying = in BuiltinChangeSignedness() local
9501 if (Underlying.isNull()) in BuiltinChangeSignedness()
[all …]
H A DSemaLookup.cpp3868 auto *Underlying = D; in ArgumentDependentLookup() local
3870 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
3872 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup()
3873 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup()
3937 Result.insert(Underlying); in ArgumentDependentLookup()
H A DSemaLambda.cpp1237 VarDecl *Underlying = Var->getPotentiallyDecomposedVarDecl(); in ActOnStartOfLambdaDefinition() local
1239 if (!Underlying->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
H A DTreeTransform.h981 QualType RebuildUsingType(UsingShadowDecl *Found, QualType Underlying) { in RebuildUsingType() argument
982 return SemaRef.Context.getUsingType(Found, Underlying); in RebuildUsingType()
1010 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc,
1016 QualType RebuildTypeOfType(QualType Underlying, TypeOfKind Kind);
1027 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc);
6248 QualType Underlying = getDerived().TransformType(T->desugar()); in TransformUsingType() local
6249 if (Underlying.isNull()) in TransformUsingType()
6254 Underlying != T->getUnderlyingType()) { in TransformUsingType()
6255 Result = getDerived().RebuildUsingType(Found, Underlying); in TransformUsingType()
14929 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying, in RebuildTypeOfType() argument
[all …]
H A DSemaStmt.cpp4491 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local
4492 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
/openbsd/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp125 clEnumValN(LVAttributeKind::Underlying, "underlying",
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DType.h4514 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
4532 QualType Underlying) {
4534 if (!Underlying.isNull())
4535 Underlying.Profile(ID);
4565 QualType Underlying) {
4567 if (!Underlying.isNull())
4568 Underlying.Profile(ID);
H A DDeclCXX.h3238 NamedDecl *Underlying = nullptr; variable
3298 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl()
3304 Underlying = ND; in setTargetDecl()
H A DASTContext.h1568 QualType Underlying) const;
1573 QualType Underlying = QualType()) const;
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2981 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local
2982 if (Underlying != TrampMem && in findInitTrampolineFromAlloca()
2983 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca()
2985 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1342 llvm::DIType *Underlying = in CreateType() local
1346 return Underlying; in CreateType()
1361 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(), in CreateType()
5611 if (const auto *Underlying = in EmitNamespaceAlias() local
5616 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc), in EmitNamespaceAlias()
/openbsd/gnu/llvm/clang/tools/c-index-test/
H A Dc-index-test.c823 CXType Underlying = clang_getTypedefDeclUnderlyingType(Referenced); in PrintCursor() local
824 CXString S = clang_getTypeSpelling(Underlying); in PrintCursor()
/openbsd/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-debuginfo-analyzer.rst176 =underlying: Underlying type for type definitions.

12