Home | History | Annotate | Download | only in ProfileData

Lines Matching defs:Sample

1 //===- SampleProfWriter.cpp - Write LLVM sample profile data --------------===//
10 // This file implements the class that writes LLVM sample profiles. It
52 const SampleRecord &Sample = I->second;
59 OS << Sample.getSamples();
61 for (const auto &J : Sample.getCallTargets())
101 const SampleRecord &Sample = I.second;
102 for (const auto &J : Sample.getCallTargets())
152 const SampleRecord &Sample = I.second;
155 encodeULEB128(Sample.getSamples(), OS);
156 encodeULEB128(Sample.getCallTargets().size(), OS);
157 for (const auto &J : Sample.getCallTargets()) {
189 /// \brief Create a sample profile file writer based on the specified format.
212 /// \brief Create a sample profile stream writer based on the specified format.