diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-28 05:06:00 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-28 05:06:00 +0000 |
commit | be969c294232b553d671fcc1974f093b47a6bba1 (patch) | |
tree | 86adaf083e06f15c4f7e7219a2c6564c9b5f4944 /llvm/lib/ProfileData/InstrProfReader.cpp | |
parent | 8e32f4d5b6b82fd0e27e30789192d5d95692e79a (diff) | |
download | llvm-be969c294232b553d671fcc1974f093b47a6bba1.zip llvm-be969c294232b553d671fcc1974f093b47a6bba1.tar.gz llvm-be969c294232b553d671fcc1974f093b47a6bba1.tar.bz2 |
Function name cleanup (NFC)
llvm-svn: 254218
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProfReader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index fe52e13..e4348b1 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -296,7 +296,7 @@ std::error_code RawInstrProfReader<IntPtrT>::readRawCounts( } template <class IntPtrT> -std::error_code RawInstrProfReader<IntPtrT>::readValueData( +std::error_code RawInstrProfReader<IntPtrT>::readValueProfilingData( InstrProfRecord &Record) { Record.clearValueData(); @@ -362,7 +362,7 @@ std::error_code RawInstrProfReader<IntPtrT>::readNextRecord( return EC; // Read value data and set Record. - if (std::error_code EC = readValueData(Record)) return EC; + if (std::error_code EC = readValueProfilingData(Record)) return EC; // Iterate. advanceData(); @@ -382,7 +382,7 @@ InstrProfLookupTrait::ComputeHash(StringRef K) { typedef InstrProfLookupTrait::data_type data_type; typedef InstrProfLookupTrait::offset_type offset_type; -bool InstrProfLookupTrait::ReadValueProfilingData( +bool InstrProfLookupTrait::readValueProfilingData( const unsigned char *&D, const unsigned char *const End) { ErrorOr<std::unique_ptr<ValueProfData>> VDataPtrOrErr = ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); @@ -433,7 +433,7 @@ data_type InstrProfLookupTrait::ReadData(StringRef K, const unsigned char *D, DataBuffer.emplace_back(K, Hash, std::move(CounterBuffer)); // Read value profiling data. - if (FormatVersion > 2 && !ReadValueProfilingData(D, End)) { + if (FormatVersion > 2 && !readValueProfilingData(D, End)) { DataBuffer.clear(); return data_type(); } |