llvm-6502/lib/CodeGen/SelectionDAG
Chris Lattner dc19b70d24 Add initial support for immediates. This allows us to compile this:
int %rlwnm(int %A, int %B) {
  %C = call int asm "rlwnm $0, $1, $2, $3, $4", "=r,r,r,n,n"(int %A, int %B, int 4, int 17)
  ret int %C
}

into:

_rlwnm:
        or r2, r3, r3
        or r3, r4, r4
        rlwnm r2, r2, r3, 4, 17    ;; note the immediates :)
        or r3, r2, r2
        blr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25955 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-04 02:26:14 +00:00
..
DAGCombiner.cpp Add a framework for eliminating instructions that produces undemanded bits. 2006-02-03 22:24:05 +00:00
LegalizeDAG.cpp *** empty log message *** 2006-02-01 19:05:15 +00:00
Makefile
ScheduleDAG.cpp Add initial support for immediates. This allows us to compile this: 2006-02-04 02:26:14 +00:00
ScheduleDAGList.cpp make -debug output less newliney 2006-02-02 00:38:08 +00:00
ScheduleDAGSimple.cpp Fix VC++ compilation error. 2006-01-24 04:43:17 +00:00
SelectionDAG.cpp remove dead fn 2006-02-03 06:51:34 +00:00
SelectionDAGISel.cpp Add initial support for immediates. This allows us to compile this: 2006-02-04 02:26:14 +00:00
SelectionDAGPrinter.cpp Added an index field to GlobalAddressSDNode so it can represent X+12, etc. 2005-11-30 02:04:11 +00:00
TargetLowering.cpp implementation of some methods for inlineasm 2006-02-04 02:13:02 +00:00