| /llvm-project-15.0.7/bolt/test/runtime/ |
| H A D | meta-merge-fdata.test | 1 # Meta test using merge-fdata binary 11 RUN: --instrumentation-file=%t.fdata 15 RUN: mv %t.fdata %t.fdata1 31 RUN: mv %t.fdata %t.fdata2 34 RUN: llvm-boltdiff merge-fdata merge-fdata \ 40 RUN: merge-fdata %t.fdata1 %t.fdata2 > %t.fdata.base 42 RUN: cmp %t.fdata.base %t.fdata.inst 44 # Optimize using merged fdata 45 RUN: llvm-bolt merge-fdata -o %t.opt --data %t.fdata.base \ 52 RUN: %t.opt %t.fdata1 %t.fdata2 > %t.fdata.opt [all …]
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | merge-fdata-output.test | 1 # Check merge-fdata tool correctly handles `-o` option. 2 RUN: merge-fdata %S/Inputs/bat_profile_1.fdata \ 3 RUN: %S/Inputs/bat_profile_2.fdata \ 6 RUN: merge-fdata %S/Inputs/bat_profile_1.fdata \ 7 RUN: %S/Inputs/bat_profile_2.fdata \ 11 RUN: merge-fdata %S/Inputs/bat_profile_1.fdata \ 12 RUN: %S/Inputs/bat_profile_2.fdata \
|
| H A D | merge-fdata-bat-mode.test | 1 # Check merge-fdata tool correctly processes fdata files with header strings 3 RUN: merge-fdata %S/Inputs/bat_profile_1.fdata \ 4 RUN: %S/Inputs/bat_profile_2.fdata \
|
| H A D | bb-with-two-tail-calls.s | 8 # RUN: link_fdata %s %t.o %t.fdata 11 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata --lite=0 --dyno-stats \
|
| H A D | shrinkwrapping-and-rsp.s | 8 # RUN: link_fdata %s %t.o %t.fdata 11 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata \
|
| H A D | no-entry-reordering.test | 5 RUN: link_fdata %S/Inputs/entry.s %t.o %t.fdata --nmtool llvm-nm 8 RUN: llvm-bolt %t.exe --data %t.fdata -o /dev/null --reorder-blocks=normal \
|
| H A D | no-output.test | 7 # RUN: link_fdata %s %t.o %t.fdata 11 # RUN: --data %t.fdata | FileCheck %s
|
| H A D | remove-unused.test | 5 RUN: link_fdata %S/Inputs/entry.s %t.o %t.fdata --nmtool llvm-nm 8 RUN: llvm-bolt %t.exe --data %t.fdata -o %t --funcs=_start \
|
| H A D | shrinkwrapping-popf.s | 6 # RUN: link_fdata %s %t.o %t.fdata 9 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata --frame-opt=all --lite=0
|
| H A D | jump-table-footprint-reduction.test | 6 RUN: link_fdata %S/Inputs/jump_table_footprint_reduction.s %t.o %t.fdata --nmtool llvm-nm 9 RUN: llvm-bolt %t.exe --data %t.fdata -o /dev/null \
|
| H A D | tail-duplication-cacheline.s | 8 # RUN: link_fdata %s %t.o %t.fdata 11 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata --relocs \
|
| H A D | icp-inline.s | 17 # RUN: link_fdata %s %t.o %t.fdata 24 # RUN: --inline-small-functions-bytes=4 --print-icp --data %t.fdata \ 34 # RUN: --data %t.fdata | FileCheck %s --check-prefix=CHECK-ICP-INLINE
|
| H A D | shrinkwrapping-critedge.s | 8 # RUN: link_fdata %s %t.o %t.fdata 11 # RUN: llvm-bolt %t.exe --relocs -o %t.out --data %t.fdata \
|
| /llvm-project-15.0.7/bolt/tools/merge-fdata/ |
| H A D | CMakeLists.txt | 3 add_bolt_tool(merge-fdata 4 merge-fdata.cpp 9 set_target_properties(merge-fdata PROPERTIES FOLDER "BOLT") 11 # Emit relocations for BOLT meta test (bolt/test/runtime/meta-merge-fdata.test) 13 target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)
|
| /llvm-project-15.0.7/bolt/test/runtime/X86/ |
| H A D | basic-instrumentation.test | 11 RUN: rm %t.*.fdata || echo Nothing to remove 14 # Profile should be written to %t.PID.fdata, check it 15 RUN: mv %t.*.fdata %t.fdata 16 RUN: cat %t.fdata | FileCheck -check-prefix=CHECK %s 19 RUN: llvm-bolt %t.exe --data %t.fdata -o %t.2 --reorder-blocks=cache
|
| H A D | fdata-escape-chars.ll | 57 ; RUN: llvm-objcopy --redefine-syms=%p/Inputs/fdata-escape-chars-syms.txt %t.exe 60 ; RUN: --instrumentation-file=%t.fdata 62 ; RUN: cat %t.fdata | \ 64 ; RUN: llvm-bolt %t.exe -o %t.fdata.exe --data %t.fdata --print-finalized | \ 67 ; RUN: link_fdata %p/Inputs/fdata-escape-chars.txt %t.exe %t.pre "PREAGR" 68 ; RUN: perf2bolt %t.exe -o %t.pre.fdata -pa -p %t.pre 69 ; RUN: cat %t.pre.fdata | FileCheck --check-prefix="PREAGR_FDATA_CHECK" %s 70 ; RUN: llvm-bolt %t.exe -o %t.pre.fdata.exe --data %t.pre.fdata --print-finalized | \
|
| H A D | exceptions-instrumentation.test | 6 RUN: llvm-bolt %t_exc_split -o %t.exc --instrument --instrumentation-file=%t.fdata 10 RUN: llvm-bolt %t_exc_split -o %t.exc.bolted --data %t.fdata \ 20 RUN: cat %t.fdata | FileCheck --check-prefix=EXCEPTIONS-FDATA %s
|
| H A D | instrumentation-ind-calls.s | 15 # RUN: llvm-bolt %t.exe --instrument --instrumentation-file=%t.fdata \ 22 # RUN: llvm-bolt %t.exe -o %t.bolted --data %t.fdata \ 28 # Check that our indirect call has 1 hit recorded in the fdata file and that
|
| H A D | hot-end-symbol.s | 10 # RUN: link_fdata %s %t.o %t.fdata 15 # RUN: --data %t.fdata -o %t.out | FileCheck %s 29 # Our fdata only logs activity in main, so hot markers will change
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | 2007-04-10-PackedUnion.cpp | 34 AData fdata; member in L 40 fdata = other.fdata; in L()
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Linux/ |
| H A D | coverage_shared.test | 2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fcoverage-mapping -c -o %t.d/a.shared.o -f… 3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -fcoverage-… 4 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share… 6 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-stati…
|
| H A D | instrprof-value-prof-visibility.test | 3 …able-value-profiling=true %S/../Inputs/instrprof-value-prof-visibility.c -fdata-sections -ffunctio… 4 …DDLOPEN_FUNC_DIR=\"%t.d\" %S/../Inputs/instrprof-value-prof-visibility.c -fdata-sections -ffunctio…
|
| H A D | instrprof-dynamic-two-shared.test | 2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.s… 3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/b.s… 4 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share…
|
| H A D | instrprof-dynamic-one-shared.test | 2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.s… 3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share… 5 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-stati…
|
| /llvm-project-15.0.7/bolt/ |
| H A D | README.md | 150 profile should be ready for you in `/tmp/prof.fdata` and you can skip 168 $ perf2bolt -p perf.data -o perf.fdata <executable> 179 Once you have `perf.fdata` ready, you can use it for optimizations with 183 $ llvm-bolt <executable> -o <executable>.bolt -data=perf.fdata -reorder-blocks=ext-tsp -reorder-fun… 198 crucial to update `.fdata` for release branches. 205 use `merge-fdata` tool: 207 $ merge-fdata *.fdata > combined.fdata 209 Use `combined.fdata` for **Step 3** above to generate a universally optimized
|