Home
last modified time | relevance | path

Searched refs:ContextStack (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp16 ContextStack.emplace_back(); in pushContextFrame()
17 ContextFrame& data = ContextStack.back(); in pushContextFrame()
39 Diagnostics::Context::~Context() { Error->ContextStack.pop_back(); } in ~Context()
69 Last.ContextStack = ContextStack; in addError()
214 for (size_t i = 0, e = Error.ContextStack.size(); i != e; ++i) { in printToStreamFull()
215 printContextFrameToStream(Error.ContextStack[i], OS); in printToStreamFull()
H A DParser.cpp339 P->ContextStack.push_back(std::make_pair(C, 0u)); in ScopedContextEntry()
343 P->ContextStack.pop_back(); in ~ScopedContextEntry()
347 ++P->ContextStack.back().second; in nextArg()
768 for (ContextStackTy::iterator I = ContextStack.begin(), in addExpressionCompletions()
769 E = ContextStack.end(); in addExpressionCompletions()
775 auto AcceptedTypes = S->getAcceptedCompletionTypes(ContextStack); in addExpressionCompletions()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCPseudoProbe.cpp227 SmallVectorImpl<MCPseduoProbeFrameLocation> &ContextStack, in getInlineContext() argument
229 uint32_t Begin = ContextStack.size(); in getInlineContext()
235 ContextStack.emplace_back( in getInlineContext()
240 std::reverse(ContextStack.begin() + Begin, ContextStack.end()); in getInlineContext()
246 SmallVector<MCPseduoProbeFrameLocation, 16> ContextStack; in getInlineContextStr() local
247 getInlineContext(ContextStack, GUID2FuncMAP); in getInlineContextStr()
248 for (auto &Cxt : ContextStack) { in getInlineContextStr()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp1082 extractPrefixContextStack(SampleContextFrameVector &ContextStack, in extractPrefixContextStack() argument
1106 Binary->getInlineContextForProbe(P, ContextStack, true); in extractPrefixContextStack()
1116 SampleContextFrameVector ContextStack; in generateProbeBasedProfile() local
1117 extractPrefixContextStack(ContextStack, CtxKey->Context, Binary); in generateProbeBasedProfile()
1120 populateBodySamplesWithProbes(CI.second.RangeCounter, ContextStack); in generateProbeBasedProfile()
1127 const RangeSample &RangeCounter, SampleContextFrames ContextStack) { in populateBodySamplesWithProbes() argument
1144 getContextNodeForLeafProbe(ContextStack, Probe); in populateBodySamplesWithProbes()
1199 getFunctionProfileForLeafProbe(ContextStack, CallProbe); in populateBoundarySamplesWithProbes()
1214 SampleContextFrameVector NewContextStack(ContextStack.begin(), in getContextNodeForLeafProbe()
1215 ContextStack.end()); in getContextNodeForLeafProbe()
[all …]
H A DProfileGenerator.h337 SampleContextFrames ContextStack);
340 SampleContextFrames ContextStack);
343 getContextNodeForLeafProbe(SampleContextFrames ContextStack,
348 getFunctionProfileForLeafProbe(SampleContextFrames ContextStack,
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h155 std::vector<ContextFrame> ContextStack; member
181 std::vector<ContextFrame> ContextStack; variable
H A DParser.h275 ContextStackTy ContextStack; variable
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCPseudoProbe.h187 getInlineContext(SmallVectorImpl<MCPseduoProbeFrameLocation> &ContextStack,