Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dfallible_iterator.h68 template <typename Underlying> class fallible_iterator {
84 static fallible_iterator itr(Underlying I, Error &Err) { in itr()
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()
222 return fallible_iterator<Underlying>::itr(std::move(I), Err); in make_fallible_itr()
[all …]
H A DBitmaskEnum.h134 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) {
157 return static_cast<E>(~Underlying(Val) & Mask<E>());
162 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
167 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
172 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
177 return static_cast<E>(Underlying(LHS) << Underlying(RHS));
182 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];
/freebsd/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/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp36 DeducedTemplateStorage::DeducedTemplateStorage(TemplateName Underlying, in DeducedTemplateStorage() argument
40 Underlying(Underlying) { in DeducedTemplateStorage()
46 Profile(ID, Context, Underlying, getDefaultArguments()); in Profile()
51 TemplateName Underlying, in Profile() argument
53 Underlying.Profile(ID); in Profile()
452 TemplateName Underlying = QTN->getUnderlyingTemplate(); in print() local
453 assert(Underlying.getKind() == TemplateName::Template || in print()
454 Underlying.getKind() == TemplateName::UsingTemplate); in print()
456 TemplateDecl *UTD = Underlying.getAsTemplateDecl(); in print()
H A DASTContext.cpp5285 QualType Underlying) const { in getTypedefType()
5287 if (Underlying.isNull()) in getTypedefType()
5288 Underlying = Decl->getUnderlyingType(); in getTypedefType()
5290 Type::Typedef, Decl, Underlying, /*HasTypeDifferentFromDecl=*/false); in getTypedefType()
5295 if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying) in getTypedefType()
5297 assert(hasSameType(Decl->getUnderlyingType(), Underlying)); in getTypedefType()
5300 TypedefType::Profile(ID, Decl, Underlying); in getTypedefType()
5311 auto *NewType = new (Mem) TypedefType(Type::Typedef, Decl, Underlying, in getTypedefType()
5319 QualType Underlying) const { in getUsingType()
5321 UsingType::Profile(ID, Found, Underlying); in getUsingType()
[all …]
H A DType.cpp4048 UsingType::UsingType(const UsingShadowDecl *Found, QualType Underlying, in UsingType() argument
4052 UsingBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in UsingType()
4054 *getTrailingObjects() = Underlying; in UsingType()
4491 QualType Underlying) in TemplateSpecializationType() argument
4493 Underlying.isNull() ? QualType(this, 0) in TemplateSpecializationType()
4494 : Underlying.getCanonicalType(), in TemplateSpecializationType()
4495 (Underlying.isNull() in TemplateSpecializationType()
4497 : toSemanticDependence(Underlying->getDependence())) | in TemplateSpecializationType()
4537 *reinterpret_cast<QualType *>(TemplateArgs) = Underlying; in TemplateSpecializationType()
4554 QualType Underlying, in Profile() argument
[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()
/freebsd/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/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h457 TemplateName Underlying; variable
459 DeducedTemplateStorage(TemplateName Underlying,
463 TemplateName getUnderlying() const { return Underlying; } in getUnderlying()
474 TemplateName Underlying, const DefaultArguments &DefArgs);
H A DASTContext.h1768 QualType Underlying) const;
1773 QualType Underlying = QualType()) const;
1873 QualType Underlying = QualType()) const;
2472 TemplateName getDeducedTemplateName(TemplateName Underlying,
H A DType.h5787 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
5805 QualType Underlying) {
5807 Underlying.Profile(ID);
5837 QualType Underlying) {
5839 if (!Underlying.isNull())
5840 Underlying.Profile(ID);
6856 QualType Underlying);
6924 ArrayRef<TemplateArgument> Args, QualType Underlying,
H A DDeclCXX.h3394 NamedDecl *Underlying = nullptr; variable
3454 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl()
3460 Underlying = ND; in setTargetDecl()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp1053 InstrProfReaderIndexBase &Underlying; member in __anon630d17040211::InstrProfReaderNullRemapper
1056 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
1057 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
1061 return Underlying.getRecords(FuncName, Data); in getRecords()
1073 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
1074 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
1107 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
1132 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
1148 return Underlying.getRecords(FuncName, Data); in getRecords()
1166 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp64 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
65 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
/freebsd/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md33 ### Underlying library support features
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h129 Underlying, // --attribute=underlying enumerator
361 ATTRIBUTE_OPTION(Underlying);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp9823 QualType Underlying = ED->getIntegerType(); in GetEnumUnderlyingType() local
9824 assert(!Underlying.isNull()); in GetEnumUnderlyingType()
9826 return Underlying; in GetEnumUnderlyingType()
9865 QualType Underlying = BaseType.getNonReferenceType(); in BuiltinDecay() local
9866 if (Underlying->isArrayType()) in BuiltinDecay()
9867 return Context.getDecayedType(Underlying); in BuiltinDecay()
9869 if (Underlying->isFunctionType()) in BuiltinDecay()
9872 SplitQualType Split = Underlying.getSplitUnqualifiedType(); in BuiltinDecay()
9941 QualType Underlying = GetEnumUnderlyingType(S, BaseType, Loc); in ChangeIntegralSignedness() local
9942 if (auto *BitInt = dyn_cast<BitIntType>(Underlying)) { in ChangeIntegralSignedness()
[all …]
H A DSemaLookup.cpp3913 auto *Underlying = D; in ArgumentDependentLookup() local
3915 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
3917 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup()
3918 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup()
3985 Result.insert(Underlying); in ArgumentDependentLookup()
H A DSemaLambda.cpp1320 VarDecl *Underlying = Var->getPotentiallyDecomposedVarDecl(); in ActOnLambdaExpressionAfterIntroducer() local
1322 if (!Underlying->hasLocalStorage()) { in ActOnLambdaExpressionAfterIntroducer()
H A DSemaStmt.cpp4362 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local
4363 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
4390 HandledBaseTypes[Underlying.getUnqualifiedType()] = H; in ActOnCXXTryBlock()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/include/
H A Ddb.hin120 DBTYPE type; /* Underlying db type. */
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp128 clEnumValN(LVAttributeKind::Underlying, "underlying",
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3980 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local
3981 if (Underlying != TrampMem && in findInitTrampolineFromAlloca()
3982 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca()
3984 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRTypes.td155 the CIR floating-point type that corresponds to this format. Underlying

12