[all-commits] [llvm/llvm-project] 8e10ed: [CGData] Stable Function Map

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Mon Nov 4 00:48:20 PST 2024


  Branch: refs/heads/users/kyulee-com/globmerge
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e10ed3b27b0f0098782171bb38387e86536be5f
      https://github.com/llvm/llvm-project/commit/8e10ed3b27b0f0098782171bb38387e86536be5f
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-10-27 (Sun, 27 Oct 2024)

  Changed paths:
    A llvm/include/llvm/CGData/StableFunctionMap.h
    A llvm/include/llvm/CGData/StableFunctionMapRecord.h
    M llvm/lib/CGData/CMakeLists.txt
    A llvm/lib/CGData/StableFunctionMap.cpp
    A llvm/lib/CGData/StableFunctionMapRecord.cpp
    M llvm/unittests/CGData/CMakeLists.txt
    A llvm/unittests/CGData/StableFunctionMapRecordTest.cpp
    A llvm/unittests/CGData/StableFunctionMapTest.cpp

  Log Message:
  -----------
  [CGData] Stable Function Map

These define the main data structures to represent stable functions and group
similar functions in a function map.
Serialization is supported in a binary or yaml form.


  Commit: c7913f9fff736da4cc6a78a17e41dc539bc75e8a
      https://github.com/llvm/llvm-project/commit/c7913f9fff736da4cc6a78a17e41dc539bc75e8a
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-10-27 (Sun, 27 Oct 2024)

  Changed paths:
    M lld/test/MachO/cgdata-generate.s
    M llvm/docs/CommandGuide/llvm-cgdata.rst
    M llvm/include/llvm/CGData/CodeGenData.h
    M llvm/include/llvm/CGData/CodeGenData.inc
    M llvm/include/llvm/CGData/CodeGenDataReader.h
    M llvm/include/llvm/CGData/CodeGenDataWriter.h
    M llvm/lib/CGData/CodeGenData.cpp
    M llvm/lib/CGData/CodeGenDataReader.cpp
    M llvm/lib/CGData/CodeGenDataWriter.cpp
    M llvm/test/tools/llvm-cgdata/empty.test
    M llvm/test/tools/llvm-cgdata/error.test
    R llvm/test/tools/llvm-cgdata/merge-archive.test
    A llvm/test/tools/llvm-cgdata/merge-combined-funcmap-hashtree.test
    R llvm/test/tools/llvm-cgdata/merge-concat.test
    R llvm/test/tools/llvm-cgdata/merge-double.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-archive.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-concat.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-double.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-single.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-archive.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-concat.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-double.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-single.test
    R llvm/test/tools/llvm-cgdata/merge-single.test
    M llvm/tools/llvm-cgdata/llvm-cgdata.cpp

  Log Message:
  -----------
  [CGData][llvm-cgdata] Support for stable function map

This introduces a new cgdata format for stable function maps.
The raw data is embedded in the __llvm_merge section during compile time.
This data can be read and merged using the llvm-cgdata tool, into an indexed cgdata file. Consequently, the tool is now capable of handling either outlined hash trees, stable function maps, or both, as they are orthogonal.


  Commit: 5425db1621336e8a91d4165275e17d5a2e7bed00
      https://github.com/llvm/llvm-project/commit/5425db1621336e8a91d4165275e17d5a2e7bed00
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M llvm/lib/CGData/CodeGenDataReader.cpp

  Log Message:
  -----------
  Address comments from ellishg


  Commit: 06a25007d8e9ff1f970e4d343ec0918059f46198
      https://github.com/llvm/llvm-project/commit/06a25007d8e9ff1f970e4d343ec0918059f46198
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/include/llvm/CGData/CodeGenData.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Transforms/IPO.h
    A llvm/include/llvm/Transforms/IPO/GlobalMergeFunctions.h
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/Transforms/IPO/CMakeLists.txt
    A llvm/lib/Transforms/IPO/GlobalMergeFunctions.cpp
    A llvm/test/ThinLTO/AArch64/cgdata-merge-local.ll
    A llvm/test/ThinLTO/AArch64/cgdata-merge-read.ll
    A llvm/test/ThinLTO/AArch64/cgdata-merge-two-rounds.ll
    A llvm/test/ThinLTO/AArch64/cgdata-merge-write.ll
    M llvm/tools/llvm-lto2/CMakeLists.txt
    M llvm/tools/llvm-lto2/llvm-lto2.cpp

  Log Message:
  -----------
  [CGData] Global Merge Functions


  Commit: 319415409340ef4af8dc4d980c50a413190846c7
      https://github.com/llvm/llvm-project/commit/319415409340ef4af8dc4d980c50a413190846c7
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Transforms/IPO.h
    M llvm/include/llvm/Transforms/IPO/GlobalMergeFunctions.h
    M llvm/lib/Transforms/IPO/GlobalMergeFunctions.cpp

  Log Message:
  -----------
  Address comments from tschuett


Compare: https://github.com/llvm/llvm-project/compare/12b539e6e887...319415409340

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