Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.cpp131 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false)); in AnnotatingParser()
167 if (BeforeLess->is(tok::r_paren) && Contexts.size() > 1 && in parseAngle()
176 Left->ParentBracket = Contexts.back().ContextKind; in parseAngle()
178 Contexts.back().IsExpression = false; in parseAngle()
183 Contexts.back().ContextType = Context::TemplateArgument; in parseAngle()
189 const bool InExpr = Contexts[Contexts.size() - 2].IsExpression; in parseAngle()
311 OpeningParen.ParentBracket = Contexts.back().ContextKind; in parseParens()
315 Contexts.back().ColonIsForRangeExpr = in parseParens()
316 Contexts.size() == 2 && Contexts[0].ColonIsForRangeExpr; in parseParens()
348 Contexts.back().IsExpression = OperatorCalledAsMemberFunction; in parseParens()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp89 void AnalysisDeclContextManager::clear() { Contexts.clear(); } in clear()
300 std::unique_ptr<AnalysisDeclContext> &AC = Contexts[D]; in getContext()
432 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
435 Contexts.InsertNode(L, InsertPos); in getStackFrame()
447 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID, in getBlockInvocationContext()
451 Contexts.InsertNode(L, InsertPos); in getBlockInvocationContext()
696 for (llvm::FoldingSet<LocationContext>::iterator I = Contexts.begin(), in clear()
697 E = Contexts.end(); I != E; ) { in clear()
702 Contexts.clear(); in clear()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMustache.cpp163 void renderLambdas(const llvm::json::Value &Contexts, llvm::raw_ostream &OS,
166 void renderSectionLambdas(const llvm::json::Value &Contexts,
169 void renderPartial(const llvm::json::Value &Contexts, llvm::raw_ostream &OS,
679 void ASTNode::renderChild(const json::Value &Contexts, llvm::raw_ostream &OS) { in renderChild() argument
681 Child->render(Contexts, OS); in renderChild()
684 void ASTNode::renderPartial(const json::Value &Contexts, llvm::raw_ostream &OS, in renderPartial() argument
687 Partial->render(Contexts, IS); in renderPartial()
690 void ASTNode::renderLambdas(const json::Value &Contexts, llvm::raw_ostream &OS, in renderLambdas() argument
701 LambdaNode->render(Contexts, ES); in renderLambdas()
704 LambdaNode->render(Contexts, OS); in renderLambdas()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1545 SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContextsImpl() argument
1547 Contexts.push_back(D); in collectAllContextsImpl()
1549 std::reverse(Contexts.begin(), Contexts.end()); in collectAllContextsImpl()
1552 void DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContexts() argument
1553 Contexts.clear(); in collectAllContexts()
1558 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()
1560 collectAllContextsImpl(static_cast<NamespaceDecl *>(this), Contexts); in collectAllContexts()
1562 Contexts.push_back(this); in collectAllContexts()
1839 SmallVector<DeclContext *, 2> Contexts; in buildLookup() local
1840 collectAllContexts(Contexts); in buildLookup()
[all …]
H A DDecl.cpp1734 ContextsTy Contexts; in printNestedNameSpecifier() local
1765 Contexts.push_back(Ctx); in printNestedNameSpecifier()
1769 for (const DeclContext *DC : llvm::reverse(Contexts)) { in printNestedNameSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DPGOCtxProfWriter.cpp184 std::vector<SerializableRootRepresentation> Contexts; member
245 IO.mapOptional("Contexts", SPR.Contexts); in mapping()
270 if (!SPR.Contexts.empty()) { in createCtxProfFromYAML()
272 for (const auto &DC : SPR.Contexts) { in createCtxProfFromYAML()
H A DMemProfSummaryBuilder.cpp27 auto I = Contexts.insert(CSId); in addRecord()
H A DPGOCtxProfReader.cpp250 RET_ON_ERR(loadContexts(Ret.Contexts)); in loadProfiles()
382 if (!Profile.Contexts.empty()) { in convertCtxProfToYaml()
384 toYaml(Out, Profile.Contexts); in convertCtxProfToYaml()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCtxProfAnalysis.cpp506 llvm::make_early_inc_range(MaybeProfiles->Contexts)) in run()
508 MaybeProfiles->Contexts.erase(RootGuid); in run()
650 Profiles.Contexts, [&](PGOCtxProfContext &Ctx) { in initIndex()
681 const PGOCtxProfContext>(Profiles.Contexts, V); in visit()
703 for (const auto &[_, CtxRoot] : Profiles.Contexts) { in flatten()
722 for (const auto &[_, CtxRoot] : Profiles.Contexts) { in flattenVirtCalls()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfSummaryBuilder.h28 DenseSet<uint64_t> Contexts;
H A DPGOCtxProfReader.h190 CtxProfContextualProfiles Contexts; member
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp292 uint64_t Contexts = 0; in getDeclShowContexts() local
298 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts()
307 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts()
312 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver); in getDeclShowContexts()
318 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts()
319 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName); in getDeclShowContexts()
320 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCClassForwardDecl); in getDeclShowContexts()
325 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag); in getDeclShowContexts()
332 Contexts |= (1LL << CodeCompletionContext::CCC_UnionTag); in getDeclShowContexts()
334 Contexts |= (1LL << CodeCompletionContext::CCC_ClassOrStructTag); in getDeclShowContexts()
[all …]
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesWriter.cpp46 Contexts; member in clang::api_notes::APINotesWriter::Implementation
604 if (Contexts.empty()) in writeContextBlock()
612 for (auto &OC : Contexts) in writeContextBlock()
631 for (auto &OC : Contexts) in writeContextBlock()
1439 auto Known = Implementation->Contexts.find(Key); in addContext()
1440 if (Known == Implementation->Contexts.end()) { in addContext()
1441 unsigned NextID = Implementation->Contexts.size() + 1; in addContext()
1444 Known = Implementation->Contexts in addContext()
1497 assert(Implementation->Contexts.contains(CtxKey)); in addObjCMethod()
1498 auto &VersionedVec = Implementation->Contexts[CtxKey].second; in addObjCMethod()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h388 llvm::FoldingSet<LocationContext> Contexts; variable
429 ContextMap Contexts; variable
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp387 SmallVector<const DeclContext *, 2> Contexts; in getParentName() local
391 Contexts.push_back(DC); in getParentName()
401 for (const DeclContext *CurDC : llvm::reverse(Contexts)) { in getParentName()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.h152 DeclContext::Map Contexts; variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1035 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; in mergeInstrProfile() local
1037 Contexts.emplace_back(std::make_unique<WriterContext>( in mergeInstrProfile()
1044 Contexts[0].get(), BIDFetcher.get(), &BIDFetcherCorrelateKind); in mergeInstrProfile()
1052 Contexts[Ctx].get(), BIDFetcher.get(), in mergeInstrProfile()
1059 unsigned Mid = Contexts.size() / 2; in mergeInstrProfile()
1060 unsigned End = Contexts.size(); in mergeInstrProfile()
1064 Pool.async(mergeWriterContexts, Contexts[I].get(), in mergeInstrProfile()
1065 Contexts[I + Mid].get()); in mergeInstrProfile()
1068 Pool.async(mergeWriterContexts, Contexts[0].get(), in mergeInstrProfile()
1069 Contexts[End - 1].get()); in mergeInstrProfile()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCtxProfAnalysis.h64 return Profiles.Contexts; in contexts()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_CTX_new.pod68 by the OpenSSL high-level public key API. Contexts B<MUST NOT> be shared between
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2330 void collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp306 DeclContext *CurrentDeclContext, DeclContextTree &Contexts, in analyzeContextInfo() argument
357 auto PtrInvalidPair = Contexts.getChildDeclContext( in analyzeContextInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp759 const auto &CtxMap = Ctx->Contexts; in loadFromCtxProf()

12