Revision tags: llvmorg-2.6.0 |
|
#
dd76bb23 |
| 09-Oct-2009 |
Dan Gohman <gohman@apple.com> |
Add basic infrastructure and x86 support for preserving MachineMemOperand information when unfolding memory references.
llvm-svn: 83656
|
#
5c13c2d3 |
| 30-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Remove dead code.
llvm-svn: 83181
|
#
48b185d6 |
| 25-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Improve MachineMemOperand handling. - Allocate MachineMemOperands and MachineMemOperand lists in MachineFunctions. This eliminates MachineInstr's std::list member and allows the data to be cre
Improve MachineMemOperand handling. - Allocate MachineMemOperands and MachineMemOperand lists in MachineFunctions. This eliminates MachineInstr's std::list member and allows the data to be created by isel and live for the remainder of codegen, avoiding a lot of copying and unnecessary translation. This also shrinks MemSDNode. - Delete MemOperandSDNode. Introduce MachineSDNode which has dedicated fields for MachineMemOperands. - Change MemSDNode to have a MachineMemOperand member instead of its own fields with the same information. This introduces some redundancy, but it's more consistent with what MachineInstr will eventually want. - Ignore alignment when searching for redundant loads for CSE, but remember the greatest alignment.
Target-specific code which previously used MemOperandSDNodes with generic SDNodes now use MemIntrinsicSDNodes, with opcodes in a designated range so that the SelectionDAG framework knows that MachineMemOperand information is available.
llvm-svn: 82794
show more ...
|
#
f2471ec9 |
| 15-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
add hooks to hang target-specific goop off MachineModuleInfo, move MachineFunctionInfo virtual method out of line to give it a home.
llvm-svn: 81940
|
#
80ae3497 |
| 28-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Reapply 79977. Use MDNodes to encode debug info in llvm IR.
llvm-svn: 80406
|
#
f08e35d9 |
| 26-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
llvm-svn: 80073
|
#
02aac922 |
| 25-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.
This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)
llvm-svn: 79977
show more ...
|
#
34ee2033 |
| 23-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix some refactos for iostream changes (in -Asserts mode). - The world needs better C++ refactoring tools, can I get an Amen!?
llvm-svn: 79843
|
#
565449d7 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
remove std::ostream versions of printing stuff for MBB and MF, upgrading a few things to use raw_ostream
llvm-svn: 79811
|
#
22d4bfc2 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
convert some stuff to work on raw_ostreams instead of std::ostream.
llvm-svn: 79803
|
#
1216f542 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
remove dead PrefixPrinter class.
llvm-svn: 79796
|
#
8230a93a |
| 19-Aug-2009 |
David Greene <greened@obbligato.org> |
Add missing includes.
llvm-svn: 79480
|
#
43bbb9de |
| 17-Aug-2009 |
Jim Grosbach <grosbach@apple.com> |
Remove a bit more cruft from the sjlj moving to a backend pass.
llvm-svn: 79272
|
#
55f1c09e |
| 13-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContexts through the IntegerType APIs.
llvm-svn: 78948
|
#
3de4a60e |
| 13-Aug-2009 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Add MachineFrameInfo::getPristineRegisters(MBB) method.
llvm-svn: 78911
|
#
693e36a3 |
| 11-Aug-2009 |
Jim Grosbach <grosbach@apple.com> |
SjLj based exception handling unwinding support. This patch is nasty, brutish and short. Well, it's kinda short. Definitely nasty and brutish.
The front-end generates the register/unregister calls i
SjLj based exception handling unwinding support. This patch is nasty, brutish and short. Well, it's kinda short. Definitely nasty and brutish.
The front-end generates the register/unregister calls into the SjLj runtime, call-site indices and landing pad dispatch. The back end fills in the LSDA with the call-site information provided by the front end. Catch blocks are not yet implemented.
Built on Darwin and verified no llvm-core "make check" regressions.
llvm-svn: 78625
show more ...
|
#
ec9bc288 |
| 03-Aug-2009 |
David Greene <greened@obbligato.org> |
Re-apply LiveInterval index dumping patch, with fixes suggested by Bill and others.
llvm-svn: 78003
|
#
f72c0d6b |
| 03-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix some comments referring to std::cerr.
llvm-svn: 77931
|
#
7baae4b3 |
| 31-Jul-2009 |
Dan Gohman <gohman@apple.com> |
MachineFunction no longer needs Annotation.
llvm-svn: 77704
|
#
5ea74d55 |
| 31-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Reapply r77654 with a fix: MachineFunctionPass's getAnalysisUsage shouldn't do AU.setPreservesCFG(), because even though CodeGen passes don't modify the LLVM IR CFG, they may modify the MachineFuncti
Reapply r77654 with a fix: MachineFunctionPass's getAnalysisUsage shouldn't do AU.setPreservesCFG(), because even though CodeGen passes don't modify the LLVM IR CFG, they may modify the MachineFunction CFG, and passes like MachineLoop are registered with isCFGOnly set to true.
llvm-svn: 77691
show more ...
|
#
54347565 |
| 31-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert r77654, it appears to be causing llvm-gcc bootstrap failures, and many failures when building assorted projects with clang.
--- Reverse-merging r77654 into '.': U include/llvm/CodeGen/Pass
Revert r77654, it appears to be causing llvm-gcc bootstrap failures, and many failures when building assorted projects with clang.
--- Reverse-merging r77654 into '.': U include/llvm/CodeGen/Passes.h U include/llvm/CodeGen/MachineFunctionPass.h U include/llvm/CodeGen/MachineFunction.h U include/llvm/CodeGen/LazyLiveness.h U include/llvm/CodeGen/SelectionDAGISel.h D include/llvm/CodeGen/MachineFunctionAnalysis.h U include/llvm/Function.h U lib/Target/CellSPU/SPUISelDAGToDAG.cpp U lib/Target/PowerPC/PPCISelDAGToDAG.cpp U lib/CodeGen/LLVMTargetMachine.cpp U lib/CodeGen/MachineVerifier.cpp U lib/CodeGen/MachineFunction.cpp U lib/CodeGen/PrologEpilogInserter.cpp U lib/CodeGen/MachineLoopInfo.cpp U lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp D lib/CodeGen/MachineFunctionAnalysis.cpp D lib/CodeGen/MachineFunctionPass.cpp U lib/CodeGen/LiveVariables.cpp
llvm-svn: 77661
show more ...
|
#
bcb44baa |
| 31-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Manage MachineFunctions with an analysis Pass instead of the Annotable mechanism. To support this, make MachineFunctionPass a little more complete.
llvm-svn: 77654
|
#
0dd5e1ed |
| 25-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
More migration to raw_ostream, the water has dried up around the iostream hole. - Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided call
More migration to raw_ostream, the water has dried up around the iostream hole. - Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations.
llvm-svn: 77019
show more ...
|
#
12368685 |
| 24-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Switch to getNameStr().
llvm-svn: 76962
|
#
4565ef5b |
| 22-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
reimplement Constant::ContainsRelocations as Constant::getRelocationInfo(), which has a much simpler to use API. It still should not be part of libvmcore, but is better than it was. Also teach it
reimplement Constant::ContainsRelocations as Constant::getRelocationInfo(), which has a much simpler to use API. It still should not be part of libvmcore, but is better than it was. Also teach it to be smart about hidden visibility.
llvm-svn: 76700
show more ...
|