Dan Gohman
30c5ce1b7d
Switch the MachineOperand accessors back to the short names like
...
isReg, etc., from isRegister, etc.
llvm-svn: 57006
2008-10-03 15:45:36 +00:00
Dan Gohman
7e1e10f7d2
Fix the name of BreakCriticalMachineEdge.h's include guard
...
llvm-svn: 53686
2008-07-16 16:04:07 +00:00
Dan Gohman
cd25487258
Pool-allocation for MachineInstrs, MachineBasicBlocks, and
...
MachineMemOperands. The pools are owned by MachineFunctions.
This drastically reduces the number of calls to malloc/free made
during the "Emit" phase of scheduling, as well as later phases
in CodeGen. Combined with other changes, this speeds up the
"instruction selection" phase of CodeGen by 10% in some cases.
llvm-svn: 53212
2008-07-07 23:14:23 +00:00
Owen Anderson
7ad72080a6
Fixes for BreakCriticalMachineCodeEdge by Fernando.
...
llvm-svn: 46419
2008-01-27 19:51:03 +00:00
Chris Lattner
e0b1ee937a
Don't attribute in file headers anymore. See llvmdev for the
...
discussion of this change. Boy are my fingers tired. ;-)
llvm-svn: 45411
2007-12-29 19:59:42 +00:00
Owen Anderson
3bf3917599
Wow. I definitely shouldn't write code when I'm tird.
...
Make my previous patch actually do what it was intended to do.
llvm-svn: 44061
2007-11-13 19:56:28 +00:00
Owen Anderson
4a8d490c4d
Fix rewriting of PHI nodes.
...
Could someone more familiar with machine-level stuff review this for me?
llvm-svn: 44005
2007-11-12 02:13:07 +00:00
Owen Anderson
bc0825ac4f
Remove unnecessary #include's.
...
llvm-svn: 44003
2007-11-12 01:19:28 +00:00
Owen Anderson
40abf86e03
As Chris and Evan pointed out, BreakCriticalMachineEdges doesn't really need
...
to be a pass of its own. Instead, move it out into a helper method.
llvm-svn: 44002
2007-11-12 01:05:09 +00:00