Searched refs:sampleprof_error (Results 1 – 8 of 8) sorted by relevance
327 sampleprof_error Result = sampleprof_error::success; in readImpl()362 return sampleprof_error::malformed; in readImpl()388 return sampleprof_error::malformed; in readImpl()394 return sampleprof_error::malformed; in readImpl()468 if (Result == sampleprof_error::success) in readImpl()495 std::error_code EC = sampleprof_error::malformed; in readNumber()499 std::error_code EC = sampleprof_error::truncated; in readNumber()511 std::error_code EC = sampleprof_error::truncated; in readString()523 std::error_code EC = sampleprof_error::truncated; in readUnencodedNumber()539 return sampleprof_error::truncated_name_table; in readStringIndex()[all …]
62 sampleprof_error E = static_cast<sampleprof_error>(IE); in message()64 case sampleprof_error::success: in message()66 case sampleprof_error::bad_magic: in message()68 case sampleprof_error::unsupported_version: in message()70 case sampleprof_error::too_large: in message()72 case sampleprof_error::truncated: in message()74 case sampleprof_error::malformed: in message()76 case sampleprof_error::unrecognized_format: in message()78 case sampleprof_error::unsupported_writing_format: in message()80 case sampleprof_error::truncated_name_table: in message()[all …]
127 return sampleprof_error::too_large; in writeWithSizeLimitInternal()137 return sampleprof_error::success; in writeWithSizeLimitInternal()148 return sampleprof_error::success; in writeFuncProfiles()158 return sampleprof_error::success; in write()179 return sampleprof_error::zlib_unavailable; in compressAndOutput()183 return sampleprof_error::success; in compressAndOutput()193 return sampleprof_error::success; in compressAndOutput()211 return sampleprof_error::success; in addNewSection()233 return sampleprof_error::success; in write()248 return sampleprof_error::truncated_name_table; in writeCSNameIdx()[all …]
49 enum class sampleprof_error { enum68 inline std::error_code make_error_code(sampleprof_error E) { in make_error_code()72 inline sampleprof_error mergeSampleProfErrors(sampleprof_error &Accumulator, in mergeSampleProfErrors()73 sampleprof_error Result) { in mergeSampleProfErrors()76 if (Accumulator == sampleprof_error::success && in mergeSampleProfErrors()77 Result != sampleprof_error::success) in mergeSampleProfErrors()87 struct is_error_code_enum<llvm::sampleprof_error> : std::true_type {};352 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {355 return Overflowed ? sampleprof_error::counter_overflow356 : sampleprof_error::success;[all …]
381 return sampleprof_error::success; in read()392 return sampleprof_error::success; in read()556 return sampleprof_error::not_implemented; in read()619 std::error_code readHeader() override { return sampleprof_error::success; } in readHeader()858 return sampleprof_error::success; in readCustomSection()
177 return sampleprof_error::success; in writeHeader()425 return sampleprof_error::success; in writeCustomSection()
302 ProfileIsValid = (Reader->read() == sampleprof_error::success); in doInitialization()
1488 SymbolRemapper &Remapper, sampleprof_error &Error) { in remapSamples()1633 sampleprof_error Result = sampleprof_error::success; in mergeSampleProfile()1641 if (Result != sampleprof_error::success) { in mergeSampleProfile()