[all-commits] [llvm/llvm-project] 516e30: [NFC][Profile] Access profile through VirtualFileS...

Steven Wu via All-commits all-commits at lists.llvm.org
Wed Feb 1 09:25:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 516e301752560311d2cd8c2b549493eb0f98d01b
      https://github.com/llvm/llvm-project/commit/516e301752560311d2cd8c2b549493eb0f98d01b
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M clang/include/clang/CodeGen/BackendUtil.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M llvm/include/llvm/CodeGen/MIRSampleProfile.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/SampleProfReader.h
    M llvm/include/llvm/Support/PGOOptions.h
    M llvm/include/llvm/Transforms/IPO/SampleProfile.h
    M llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
    M llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/PGOOptions.cpp
    M llvm/lib/Target/X86/X86InsertPrefetch.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/tools/llvm-cov/CodeCoverage.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp
    M llvm/tools/llvm-profgen/llvm-profgen.cpp
    M llvm/tools/opt/NewPMDriver.cpp
    M llvm/unittests/ProfileData/SampleProfTest.cpp

  Log Message:
  -----------
  [NFC][Profile] Access profile through VirtualFileSystem

Make the access to profile data going through virtual file system so the
inputs can be remapped. In the context of the caching, it can make sure
we capture the inputs and provided an immutable input as profile data.

Reviewed By: akyrtzi, benlangmuir

Differential Revision: https://reviews.llvm.org/D139052




More information about the All-commits mailing list