llvm-6502/include/llvm/Target
Jakob Stoklund Olesen fd87839a48 Add TRI::getCommonSuperRegClass().
This function is a generalization of getMatchingSuperRegClass() to the
symmetric case where both sides are using a sub-register index. It will
find a super-register class and sub-register indexes that make this
diagram commute:

                                   PreA
                       SuperRC  ---------->  RCA

                          |                   |
                          |                   |
                     PreB |                   | SubA
                          |                   |
                          |                   |
                          V                   V

                         RCB    ----------> SubRC
                                   SubB

This can be used to coalesce copies like:

  %vreg1:sub16 = COPY %vreg2:sub16; GR64:%vreg1, GR32: %vreg2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156317 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-07 19:14:58 +00:00
..
Mangler.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
Target.td Remove the SubRegClasses field from RegisterClass descriptions. 2012-05-04 03:30:34 +00:00
TargetCallingConv.h
TargetCallingConv.td
TargetData.h
TargetELFWriterInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetFrameLowering.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetInstrInfo.h
TargetIntrinsicInfo.h
TargetJITInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetLibraryInfo.h fix pr12559: mark unavailable win32 math libcalls 2012-04-17 23:05:54 +00:00
TargetLowering.h Add a new target hook "predictableSelectIsExpensive". 2012-05-05 12:49:14 +00:00
TargetLoweringObjectFile.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetMachine.h Move the TLSModel information into the TargetMachine rather than hiding 2012-04-08 17:20:55 +00:00
TargetOpcodes.h
TargetOptions.h Comment typo fix. 2012-04-11 08:13:47 +00:00
TargetRegisterInfo.h Add TRI::getCommonSuperRegClass(). 2012-05-07 19:14:58 +00:00
TargetSchedule.td
TargetSelectionDAG.td
TargetSelectionDAGInfo.h
TargetSubtargetInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00