Home
last modified time | relevance | path

Searched refs:CallSites (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp67 Result += Record.CallSites.size() * sizeof(CallStackId); in serializedSizeV2()
82 Result += Record.CallSites.size() * sizeof(LinearCallStackId); in serializedSizeV3()
95 for (const auto &CS : Record.CallSites) in serializedSizeV4()
127 LE.write<uint64_t>(Record.CallSites.size()); in serializeV2()
128 for (const auto &CS : Record.CallSites) in serializeV2()
148 LE.write<uint64_t>(Record.CallSites.size()); in serializeV3()
149 for (const auto &CS : Record.CallSites) { in serializeV3()
171 LE.write<uint64_t>(Record.CallSites.size()); in serializeV4()
172 for (const auto &CS : Record.CallSites) { in serializeV4()
220 Record.CallSites.reserve(NumCtxs); in deserializeV2()
[all …]
H A DMemProfReader.cpp536 Record.CallSites.emplace_back(MemProfData.addCallStack(*Loc)); in mapRawProfileToRecords()
826 for (const auto &CallSite : Record.CallSites) { in parse()
828 IndexedRecord.CallSites.emplace_back(CSId, CallSite.CalleeGuids); in parse()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DCallSiteInfo.cpp71 O.writeU32(CallSites.size()); in encode()
72 for (const CallSiteInfo &CSI : CallSites) in encode()
91 CSC.CallSites.reserve(NumCallSites); in decode()
96 CSC.CallSites.emplace_back(*ECSI); in decode()
202 if (!FuncInfo->CallSites) in processYAMLFunctions()
203 FuncInfo->CallSites = CallSiteInfoCollection(); in processYAMLFunctions()
226 FuncInfo->CallSites->CallSites.push_back(CSI); in processYAMLFunctions()
241 for (const auto &CS : CSIC.CallSites) { in operator <<()
H A DFunctionInfo.cpp36 if (FI.CallSites) in operator <<()
37 OS << *FI.CallSites << '\n'; in operator <<()
104 FI.CallSites = std::move(CI.get()); in decode()
215 if (CallSites) { in encode()
221 Error Err = CallSites->encode(Out); in encode()
307 for (const auto &CS : CSIC->CallSites) { in lookup()
H A DDwarfTransformer.cpp617 CSIC.CallSites.push_back(CSI); in parseCallSiteInfoFromDwarf()
620 if (!CSIC.CallSites.empty()) { in parseCallSiteInfoFromDwarf()
621 if (!FI.CallSites) in parseCallSiteInfoFromDwarf()
622 FI.CallSites = CallSiteInfoCollection(); in parseCallSiteInfoFromDwarf()
624 llvm::append_range(FI.CallSites->CallSites, CSIC.CallSites); in parseCallSiteInfoFromDwarf()
H A DGsymReader.cpp447 if (FI.CallSites) in dump()
448 dump(OS, *FI.CallSites, Indent); in dump()
499 for (const auto &CS : CSIC.CallSites) { in dump()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp230 SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument
257 CallSites.size()}); in computeCallSiteTable()
296 CallSites.push_back({LastLabel, BeginLabel, nullptr, 0}); in computeCallSiteTable()
317 CallSiteEntry &Prev = CallSites.back(); in computeCallSiteTable()
327 CallSites.push_back(Site); in computeCallSiteTable()
332 if (CallSites.size() < SiteNo) in computeCallSiteTable()
333 CallSites.resize(SiteNo); in computeCallSiteTable()
334 CallSites[SiteNo - 1] = Site; in computeCallSiteTable()
349 CallSites.push_back(Site); in computeCallSiteTable()
352 CallSiteRanges.back().CallSiteEndIdx = CallSites.size(); in computeCallSiteTable()
[all …]
H A DWasmException.cpp79 SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument
94 if (CallSites.size() < LPadIndex + 1) in computeCallSiteTable()
95 CallSites.resize(LPadIndex + 1); in computeCallSiteTable()
96 CallSites[LPadIndex] = Site; in computeCallSiteTable()
H A DWasmException.h36 SmallVectorImpl<CallSiteEntry> &CallSites,
H A DEHStreamer.h112 SmallVectorImpl<CallSiteEntry> &CallSites,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h99 std::optional<CallSiteInfoCollection> CallSites; member
115 bool hasRichInfo() const { return OptLineTable || Inline || CallSites; } in hasRichInfo()
H A DCallSiteInfo.h78 std::vector<CallSiteInfo> CallSites; member
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProf.h451 llvm::SmallVector<IndexedCallSiteInfo> CallSites;
468 if (Other.CallSites != CallSites)
526 llvm::SmallVector<CallSiteInfo> CallSites;
538 if (!CallSites.empty()) {
540 for (const CallSiteInfo &CS : CallSites) {
H A DMemProfYAML.h221 Io.mapRequired("CallSites", Pair.Record.CallSites);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp492 std::vector<VirtualCallSite> CallSites; member
568 CSI.CallSites.push_back({VTable, CB, NumUnsafeUses}); in addCallSite()
1199 for (auto &&VCallSite : CSInfo.CallSites) { in applySingleImplDevirt()
1514 for (auto &&VCallSite : CSInfo.CallSites) { in applyICallBranchFunnel()
1630 for (auto Call : CSInfo.CallSites) { in applyUniformRetValOpt()
1740 for (auto &&Call : CSInfo.CallSites) { in applyUniqueRetValOpt()
1810 for (auto Call : CSInfo.CallSites) { in applyVirtualConstProp()
H A DFunctionSpecialization.cpp795 for (CallBase *Call : S.CallSites) { in run()
933 AllSpecs[Index].CallSites.push_back(&CS); in findSpecializations()
997 Spec.CallSites.push_back(&CS); in findSpecializations()
H A DGlobalOpt.cpp2576 DenseMap<Function *, SmallVector<CallBase *>> CallSites; in OptimizeNonTrivialIFuncs() local
2584 auto [CallIt, CallInserted] = CallSites.try_emplace(Caller); in OptimizeNonTrivialIFuncs()
2635 auto &Calls = CallSites[Caller]; in OptimizeNonTrivialIFuncs()
H A DLowerTypeTests.cpp460 std::vector<CallInst *> CallSites; member
1223 for (CallInst *CI : TIUI.CallSites) { in lowerTypeTestCalls()
2310 AddTypeIdUse(TypeId).CallSites.push_back(CI); in lower()
H A DAttributorAttributes.cpp12527 Eliminated, CallSites, in trackStatistics()
12530 STATS_DECLTRACK(Specialized, CallSites, in trackStatistics()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h145 SmallVector<CallBase *> CallSites; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfUse.cpp320 for (auto &CS : MemProfRec.CallSites) in undriftMemProfRecord()
472 for (auto &CS : MemProfRec->CallSites) { in readMemprof()