MCPcopy Create free account
hub / github.com/GANGE666/xVMP / collectFuncsToUse

Method collectFuncsToUse

src/lib/ProfileData/SampleProfReader.cpp:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594void SampleProfileReaderCompactBinary::collectFuncsToUse(const Module &M) {
595 FuncsToUse.clear();
596 for (auto &F : M) {
597 StringRef Fname = F.getName().split('.').first;
598 FuncsToUse.insert(Fname);
599 }
600}
601
602std::error_code SampleProfileReaderBinary::readSummaryEntry(
603 std::vector<ProfileSummaryEntry> &Entries) {

Callers 2

doInitializationMethod · 0.45
readProfileMethod · 0.45

Calls 4

clearMethod · 0.45
splitMethod · 0.45
getNameMethod · 0.45
insertMethod · 0.45

Tested by 1

readProfileMethod · 0.36