1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/utils
Evan Cheng 8bd004b033 Add a pseudo instruction REG_SEQUENCE that takes a list of registers and
sub-register indices and outputs a single super register which is formed from
a consecutive sequence of registers.

This is used as register allocation / coalescing aid and it is useful to
represent instructions that output register pairs / quads. For example,
v1024, v1025 = vload <address>
where v1024 and v1025 forms a register pair.

This really should be modelled as
v1024<3>, v1025<4> = vload <address>
but it would violate SSA property before register allocation is done.

Currently we use insert_subreg to form the super register:
v1026 = implicit_def
v1027 - insert_subreg v1026, v1024, 3
v1028 = insert_subreg v1027, v1025, 4
...
      = use v1024
      = use v1028

But this adds pseudo live interval overlap between v1024 and v1025.

We can now modeled it as
v1024, v1025 = vload <address>
v1026 = REG_SEQUENCE v1024, 3, v1025, 4
...
      = use v1024
      = use v1026

After coalescing, it will be
v1026<3>, v1025<4> = vload <address>
...
      = use v1026<3>
      = use v1026

llvm-svn: 102815
2010-05-01 00:28:44 +00:00
..
bugpoint
buildit Don't remove libLTO.dylib if it's not being installed in Developer/usr/lib; 2010-04-29 18:04:29 +00:00
count
crosstool
emacs
FileCheck stringref-ize the MemoryBuffer::get apis. This requires 2010-04-05 22:42:30 +00:00
FileUpdate
fpcmp Remove unnecessary uses of <iostream>. 2010-04-15 03:47:24 +00:00
git Add simple script for finding most-recent-rev-before-N in a git-svn repo; useful 2010-02-25 18:07:07 +00:00
jedit
lint
lit lit: Add support to OneCommandPerFileTest format to take input directory from input path. 2010-04-09 02:15:10 +00:00
Misc
not
PerfectShuffle
TableGen Add a pseudo instruction REG_SEQUENCE that takes a list of registers and 2010-05-01 00:28:44 +00:00
unittest silence some -Wmissing-field-initializers warnings. 2010-04-18 03:30:32 +00:00
valgrind
vim Fix grammaro in a comment. 2010-02-26 21:45:37 +00:00
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl Filter the future all-of-llvm shared library out of the llvm-config 2010-02-25 01:21:38 +00:00
GetSourceVersion Make GetSourceVersion more portable, thanks Pawel! 2010-01-22 18:14:21 +00:00
getsrcs.sh
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvm.grm Add the alignstack keyword. 2010-03-01 17:53:39 +00:00
llvmdo
llvmgrep
Makefile
makellvm
mkpatch update mkpatch for MC, patch by Aaron Gray 2010-03-12 06:32:12 +00:00
NewNightlyTest.pl NNT: Add -nouname option, so machine uniquing can occur across physical machines. 2010-03-16 15:53:02 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl
RegressionFinder.pl
UpdateCMakeLists.pl Recognize 'add_executable' when analyzing CMake files. 2010-01-29 01:10:55 +00:00
userloc.pl
webNLT.pl