1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm
Dylan McKay f1723e8dcf [TableGen] Add 'register alternative name matching' support
Summary:
This adds a new attribute which targets can set in TableGen which causes a function to be generated which matches register alternative names. This is very similar to `ShouldEmitMatchRegisterName`, except it works on alt names.

This patch is currently used by the out of tree part of the AVR backend. It reduces code duplication greatly, and has the effect that you do not need to hardcode altname to register mappings in C++.

It will not work on targets which have registers which share the same aliases.

Reviewers: stoklund, arsenm, dsanders, hfinkel, vkalintiris

Subscribers: hfinkel, dylanmckay, llvm-commits

Differential Revision: http://reviews.llvm.org/D16312

llvm-svn: 259636
2016-02-03 10:30:16 +00:00
..
ADT SmallSet/SmallPtrSet: Refuse huge Small numbers 2016-02-01 22:05:16 +00:00
Analysis [LCG] Build an edge abstraction for the LazyCallGraph and use it to 2016-02-02 03:57:13 +00:00
AsmParser
Bitcode [llvm-bcanalyzer] Dump bitcode wrapper header 2016-01-29 05:55:09 +00:00
CodeGen Improved macro emission in dwarf. 2016-02-01 14:09:41 +00:00
Config Remove references to *.h.in files and some autoconf hackery 2016-01-30 04:15:33 +00:00
DebugInfo Reland "[CodeView] Use assembler directives for line tables" 2016-01-29 00:49:42 +00:00
ExecutionEngine [Orc] Stub addresses should be based on stub size, not pointer size. 2016-02-02 21:38:30 +00:00
IR DiagnosticInfoWithDebugLocBase: Appease Twine for now. 2016-02-03 00:09:22 +00:00
IRReader
LibDriver
LineEditor
Linker [ThinLTO] Use new in-place symbol changes for exporting module 2016-01-08 17:06:29 +00:00
LTO Remove unused MC includes from LTOModule.h 2016-01-28 23:21:12 +00:00
MC [codeview] Correctly handle inlining functions post-dominated by unreachable 2016-02-02 19:22:34 +00:00
Object Make more headers self-contained. 2016-01-27 18:03:37 +00:00
Option
Passes
ProfileData [PGO] Profile summary reader/writer support 2016-02-03 04:08:18 +00:00
Support Fix typo in comment. NFC 2016-02-03 02:15:49 +00:00
TableGen [llvm-tblgen] Avoid StringMatcher for GCC and MS builtin names 2016-01-27 01:43:12 +00:00
Target [TableGen] Add 'register alternative name matching' support 2016-02-03 10:30:16 +00:00
Transforms Transforms: Move GlobalOpt's Evaluator to Utils where it can be reused. 2016-02-03 02:51:00 +00:00
CMakeLists.txt
InitializePasses.h [LoopVersioning] Expose loop versioning as a pass too 2016-02-03 00:06:10 +00:00
LinkAllIR.h
LinkAllPasses.h Add LoopSimplifyCFG pass 2016-01-29 22:35:36 +00:00
module.modulemap Remove references to *.h.in files and some autoconf hackery 2016-01-30 04:15:33 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h