Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DBitmaskEnum.h91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h547 std::unique_ptr<SampleProfileReader> Underlying) in SampleProfileReaderItaniumRemapper() argument
548 : SampleProfileReader(std::move(B), C, Underlying->getFormat()) { in SampleProfileReaderItaniumRemapper()
549 Profiles = std::move(Underlying->getProfiles()); in SampleProfileReaderItaniumRemapper()
550 Summary = takeSummary(*Underlying); in SampleProfileReaderItaniumRemapper()
553 UnderlyingReader = std::move(Underlying); in SampleProfileReaderItaniumRemapper()
560 std::unique_ptr<SampleProfileReader> Underlying);
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProfReader.cpp609 InstrProfReaderIndexBase &Underlying; member in __anon7a1420090211::InstrProfReaderNullRemapper
612 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
613 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
617 return Underlying.getRecords(FuncName, Data); in getRecords()
629 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
630 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
662 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
687 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
703 return Underlying.getRecords(FuncName, Data); in getRecords()
721 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
H A DSampleProfReader.cpp994 std::unique_ptr<SampleProfileReader> Underlying) { in create() argument
999 std::move(BufferOrError.get()), C, std::move(Underlying)); in create()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp185 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local
188 if (!Underlying.isSimple() || in getBuiltinType()
189 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType()
193 switch (Underlying.getSimpleKind()) { in getBuiltinType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp53 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
54 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
/freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md45 ### Underlying library support features
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DODRHash.cpp953 if (const TypedefType *Underlying = in VisitTypedefType() local
955 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType()
958 if (const ElaboratedType *Underlying = in VisitTypedefType() local
960 UnderlyingType = Underlying->getNamedType(); in VisitTypedefType()
H A DASTDiagnostic.cpp140 QualType Underlying; in Desugar() local
149 Underlying = CTy->desugar(); \ in Desugar()
162 if (isa<VectorType>(Underlying)) in Desugar()
166 if (const TagType *UTT = Underlying->getAs<TagType>()) in Desugar()
173 QT = Underlying; in Desugar()
H A DASTContext.cpp4043 QualType Underlying) const { in getTemplateSpecializationTypeInfo()
4046 QualType TST = getTemplateSpecializationType(Name, Args, Underlying); in getTemplateSpecializationTypeInfo()
4063 QualType Underlying) const { in getTemplateSpecializationType()
4072 return getTemplateSpecializationType(Template, ArgVec, Underlying); in getTemplateSpecializationType()
4088 QualType Underlying) const { in getTemplateSpecializationType()
4099 if (!Underlying.isNull()) in getTemplateSpecializationType()
4100 CanonType = getCanonicalType(Underlying); in getTemplateSpecializationType()
4119 IsTypeAlias ? Underlying : QualType()); in getTemplateSpecializationType()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1164 const Value* Underlying = GetUnderlyingObject(DepLoc.Ptr, DL); in eliminateDeadStores() local
1165 bool IsStoreDeadOnUnwind = isa<AllocaInst>(Underlying); in eliminateDeadStores()
1171 IsStoreDeadOnUnwind = isAllocLikeFn(Underlying, TLI) && in eliminateDeadStores()
1172 !PointerMayBeCaptured(Underlying, false, true); in eliminateDeadStores()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h3143 NamedDecl *Underlying = nullptr;
3201 NamedDecl *getTargetDecl() const { return Underlying; }
3207 Underlying = ND;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp3332 auto *Underlying = D; in ArgumentDependentLookup() local
3334 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
3336 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup()
3337 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup()
3362 Result.insert(Underlying); in ArgumentDependentLookup()
H A DSemaType.cpp8166 QualType Underlying = BaseType; in BuildUnaryTransformType() local
8182 Underlying = ED->getIntegerType(); in BuildUnaryTransformType()
8183 assert(!Underlying.isNull()); in BuildUnaryTransformType()
8185 return Context.getUnaryTransformType(BaseType, Underlying, in BuildUnaryTransformType()
H A DSemaStmt.cpp4064 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local
4065 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
H A DTreeTransform.h891 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc);
896 QualType RebuildTypeOfType(QualType Underlying);
907 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc);
12592 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying) { in RebuildTypeOfType() argument
12593 return SemaRef.Context.getTypeOfType(Underlying); in RebuildTypeOfType()
H A DSemaOpenMP.cpp10567 auto *Underlying = D; in argumentDependentLookup() local
10569 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
10571 if (!isa<OMPDeclareReductionDecl>(Underlying)) in argumentDependentLookup()
10579 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
10582 Lookups.back().addDecl(Underlying); in argumentDependentLookup()
H A DSemaOverload.cpp2039 QualType Underlying = FromEnumType->getDecl()->getIntegerType(); in IsIntegralPromotion() local
2040 return Context.hasSameUnqualifiedType(Underlying, ToType) || in IsIntegralPromotion()
2041 IsIntegralPromotion(nullptr, Underlying, ToType); in IsIntegralPromotion()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4112 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local
4113 if (Underlying != TrampMem && in findInitTrampolineFromAlloca()
4114 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca()
4116 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp4350 if (const auto *Underlying = in EmitNamespaceAlias() local
4355 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc), in EmitNamespaceAlias()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp6340 QualType Underlying = readType(*Loc.F, Record, Idx); in readTypeRecord() local
6342 if (Underlying.isNull()) in readTypeRecord()
6345 T = Context.getTemplateSpecializationType(Name, Args, Underlying); in readTypeRecord()
H A DASTReaderDecl.cpp1595 D->Underlying = ReadDeclAs<NamedDecl>(); in VisitUsingShadowDecl()