Searched refs:Underlying (Results 1 - 20 of 20) sorted by relevance

/freebsd-12-stable/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) {
94 static fallible_iterator end(Underlying I) {
99 auto operator*() -> decltype(*std::declval<Underlying>()) { return *I; }
102 auto operator*() const -> decltype(*std::declval<const Underlying>()) {
108 template <typename T = Underlying>
115 template <typename T = Underlying>
197 fallible_iterator(Underlying I, Error *Err)
216 Underlying I;
222 template <typename Underlying>
[all...]
H A DEnumeratedArray.h28 Underlying[IX] = V;
34 return Underlying[IX];
43 ValueType Underlying[Size]; member in class:llvm::EnumeratedArray
H A DBitmaskEnum.h90 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) { function in namespace:llvm::BitmaskEnumDetail
100 return static_cast<E>(~Underlying(Val) & Mask<E>());
106 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
112 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp621 InstrProfReaderIndexBase &Underlying;
624 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying)
625 : Underlying(Underlying) {}
629 return Underlying.getRecords(FuncName, Data);
641 InstrProfReaderIndex<HashTableImpl> &Underlying)
642 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) {
674 for (StringRef Name : Underlying.HashTable->keys()) {
699 Error E = Underlying
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp184 codeview::TypeIndex Underlying = Record->getUnderlyingType(); local
187 if (!Underlying.isSimple() ||
188 Underlying.getSimpleMode() != SimpleTypeMode::Direct) {
192 switch (Underlying.getSimpleKind()) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp59 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); local
60 return IndexCtx.handleReference(Underlying, Loc, Parent,
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DODRHash.cpp1037 if (const TypedefType *Underlying =
1039 UnderlyingType = Underlying->getDecl()->getUnderlyingType();
1042 if (const ElaboratedType *Underlying =
1044 UnderlyingType = Underlying->getNamedType();
H A DASTDiagnostic.cpp144 QualType Underlying; local
153 Underlying = CTy->desugar(); \
166 if (isa<VectorType>(Underlying))
170 if (const TagType *UTT = Underlying->getAs<TagType>())
177 QT = Underlying;
H A DASTContext.cpp4309 QualType Underlying) const {
4312 QualType TST = getTemplateSpecializationType(Name, Args, Underlying);
4329 QualType Underlying) const {
4338 return getTemplateSpecializationType(Template, ArgVec, Underlying);
4354 QualType Underlying) const {
4365 if (!Underlying.isNull())
4366 CanonType = getCanonicalType(Underlying);
4385 IsTypeAlias ? Underlying : QualType());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1183 const Value* Underlying = GetUnderlyingObject(DepLoc.Ptr, DL); local
1184 bool IsStoreDeadOnUnwind = isa<AllocaInst>(Underlying);
1190 IsStoreDeadOnUnwind = isAllocLikeFn(Underlying, TLI) &&
1191 !PointerMayBeCaptured(Underlying, false, true);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3166 NamedDecl *Underlying = nullptr; member in class:clang::UsingShadowDecl
3224 NamedDecl *getTargetDecl() const { return Underlying; }
3230 Underlying = ND;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3586 auto *Underlying = D;
3588 Underlying = USD->getTargetDecl();
3590 if (!isa<FunctionDecl>(Underlying) &&
3591 !isa<FunctionTemplateDecl>(Underlying))
3616 Result.insert(Underlying);
H A DSemaType.cpp8494 QualType Underlying = BaseType; local
8510 Underlying = ED->getIntegerType();
8511 assert(!Underlying.isNull());
8513 return Context.getUnaryTransformType(BaseType, Underlying,
H A DSemaStmt.cpp4131 QualType Underlying = HandlerCHT.underlying(); local
4132 if (auto *RD = Underlying->getAsCXXRecordDecl()) {
H A DTreeTransform.h941 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc);
946 QualType RebuildTypeOfType(QualType Underlying);
957 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc);
13401 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying) { argument
13402 return SemaRef.Context.getTypeOfType(Underlying);
H A DSemaOpenMP.cpp13358 auto *Underlying = D;
13360 Underlying = USD->getTargetDecl();
13362 if (!isa<OMPDeclareReductionDecl>(Underlying) &&
13363 !isa<OMPDeclareMapperDecl>(Underlying))
13371 Underlying = USD->getTargetDecl();
13374 Lookups.back().addDecl(Underlying);
H A DSemaOverload.cpp2103 QualType Underlying = FromEnumType->getDecl()->getIntegerType();
2104 return Context.hasSameUnqualifiedType(Underlying, ToType) ||
2105 IsIntegralPromotion(nullptr, Underlying, ToType);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4278 Value *Underlying = TrampMem->stripPointerCasts(); local
4279 if (Underlying != TrampMem &&
4280 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem))
4282 if (!isa<AllocaInst>(Underlying))
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1129 llvm::DIType *Underlying = local
1133 return Underlying;
1141 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(),
4701 if (const auto *Underlying =
4706 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc),
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1627 D->Underlying = readDeclAs<NamedDecl>();

Completed in 512 milliseconds