]> granicus.if.org Git - llvm/commit
[PGO] Context sensitive PGO (part 4)
authorRong Xu <xur@google.com>
Wed, 6 Mar 2019 19:31:37 +0000 (19:31 +0000)
committerRong Xu <xur@google.com>
Wed, 6 Mar 2019 19:31:37 +0000 (19:31 +0000)
commit0646a823c0cece02924fb35e7240f5c8858303de
tree781fbb6f266dbe935203aad48fb61452f23adc94
parent963f36ed4af91549e11c3adb6b01f28e407ac184
[PGO] Context sensitive PGO (part 4)

Part 4 of CSPGO changes:
(1) add support in cmake for cspgo build.
(2) fix an issue in big endian.
(3) test cases.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355541 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake
lib/ProfileData/InstrProfReader.cpp
test/Other/Inputs/cspgo-cs.proftext [new file with mode: 0644]
test/Other/Inputs/cspgo-noncs.proftext [new file with mode: 0644]
test/Other/cspgo-O2-pipeline.ll [new file with mode: 0644]
test/Other/new-pm-cspgo.ll [new file with mode: 0644]
test/Transforms/PGOProfile/Inputs/cspgo.proftext [new file with mode: 0644]
test/Transforms/PGOProfile/Inputs/thinlto_cs.proftext [new file with mode: 0644]
test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll [new file with mode: 0644]
test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll [new file with mode: 0644]
test/Transforms/PGOProfile/cspgo_profile_summary.ll [new file with mode: 0644]
test/Transforms/PGOProfile/thinlto_cspgo_gen.ll [new file with mode: 0644]
test/Transforms/PGOProfile/thinlto_cspgo_use.ll [new file with mode: 0644]
test/tools/gold/X86/Inputs/cspgo.proftext [new file with mode: 0644]
test/tools/gold/X86/Inputs/thinlto_cspgo_bar.ll [new file with mode: 0644]
test/tools/gold/X86/thinlto_cspgo.ll [new file with mode: 0644]
test/tools/llvm-profdata/Inputs/CSIR_profile.proftext [new file with mode: 0644]
test/tools/llvm-profdata/Inputs/cs.proftext [new file with mode: 0644]
test/tools/llvm-profdata/Inputs/noncs.proftext [new file with mode: 0644]
test/tools/llvm-profdata/csprof-dump.test [new file with mode: 0644]