llvm-6502/utils
Jakob Stoklund Olesen 6bfba2e5af Prefer cheap registers for busy live ranges.
On the x86-64 and thumb2 targets, some registers are more expensive to encode
than others in the same register class.

Add a CostPerUse field to the TableGen register description, and make it
available from TRI->getCostPerUse. This represents the cost of a REX prefix or a
32-bit instruction encoding required by choosing a high register.

Teach the greedy register allocator to prefer cheap registers for busy live
ranges (as indicated by spill weight).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129864 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-20 18:19:48 +00:00
..
bugpoint
buildit Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
count
crosstool
emacs
FileCheck fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, which 2011-04-09 06:37:03 +00:00
FileUpdate
fpcmp
git
jedit
kate
KillTheDoctor Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
lint
lit Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
llvm-lit Use $(ECHOPATH) to make llvm-lit from llvm-lit.in. 2011-03-08 12:25:19 +00:00
Misc
not
PerfectShuffle
release Partially revert commit 127155: I think it is much more convenient 2011-03-27 13:52:32 +00:00
TableGen Prefer cheap registers for busy live ranges. 2011-04-20 18:19:48 +00:00
Target/ARM
unittest Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
valgrind Eliminate valgrind warnings from Python on the 32-bit as well. 2011-02-22 01:00:10 +00:00
vim
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl Fix typo in generated HTML. 2011-03-31 00:23:57 +00:00
GetRepositoryPath
GetSourceVersion
getsrcs.sh
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvm.grm
llvmbuild Fix the case where the number of jobs is less than the 2011-03-04 23:02:52 +00:00
llvmdo
llvmgrep
Makefile
makellvm
NewNightlyTest.pl Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema
parseNLT.pl
plotNLT.pl
profile.pl
show-diagnostics build: Add support for a SHOW_DIAGNOSTICS build variable. 2011-04-11 22:37:39 +00:00
test_debuginfo.pl
UpdateCMakeLists.pl
webNLT.pl