1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools
Akira Hatanaka 6a2e278ec7 [MCInstPrinter] Enable MCInstPrinter to change its behavior based on the
per-function subtarget.

Currently, code-gen passes the default or generic subtarget to the constructors
of MCInstPrinter subclasses (see LLVMTargetMachine::addPassesToEmitFile), which
enables some targets (AArch64, ARM, and X86) to change their instprinter's
behavior based on the subtarget feature bits. Since the backend can now use
different subtargets for each function, instprinter has to be changed to use the
per-function subtarget rather than the default subtarget.

This patch takes the first step towards enabling instprinter to change its
behavior based on the per-function subtarget. It adds a bit "PassSubtarget" to
AsmWriter which tells table-gen to pass a reference to MCSubtargetInfo to the
various print methods table-gen auto-generates. 

I will follow up with changes to instprinters of AArch64, ARM, and X86.

llvm-svn: 233411
2015-03-27 20:36:02 +00:00
..
bugpoint bugpoint: Verify input files 2015-03-26 05:03:10 +00:00
bugpoint-passes
dsymutil Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
gold Work around pr23045 and make it easier to reproduce. 2015-03-27 15:55:06 +00:00
llc CMake: Disable ENABLE_EXPORTS for executables with MSVC 2015-03-18 20:09:13 +00:00
lli [Orc] Remove another unnecessary typedef. 2015-03-25 12:32:36 +00:00
llvm-ar Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-as
llvm-bcanalyzer [opaque pointer type] Bitcode support for explicit type parameter on GEP. 2015-02-25 01:08:52 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +00:00
llvm-config Refactoring CMake CrossCompile module. 2015-03-12 17:33:34 +00:00
llvm-cov llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
llvm-cxxdump Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-diff Revert "Remove the explicit SDNodeIterator::operator= in favor of the implicit default" 2015-03-03 21:18:16 +00:00
llvm-dis llvm-dis: Stop crashing when dropping debug info 2015-02-25 01:10:03 +00:00
llvm-dwarfdump Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-extract Make DataLayout Non-Optional in the Module 2015-03-04 18:43:29 +00:00
llvm-go llvm-go: Set $GCCGO instead of putting a gccgo executable on $PATH. 2015-02-14 01:45:57 +00:00
llvm-jitlistener llvm-jitlistener: Add missing include. 2015-03-25 17:12:36 +00:00
llvm-link Work around pr23045 and make it easier to reproduce. 2015-03-27 15:55:06 +00:00
llvm-lto libLTO, llvm-lto, gold: Introduce flag for controlling optimization level. 2015-03-19 22:01:00 +00:00
llvm-mc Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
llvm-mcmarkup
llvm-nm Cleanup else-after-return and add an early-return to llvm-nm 2015-03-23 21:17:43 +00:00
llvm-objdump [MCInstPrinter] Enable MCInstPrinter to change its behavior based on the 2015-03-27 20:36:02 +00:00
llvm-pdbdump [llvm-pdbdump] Display full enum definitions. 2015-03-04 06:09:53 +00:00
llvm-profdata Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-readobj [llvm-readobj] add support for macho universal binary. 2015-03-24 20:26:55 +00:00
llvm-rtdyld [Orc][MCJIT][RuntimeDyld] Re-apply r231726 and r231724 with fix suggested by 2015-03-11 00:43:26 +00:00
llvm-shlib Raising minimum required CMake version to 2.8.12.2. 2015-03-23 20:03:57 +00:00
llvm-size Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-stress Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00
llvm-symbolizer Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
lto Fix build failure. 2015-03-19 22:12:08 +00:00
macho-dump
msbuild
obj2yaml [obj2yaml/yaml2obj] Add SHT_GROUP support. 2015-02-21 04:28:26 +00:00
opt Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00
verify-uselistorder Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
yaml2obj Make helper functions static. 2015-03-09 16:23:46 +00:00
CMakeLists.txt llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdump 2015-03-15 01:30:58 +00:00
LLVMBuild.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
Makefile llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdump 2015-03-15 01:30:58 +00:00