llvm-project/llvm
wlei a5f411b7f8 [llvm-profgen] Allow unsymbolized profile as perf input
This change allows the unsymbolized profile as input. The unsymbolized profile is created by `llvm-profgen` with `--skip-symbolization` and it's after the sample aggregation but before symbolization , so it has much small file size. It can be used for sample merging and trimming,  also is useful for debugging or adding test cases. A switch `--unsymbolized-profile=file-patch` is added for this.

Format of unsymbolized profile:
```

   [context stack1]    # If it's a CS profile
      number of entries in RangeCounter
      from_1-to_1:count_1
      from_2-to_2:count_2
      ......
      from_n-to_n:count_n
      number of entries in BranchCounter
      src_1->dst_1:count_1
      src_2->dst_2:count_2
      ......
      src_n->dst_n:count_n
    [context stack2]
      ......
```

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D111750
2021-10-25 23:58:08 -07:00
..
benchmarks
bindings
cmake [AIX][cmake] Set atomics related macros when build with xlclang 2021-10-18 09:18:05 +00:00
docs [docs][NewPM] Add example C++ code on how to actually use the new PM 2021-10-25 13:24:20 -07:00
examples Suppress some bitwise-or-of-bool warnings with explicit int cast 2021-10-18 14:10:30 -07:00
include [llvm-profgen] Allow unsymbolized profile as perf input 2021-10-25 23:58:08 -07:00
lib [NFC] Remove obsolete simplifyOnceImpl function 2021-10-26 13:51:42 +07:00
projects Remove unused parallel-libs project 2021-10-21 14:34:39 -07:00
resources
runtimes
test [llvm-profgen] Allow unsymbolized profile as perf input 2021-10-25 23:58:08 -07:00
tools [llvm-profgen] Allow unsymbolized profile as perf input 2021-10-25 23:58:08 -07:00
unittests [DomTree][NFC] Clean up nits in DomTree code 2021-10-25 16:05:34 -04:00
utils llvm pretty printers: Fix StringRef and workaround StringMap in Python 2 2021-10-25 23:49:10 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Remove unused parallel-libs project 2021-10-21 14:34:39 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.