llvm-6502/utils
Akira Hatanaka f09378397e [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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233411 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-27 20:36:02 +00:00
..
bugpoint
buildit
count
crosstool
emacs
FileCheck Fix FileCheck: substr() expect the length of the string as 2nd arg 2015-03-12 00:07:29 +00:00
fpcmp
git
git-svn
jedit
kate
KillTheDoctor More missing includes only visible to MSVC. 2015-03-23 18:23:08 +00:00
lint
lit lit: Add 'cd' support to the internal shell and port some tests 2015-03-02 21:33:18 +00:00
llvm-build
llvm-lit
Misc
not
PerfectShuffle
release export.sh: Make sure umask is not too restrictive (PR22742) 2015-03-02 17:30:42 +00:00
TableGen [MCInstPrinter] Enable MCInstPrinter to change its behavior based on the 2015-03-27 20:36:02 +00:00
Target/ARM
testgen
textmate
unittest Fix a grammar issue I introduced. 2015-03-11 00:19:01 +00:00
valgrind
vim AsmParser/Writer: Handle symbolic constants in DI 'flags:' 2015-02-21 01:02:18 +00:00
yaml-bench
bisect
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gxx
llvm.grm
llvm.natvis
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
shuffle_fuzz.py
sort_includes.py
test_debuginfo.pl
update_llc_test_checks.py
UpdateCMakeLists.pl
wciia.py