- Dec 31, 2007
-
-
Chris Lattner authored
e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464
-
- Dec 30, 2007
-
-
Chris Lattner authored
- Eliminate the static "print" method for operands, moving it into MachineOperand::print. - Change various set* methods for register flags to take a bool for the value to set it to. Remove unset* methods. - Group methods more logically by operand flavor in MachineOperand.h llvm-svn: 45461
-
Chris Lattner authored
- Add getParent() accessors. - Move SubReg out of the AuxInfo union, to make way for future changes. - Remove the getImmedValue/setImmedValue methods. - in some MachineOperand::Create* methods, stop initializing fields that are dead. MachineInstr: - Delete one copy of the MachineInstr printing code, now there is only one dump format and one copy of the code. - Make MachineOperand use the parent field to get info about preg register names if no target info is otherwise available. - Move def/use/kill/dead flag printing to the machineoperand printer, so they are always printed for an operand. llvm-svn: 45460
-
Chris Lattner authored
llvm-svn: 45459
-
Chris Lattner authored
llvm-svn: 45458
-
Chris Lattner authored
knows how to print offsets. llvm-svn: 45457
-
Chris Lattner authored
llvm-svn: 45456
-
Chris Lattner authored
llvm-svn: 45455
-
Chris Lattner authored
llvm-svn: 45454
-
Chris Lattner authored
machineinstr that owns it. llvm-svn: 45449
-
Chris Lattner authored
llvm-svn: 45436
-
Chris Lattner authored
llvm-svn: 45435
-
Chris Lattner authored
llvm-svn: 45432
-
Chris Lattner authored
llvm-svn: 45428
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
Chris Lattner authored
llvm-svn: 45415
-
Chris Lattner authored
comparisons with a constant. This allows us to compile isnan to: _foo: fcmpu cr7, f1, f1 mfcr r2 rlwinm r3, r2, 0, 31, 31 blr instead of: LCPI1_0: ; float .space 4 _foo: lis r2, ha16(LCPI1_0) lfs f0, lo16(LCPI1_0)(r2) fcmpu cr7, f1, f0 mfcr r2 rlwinm r3, r2, 0, 31, 31 blr llvm-svn: 45405
-
Chris Lattner authored
llvm-svn: 45402
-
Chris Lattner authored
llvm-svn: 45400
-
Chris Lattner authored
x = load p store x -> p llvm-svn: 45398
-
- Dec 24, 2007
-
-
Owen Anderson authored
llvm-svn: 45347
-
- Dec 23, 2007
-
-
Owen Anderson authored
llvm-svn: 45334
-
- Dec 22, 2007
-
-
Chris Lattner authored
legalizer support goes in. llvm-svn: 45323
-
Chris Lattner authored
llvm-svn: 45322
-
Chris Lattner authored
or after legalize. llvm-svn: 45321
-
Chris Lattner authored
targets. llvm-svn: 45320
-
Gordon Henriksen authored
fixes a bug with indirect calls. (Test case will be included with ocaml collector patch.) llvm-svn: 45316
-
Owen Anderson authored
llvm-svn: 45310
-
Owen Anderson authored
Remove critical edge breaking. It won't be necessary as long as we are very careful when inserting copies. llvm-svn: 45309
-
- Dec 20, 2007
-
-
Evan Cheng authored
llvm-svn: 45259
-
Evan Cheng authored
llvm-svn: 45253
-
Evan Cheng authored
llvm-svn: 45252
-
Bill Wendling authored
llvm-svn: 45245
-
- Dec 19, 2007
-
-
Duncan Sands authored
llvm-svn: 45198
-
Duncan Sands authored
to know about calls that cannot throw ('nounwind'): if such a call does throw for some reason then the personality will terminate the program. The distinction between an ordinary call and a nounwind call is that an ordinary call gets an entry in the exception table but a nounwind call does not. This patch sets up the exception table appropriately. One oddity is that I've chosen to bracket nounwind calls with labels (like invokes) - the other choice would have been to bracket ordinary calls with labels. While bracketing ordinary calls is more natural (because bracketing by labels would then correspond exactly to getting an entry in the exception table), I didn't do it because introducing labels impedes some optimizations and I'm guessing that ordinary calls occur more often than nounwind calls. This fixes the gcc filter2 eh test, at least at -O0 (the inliner needs some tweaking at higher optimization levels). llvm-svn: 45197
-
Evan Cheng authored
llvm-svn: 45186
-
- Dec 18, 2007
-
-
Bill Wendling authored
llvm-svn: 45178
-
Anton Korobeynikov authored
llvm-svn: 45172
-
Evan Cheng authored
llvm-svn: 45167
-
Evan Cheng authored
llvm-svn: 45164
-