Home
last modified time | relevance | path

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

/llvm-project/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.cpp337 P->ContextStack.push_back(std::make_pair(C, 0u)); in ScopedContextEntry()
341 P->ContextStack.pop_back(); in ~ScopedContextEntry()
345 ++P->ContextStack.back().second; in nextArg()
766 for (ContextStackTy::iterator I = ContextStack.begin(), in addExpressionCompletions()
767 E = ContextStack.end(); in addExpressionCompletions()
773 auto AcceptedTypes = S->getAcceptedCompletionTypes(ContextStack); in addExpressionCompletions()
/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp286 SmallVectorImpl<MCPseudoProbeFrameLocation> &ContextStack, in getInlineContext()
288 uint32_t Begin = ContextStack.size(); in getInlineContext()
294 ContextStack.emplace_back(MCPseudoProbeFrameLocation( in getInlineContext()
298 // Make the ContextStack in caller-callee order
299 std::reverse(ContextStack.begin() + Begin, ContextStack.end()); in getInlineContextStr()
305 SmallVector<MCPseudoProbeFrameLocation, 16> ContextStack; in getInlineContextStr()
306 getInlineContext(ContextStack, GUID2FuncMAP); in getInlineContextStr()
307 for (auto &Cxt : ContextStack) { in getInlineContextStr()
283 getInlineContext(SmallVectorImpl<MCPseduoProbeFrameLocation> & ContextStack,const GUIDProbeFunctionMap & GUID2FuncMAP) const getInlineContext() argument
302 SmallVector<MCPseduoProbeFrameLocation, 16> ContextStack; getInlineContextStr() local
/llvm-project/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/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp1194 static void extractPrefixContextStack(SampleContextFrameVector &ContextStack, in extractProbesFromRange()
1219 Binary->getInlineContextForProbe(P, ContextStack, true); in extractPrefixContextStack()
1341 SampleContextFrameVector ContextStack; in getContextNodeForLeafProbe()
1342 extractPrefixContextStack(ContextStack, *PContext, Binary); in getContextNodeForLeafProbe()
1345 SampleContextFrameVector NewContextStack(ContextStack.begin(), in getContextNodeForLeafProbe()
1346 ContextStack.end()); in getContextNodeForLeafProbe()
1196 extractPrefixContextStack(SampleContextFrameVector & ContextStack,const SmallVectorImpl<uint64_t> & AddrVec,ProfiledBinary * Binary) extractPrefixContextStack() argument
1343 SampleContextFrameVector ContextStack; getContextNodeForLeafProbe() local
/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h208 // \p ContextStack is populated in root to leaf order
210 getInlineContext(SmallVectorImpl<MCPseudoProbeFrameLocation> &ContextStack,