Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h209 Iter = End ? N->StackIdIndices.end() : N->StackIdIndices.begin(); in CallStackIterator()
214 assert(Iter != N->StackIdIndices.end());
221 return N->StackIdIndices.back(); in back()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h336 SmallVector<unsigned> StackIdIndices;
338 CallsiteInfo(ValueInfo Callee, SmallVector<unsigned> StackIdIndices)
339 : Callee(Callee), StackIdIndices(std::move(StackIdIndices)) {}
341 SmallVector<unsigned> StackIdIndices)
343 StackIdIndices(std::move(StackIdIndices)) {}
349 OS << " StackIds: " << llvm::interleaved(SNI.StackIdIndices);
375 SmallVector<unsigned> StackIdIndices;
377 MIBInfo(AllocationType AllocType, SmallVector<unsigned> StackIdIndices)
378 : AllocType(AllocType), StackIdIndices(std::move(StackIdIndices)) {}
383 OS << " StackIds: " << llvm::interleaved(MIB.StackIdIndices);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp533 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
543 if (StackIdIndices.empty() || StackIdIndices.back() != StackIdIdx) in computeFunctionSummary()
544 StackIdIndices.push_back(StackIdIdx); in computeFunctionSummary()
578 MIBInfo(getMIBAllocType(MIBMD), std::move(StackIdIndices))); in computeFunctionSummary()
592 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
594 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
602 Callsites.push_back({CalleeValueInfo, StackIdIndices}); in computeFunctionSummary()
611 Callsites.push_back({CalleeValueInfo, StackIdIndices}); in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp547 if (CI.StackIdIndices.empty()) { in IndexBitcodeWriter()
551 for (auto Idx : CI.StackIdIndices) in IndexBitcodeWriter()
557 for (auto Idx : MIB.StackIdIndices) in IndexBitcodeWriter()
4407 SmallVector<unsigned> StackIdIndices; in collectMemProfCallStacks() local
4408 StackIdIndices.reserve(MIB.StackIdIndices.size()); in collectMemProfCallStacks()
4409 for (auto Id : MIB.StackIdIndices) in collectMemProfCallStacks()
4410 StackIdIndices.push_back(GetStackIndex(Id)); in collectMemProfCallStacks()
4412 CallStacks.insert({CallStacks.size(), StackIdIndices}); in collectMemProfCallStacks()
4455 Record.push_back(CI.StackIdIndices.size()); in writeFunctionHeapProfileRecords()
4458 for (auto Id : CI.StackIdIndices) in writeFunctionHeapProfileRecords()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp5081 auto StackIdIndexIter = MIBIter->StackIdIndices.begin(); in checkAllocContextIds()
5100 assert(StackIdIndexIter != MIBIter->StackIdIndices.end()); in checkAllocContextIds()
5265 if (!Callsite.StackIdIndices.empty()) in applyImport()
5417 auto StackIdIndexIter = StackNode.StackIdIndices.begin(); in applyImport()
5419 assert(StackIdIndexIter != StackNode.StackIdIndices.end()); in applyImport()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10838 SmallVector<unsigned> StackIdIndices; in parseMemProfs() local
10845 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs()
10852 MIBs.push_back({(AllocationType)AllocType, StackIdIndices}); in parseMemProfs()
10939 SmallVector<unsigned> StackIdIndices; in parseOptionalCallsites() local
10946 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()
10958 Callsites.push_back({VI, Clones, StackIdIndices}); in parseOptionalCallsites()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3569 for (auto Id : MIB.StackIdIndices) { in printFunctionSummary()
3597 for (auto Id : CI.StackIdIndices) { in printFunctionSummary()