Home
last modified time | relevance | path

Searched refs:fdata (Results 1 – 25 of 79) sorted by relevance

1234

/llvm-project-15.0.7/bolt/test/runtime/
H A Dmeta-merge-fdata.test1 # 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 Dmerge-fdata-output.test1 # 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 Dmerge-fdata-bat-mode.test1 # 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 Dbb-with-two-tail-calls.s8 # 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 Dshrinkwrapping-and-rsp.s8 # RUN: link_fdata %s %t.o %t.fdata
11 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata \
H A Dno-entry-reordering.test5 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 Dno-output.test7 # RUN: link_fdata %s %t.o %t.fdata
11 # RUN: --data %t.fdata | FileCheck %s
H A Dremove-unused.test5 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 Dshrinkwrapping-popf.s6 # 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 Djump-table-footprint-reduction.test6 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 Dtail-duplication-cacheline.s8 # RUN: link_fdata %s %t.o %t.fdata
11 # RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata --relocs \
H A Dicp-inline.s17 # 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 Dshrinkwrapping-critedge.s8 # 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 DCMakeLists.txt3 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 Dbasic-instrumentation.test11 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 Dfdata-escape-chars.ll57 ; 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 Dexceptions-instrumentation.test6 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 Dinstrumentation-ind-calls.s15 # 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 Dhot-end-symbol.s10 # 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 D2007-04-10-PackedUnion.cpp34 AData fdata; member in L
40 fdata = other.fdata; in L()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dcoverage_shared.test2 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 Dinstrprof-value-prof-visibility.test3 …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 Dinstrprof-dynamic-two-shared.test2 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 Dinstrprof-dynamic-one-shared.test2 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 DREADME.md150 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

1234