llvm-project/llvm/test
Daniel Sanders 7aac7cc57f [globalisel][tablegen] Add control-flow to the MatchTable.
Summary:
This will allow us to merge the various sub-tables into a single table. This is a
compile-time saving at this point. However, this will also enable the optimization
of a table so that similar instructions can be tested together, reducing the time
spent on the matching the code.

The bulk of this patch is a mechanical conversion to the new MatchTable object
which is responsible for tracking label definitions and filling in the index of
the jump targets. It is also responsible for nicely formatting the table.

This was necessary to support the new GIM_Try opcode which takes the index to
jump to if the match should fail. This value is unknown during table
construction and is filled in during emission. To support nesting try-blocks
(although we currently don't emit tables with nested try-blocks), GIM_Reject
has been re-introduced to explicitly exit a try-block or fail the overall match
if there are no active try-blocks.

Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar

Reviewed By: rovka

Subscribers: kristof.beyls, igorb, llvm-commits

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

llvm-svn: 308596
2017-07-20 09:25:44 +00:00
..
Analysis [SystemZ] Add support for IBM z14 processor (2/3) 2017-07-17 17:42:48 +00:00
Assembler Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
Bindings [LLVM-C] [OCaml] Expose Type::subtypes. 2017-06-05 11:49:52 +00:00
Bitcode Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
BugPoint bugpoint: disabling symbolication of bugpoint-executed programs 2017-06-09 07:29:03 +00:00
CodeGen [mips] Fix fp select machine verifier errors 2017-07-20 09:21:10 +00:00
DebugInfo Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
DllTool llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Examples
ExecutionEngine
Feature Remove the BBVectorize pass. 2017-06-30 07:09:08 +00:00
FileCheck [llvm] Remove redundant check-prefix=CHECK from tests. NFC. 2017-07-17 17:32:45 +00:00
Instrumentation [asan] Copy arguments passed by value into explicit allocas for ASan 2017-07-18 22:28:03 +00:00
Integer
JitListener
LTO LTO: Export functions referenced by the CFI jump table. 2017-07-19 18:18:19 +00:00
LibDriver [llvm-ar] Make llvm-lib behave more like the MSVC archiver 2017-06-12 19:45:35 +00:00
Linker Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
MC AMDGPU: Correct encoding for global instructions 2017-07-20 05:17:54 +00:00
Object [llvm-readobj] - Teach readobj to print DT_FILTER dynamic tag in human readable form. 2017-07-14 16:00:16 +00:00
ObjectYAML [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
Other [TRE] Move to the new OptRemark API. 2017-07-19 21:13:22 +00:00
SafepointIRVerifier [SafepointIRVerifier] Avoid false positives in GC verifier for compare between pointers 2017-07-07 13:02:29 +00:00
SymbolRewriter
TableGen [globalisel][tablegen] Add control-flow to the MatchTable. 2017-07-20 09:25:44 +00:00
ThinLTO/X86 Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
Transforms [TRE] Add another test for OptRemark. 2017-07-19 21:39:51 +00:00
Unit Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
Verifier Add element atomic memset intrinsic 2017-07-12 21:57:23 +00:00
YAMLParser
tools [DWARF] Added check that verifies that no abbreviation declaration has more than one attribute with the same name. 2017-07-20 02:06:52 +00:00
.clang-format
CMakeLists.txt Revert "[LLVM][llvm-objcopy] Added basic plumbing to get things started" 2017-07-20 00:13:32 +00:00
TestRunner.sh
lit.cfg Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
lit.site.cfg.in Introduce the new feature "abi-breaking-checks" to satisfy -reverse-iterate in llvm/test/Transforms/Util/PredicateInfo/ 2017-06-07 00:22:52 +00:00