Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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 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];
H A DBitmaskEnum.h129 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) {
147 return static_cast<E>(~Underlying(Val) & Mask<E>());
152 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
157 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
162 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/
H A Dbitmask_enum.h104 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) {
113 return static_cast<E>(~Underlying(Val) & Mask<E>());
118 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
123 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
128 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DFormula.h137 using Underlying = std::underlying_type_t<Atom>;
139 static inline Atom getEmptyKey() { return Atom(Underlying(-1)); }
140 static inline Atom getTombstoneKey() { return Atom(Underlying(-2)); }
142 return DenseMapInfo<Underlying>::getHashValue(Underlying(Val));
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp985 InstrProfReaderIndexBase &Underlying; member in __anone49ec3fa0211::InstrProfReaderNullRemapper
988 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
989 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
993 return Underlying.getRecords(FuncName, Data); in getRecords()
1005 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
1006 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
1039 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
1064 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
1080 return Underlying.getRecords(FuncName, Data); in getRecords()
1098 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md33 ### Underlying library support features
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4646 if (Underlying.isNull()) in getTypedefType()
4647 Underlying = Decl->getUnderlyingType(); in getTypedefType()
4654 if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying) in getTypedefType()
4680 UsingType::Profile(ID, Found, Underlying); in getUsingType()
4689 assert(!Underlying.hasLocalQualifiers()); in getUsingType()
4694 Underlying = QualType(); in getUsingType()
4945 if (!Underlying.isNull()) in getTemplateSpecializationType()
13094 Ctx.getQualifiedType(Underlying), in getCommonSugarTypeNode()
13242 auto Underlying = SplitQualType( in getCommonSugaredType() local
13250 SX.Ty = Underlying.Ty; in getCommonSugaredType()
[all …]
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 DType.cpp3710 QualType Underlying, QualType can) in TypedefType() argument
3714 TypedefBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in TypedefType()
3716 *getTrailingObjects<QualType>() = Underlying; in TypedefType()
3724 UsingType::UsingType(const UsingShadowDecl *Found, QualType Underlying, in UsingType() argument
3728 UsingBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in UsingType()
3730 *getTrailingObjects<QualType>() = Underlying; in UsingType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h128 Underlying, // --attribute=underlying enumerator
358 ATTRIBUTE_OPTION(Underlying);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp9809 QualType Underlying = ED->getIntegerType(); in GetEnumUnderlyingType() local
9810 assert(!Underlying.isNull()); in GetEnumUnderlyingType()
9812 return Underlying; in GetEnumUnderlyingType()
9853 if (Underlying->isArrayType()) in BuiltinDecay()
9854 return Context.getDecayedType(Underlying); in BuiltinDecay()
9856 if (Underlying->isFunctionType()) in BuiltinDecay()
9938 if (Underlying->isBooleanType()) { in ChangeIntegralSignedness()
9941 << Underlying; in ChangeIntegralSignedness()
9988 QualType Underlying = in BuiltinChangeSignedness() local
9993 if (Underlying.isNull()) in BuiltinChangeSignedness()
[all …]
H A DSemaLookup.cpp3885 auto *Underlying = D; in ArgumentDependentLookup() local
3887 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
3889 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup()
3890 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup()
3956 Result.insert(Underlying); in ArgumentDependentLookup()
H A DSemaLambda.cpp1237 VarDecl *Underlying = Var->getPotentiallyDecomposedVarDecl(); in ActOnLambdaExpressionAfterIntroducer() local
1239 if (!Underlying->hasLocalStorage()) { in ActOnLambdaExpressionAfterIntroducer()
H A DTreeTransform.h1002 QualType RebuildUsingType(UsingShadowDecl *Found, QualType Underlying) { in RebuildUsingType() argument
1003 return SemaRef.Context.getUsingType(Found, Underlying); in RebuildUsingType()
1031 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc,
1037 QualType RebuildTypeOfType(QualType Underlying, TypeOfKind Kind);
1048 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc);
6352 QualType Underlying = getDerived().TransformType(T->desugar()); in TransformUsingType() local
6353 if (Underlying.isNull()) in TransformUsingType()
6358 Underlying != T->getUnderlyingType()) { in TransformUsingType()
6359 Result = getDerived().RebuildUsingType(Found, Underlying); in TransformUsingType()
15200 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying, in RebuildTypeOfType() argument
[all …]
H A DSemaStmt.cpp4545 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local
4546 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
4573 HandledBaseTypes[Underlying.getUnqualifiedType()] = H; in ActOnCXXTryBlock()
H A DSemaOpenMP.cpp19095 auto *Underlying = D; in argumentDependentLookup() local
19097 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
19099 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
19100 !isa<OMPDeclareMapperDecl>(Underlying)) in argumentDependentLookup()
19108 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
19111 Lookups.back().addDecl(Underlying); in argumentDependentLookup()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp125 clEnumValN(LVAttributeKind::Underlying, "underlying",
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4720 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
4738 QualType Underlying) {
4740 if (!Underlying.isNull())
4741 Underlying.Profile(ID);
4771 QualType Underlying) {
4773 if (!Underlying.isNull())
4774 Underlying.Profile(ID);
H A DDeclCXX.h3317 NamedDecl *Underlying = nullptr; variable
3377 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl()
3383 Underlying = ND; in setTargetDecl()
H A DASTContext.h1587 QualType Underlying) const;
1592 QualType Underlying = QualType()) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3466 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local
3467 if (Underlying != TrampMem && in findInitTrampolineFromAlloca()
3468 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca()
3470 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1382 llvm::DIType *Underlying = in CreateType() local
1386 return Underlying; in CreateType()
1401 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(), in CreateType()
5785 if (const auto *Underlying = in EmitNamespaceAlias() local
5790 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc), in EmitNamespaceAlias()

12