Lines Matching refs:FName
40 std::error_code SampleProfileWriterText::write(StringRef FName,
44 OS << FName << ":" << S.getTotalSamples();
85 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) {
86 const auto &ret = NameTable.find(FName);
93 void SampleProfileWriterBinary::addName(StringRef FName) {
95 NameTable.insert(std::make_pair(FName, NextIdx));
139 std::error_code SampleProfileWriterBinary::writeBody(StringRef FName,
143 if (std::error_code EC = writeNameIdx(FName))
183 std::error_code SampleProfileWriterBinary::write(StringRef FName,
186 return writeBody(FName, S);