[all-commits] [llvm/llvm-project] e039d1: [BOLT][NFC] Disambiguate sample as basic sample (#...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon May 12 17:15:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e039d16ee5910d71a1a16e8ab918ceb849b64073
      https://github.com/llvm/llvm-project/commit/e039d16ee5910d71a1a16e8ab918ceb849b64073
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/include/bolt/Profile/DataReader.h
    M bolt/include/bolt/Profile/ProfileYAMLMapping.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/BinaryFunctionProfile.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Passes/MCF.cpp
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/DataReader.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M bolt/test/X86/branch-data.test
    M bolt/test/X86/reader-stale-yaml-std.test
    M bolt/test/X86/reader-stale-yaml.test
    M bolt/tools/merge-fdata/merge-fdata.cpp

  Log Message:
  -----------
  [BOLT][NFC] Disambiguate sample as basic sample (#139350)

Sample is a general term covering both basic (IP) and branch (LBR)
profiles. Find and replace ambiguous uses of sample in a basic sample
sense.

Rename `RawBranchCount` into `RawSampleCount` reflecting its use for
both kinds of profile.

Rename `PF_LBR` profile type as `PF_BRANCH` reflecting non-LBR based
branch profiles (non-brstack SPE, synthesized brstack ETM/PT).

Follow-up to #137644.

Test Plan: NFC



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list