- Jul 14, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 75537
-
Dan Gohman authored
and related functions out of LoopBase and into Loop, since they are specific to BasicBlock-based loops. This also allows the code to be moved out-of-line. llvm-svn: 75523
-
- Jul 13, 2009
-
-
Dan Gohman authored
using the Curiously Recurring Template Pattern with LoopBase. This will help further refactoring, and future functionality for Loop. Also, Headers can now foward-declare Loop, instead of pulling in LoopInfo.h or doing tricks. llvm-svn: 75519
-
Devang Patel authored
llvm-svn: 75515
-
Owen Anderson authored
llvm-svn: 75508
-
Devang Patel authored
llvm-svn: 75507
-
Devang Patel authored
llvm-svn: 75503
-
David Greene authored
Add infrastructure to allow post instruction printing action triggers. We'll eventually use this to print comments in asm files and do other fun things. This adds interfaces to the AsmPrinter and changes TableGen to invoke the postInstructionAction when appropriate. It also add parameters to TargetAsmInfo to control comment layout. llvm-svn: 75490
-
Daniel Dunbar authored
llvm-svn: 75456
-
Daniel Dunbar authored
llvm-svn: 75454
-
Lang Hames authored
llvm-svn: 75450
-
Owen Anderson authored
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
-
Daniel Dunbar authored
llvm-svn: 75440
-
- Jul 12, 2009
-
-
Chris Lattner authored
implemented in codegen, have no frontend to generate them, and are better implemented with pattern matching (like the ppc backend does to generate rlwimi/rlwinm etc). PR4543 llvm-svn: 75430
-
Torok Edwin authored
llvm-svn: 75423
-
Jakob Stoklund Olesen authored
The blackfin processor has a legal i16 type, but only logic operations on i32. llvm-svn: 75419
-
Jakob Stoklund Olesen authored
llvm-svn: 75418
-
- Jul 11, 2009
-
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
Torok Edwin authored
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
-
Evan Cheng authored
Fix up support for OptionalDefOperand when it defaults to an actual register def. I need this to get ready for major Thumb1 surgery. llvm-svn: 75328
-
Eli Friedman authored
llvm-svn: 75320
-
Evan Cheng authored
llvm-svn: 75317
-
Evan Cheng authored
llvm-svn: 75312
-
- Jul 10, 2009
-
-
David Greene authored
Make changes suggested by Chris and eliminate newly-added raw_ostream hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. llvm-svn: 75283
-
Duncan Sands authored
llvm-svn: 75267
-
Evan Cheng authored
Remove TargetInstrInfo::CommuteChangesDestination and added findCommutedOpIndices which returns the operand indices which are swapped (when applicable). This allows for some code clean up and future enhancements. llvm-svn: 75264
-
David Greene authored
Eliminate an unnecessary include. llvm-svn: 75256
-
David Greene authored
Redesign this to avoid standard stream classes. This stream class provides pretty -printing of comments and other such things in asm files. llvm-svn: 75202
-
Owen Anderson authored
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
-
Bob Wilson authored
llvm-svn: 75197
-
Eli Friedman authored
value. Adjust other code to deal with that correctly. Make DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT take advantage of this new flexibility to simplify the code and make it deal with unusual vectors (like <4 x i1>) correctly. Fixes PR3037. llvm-svn: 75176
-
- Jul 09, 2009
-
-
Owen Anderson authored
llvm-svn: 75161
-
Chris Lattner authored
llvm-svn: 75160
-
David Greene authored
Add some classes to produce pretty-printed asm. We'll use these shortly to provide nicely printed comments and other goodies in asm files. llvm-svn: 75156
-
Owen Anderson authored
llvm-svn: 75153
-
Evan Cheng authored
registers based on dynamic conditions. For example, X86 EBP/RBP, when used as frame register has to be spilled in the first fixed object. It should inform PEI this so it doesn't get allocated another stack object. Also, it should not be spilled as other callee-saved registers but rather its spilling and restoring are being handled by emitPrologue and emitEpilogue. Avoid spilling it twice. llvm-svn: 75116
-
Lang Hames authored
as an (index,bool) pair. The bool flag records whether the kill is a PHI kill or not. This code will be used to enable splitting of live intervals containing PHI-kills. A slight change to live interval weights introduced an extra spill into lsr-code-insertion (outside the critical sections). The test condition has been updated to reflect this. llvm-svn: 75097
-
Dan Gohman authored
nodes with operand types that differ from the result type. (This doesn't normally happen right now, because SelectionDAGLowering::visitShuffleVector normalizes vector shuffles.) llvm-svn: 75081
-
David Goodwin authored
llvm-svn: 75067
-
- Jul 08, 2009
-
-
Duncan Sands authored
number of elements. Make some simplifications based on this (in particular SplitVecRes_SETCC). Tighten up some checking while there. llvm-svn: 75050
-