1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools
Clement Courbet 9c2e0e0fa4 [llvm-exegesis] Add loop mode for repeating the snippet.
Summary:
Before this change the Executable function was made by duplicating the
snippet. This change adds a --repetion-mode={loop|duplicate} flag that
allows choosing between this behaviour and wrapping the snippet instructions
in a loop.

The new mode can help measurements when the snippet fits in the DSB by
short-cirtcuiting decoding. The loop adds a dec + jmp to the measurements, but
since these are not part of the critical path, they execute in parallel
with the measured code and do not impact measurements in practice.

Overview of the change:
 - New SnippetRepetitor abstraction that handles repeating the snippet.
   The assembler delegates repeating the instructions to this class.
 - ExegesisTarget learns how to decrement loop counter and jump.
 - Some refactoring of the assembler into FunctionFiller/BasicBlockFiller.

Reviewers: gchatelet

Subscribers: mgorny, tschuett, llvm-commits

Tags: #llvm

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

llvm-svn: 373083
2019-09-27 12:56:24 +00:00
..
dsymutil [llvm-readobj][MachO] Fix section type printing 2019-08-15 07:22:04 +00:00
gold Fix check in tools/gold/X86/strip_names.ll regarding unnamed args 2019-08-08 12:11:13 +00:00
llvm-ar [llvm-ar][test] Move MRI tests from "llvm/test/Object/" 2019-09-26 12:32:11 +00:00
llvm-as
llvm-cfi-verify
llvm-config
llvm-cov Remove some unnecessary REQUIRES: shell lines 2019-09-10 00:06:52 +00:00
llvm-cvtres [COFF] Add a ResourceSectionRef method for getting resource contents 2019-08-30 06:55:49 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool [test] [llvm-dlltool] Improve test strictness a little. NFC. 2019-09-02 13:28:21 +00:00
llvm-dwarfdump Revert "Reland "[utils] Implement the llvm-locstats tool"" 2019-09-23 11:04:11 +00:00
llvm-dwp Remove some unnecessary REQUIRES: shell lines 2019-09-10 00:06:52 +00:00
llvm-elfabi [Object/ELF.h] - Improve error reporting. 2019-07-05 11:28:49 +00:00
llvm-exegesis [llvm-exegesis] Add loop mode for repeating the snippet. 2019-09-27 12:56:24 +00:00
llvm-extract
llvm-ifs [llvm-ifs] Improving detection of PlatformKind from triple for TBD generation. 2019-09-06 19:59:59 +00:00
llvm-isel-fuzzer
llvm-lib
llvm-lipo [llvm-lipo] Add support for archives 2019-09-23 22:22:55 +00:00
llvm-lit
llvm-lto
llvm-lto2 Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
llvm-mc
llvm-mca [MCA] Improved cost computation for loop carried dependencies in the bottleneck analysis. 2019-09-19 16:05:11 +00:00
llvm-modextract
llvm-mt
llvm-nm Recommit r370661 "[llvm-nm] - Add a test case for case when we dump a symbol that belongs to a section with a broken sh_name." 2019-09-02 14:57:35 +00:00
llvm-objcopy [llvm-objcopy][test] Clean up -B tests 2019-09-25 03:41:01 +00:00
llvm-objdump [llvm-objdump] Fix llvm-objdump --all-headers output order 2019-09-13 08:56:28 +00:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil llvm-pdbdump: Fix several smaller issues with injected source compression handling 2019-07-17 22:59:52 +00:00
llvm-profdata Recommit [SampleFDO] Expose an interface to return the size of a section 2019-09-21 17:23:55 +00:00
llvm-rc [llvm-readobj] Print the resource type textually for .res files 2019-08-29 08:59:31 +00:00
llvm-readobj [llvm-readobj/llvm-readelf] - .stack_sizes: demangle symbol names in warnings reported. 2019-09-25 13:16:43 +00:00
llvm-size [llvm-size][test] Improve llvm-size testing 2019-08-14 10:17:34 +00:00
llvm-split
llvm-strings [llvm-strings][test] Merge two closely related tests 2019-09-02 11:42:30 +00:00
llvm-symbolizer Add "REQUIRES: x86-registered-target" to test. 2019-08-05 21:44:45 +00:00
llvm-xray/X86
lto
obj2yaml [yaml2obj/obj2yaml] - Add support for .stack_sizes sections. 2019-09-24 14:22:37 +00:00
opt-viewer
sancov
sanstats
yaml2obj [yaml2elf] - Support describing .stack_sizes sections using unique suffixes. 2019-09-25 12:09:30 +00:00