Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix MSVC build. | Benjamin Kramer | 2009-12-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 90454 | |||||
* | Convert ProfileVerifier to template so it can be used for different types of ↵ | Andreas Neustifter | 2009-12-03 | 1 | -243/+276 | |
| | | | | | | ProfileInfo. llvm-svn: 90451 | |||||
* | Do not create negative edge weights in ProfileEstimator. | Andreas Neustifter | 2009-12-03 | 1 | -21/+125 | |
| | | | | | | | Use integer values for weights to prevent rounding errors. Make ProfileEstimator more robust in general CFGs. llvm-svn: 90449 | |||||
* | Add an implementation of the delta debugging algorithm. | Daniel Dunbar | 2009-12-03 | 2 | -0/+111 | |
| | | | | | | | - This is a pretty slow / memory intensive implementation, and I will likely change it to an iterative model, but it works. llvm-svn: 90447 | |||||
* | Use ProfileInfo-API in ProfileInfo Loader and do more assertions. | Andreas Neustifter | 2009-12-03 | 1 | -46/+10 | |
| | | | | llvm-svn: 90446 | |||||
* | Converted ProfileInfo to template, added more API for ProfileInfo-preserving. | Andreas Neustifter | 2009-12-03 | 1 | -40/+925 | |
| | | | | llvm-svn: 90445 | |||||
* | Teach tail duplication to update SSA form. Work in progress. | Evan Cheng | 2009-12-03 | 1 | -3/+134 | |
| | | | | llvm-svn: 90432 | |||||
* | expand note. | Chris Lattner | 2009-12-03 | 1 | -0/+15 | |
| | | | | llvm-svn: 90429 | |||||
* | add a note | Chris Lattner | 2009-12-03 | 1 | -0/+32 | |
| | | | | llvm-svn: 90428 | |||||
* | Don't pull vector sext through both hands of a logical operation, since ↵ | Nate Begeman | 2009-12-03 | 1 | -2/+8 | |
| | | | | | | | | | doing so prevents the fusion of vector sext and setcc into vsetcc. Add a testcase for the above transformation. Fix a bogus use of APInt noticed while tracking this down. llvm-svn: 90423 | |||||
* | fix a build problem with VC++, PR5664, patch by Alp Toker! | Chris Lattner | 2009-12-03 | 1 | -2/+4 | |
| | | | | llvm-svn: 90419 | |||||
* | Recognize canonical forms of vector shuffles where the same vector is used for | Bob Wilson | 2009-12-03 | 1 | -1/+87 | |
| | | | | | | | | both source operands. In the canonical form, the 2nd operand is changed to an undef and the shuffle mask is adjusted to only reference elements from the 1st operand. Radar 7434842. llvm-svn: 90417 | |||||
* | Don't call getValueType() on a null SDValue | Jakob Stoklund Olesen | 2009-12-03 | 1 | -1/+2 | |
| | | | | llvm-svn: 90415 | |||||
* | Fix this crasher, and add a FIXME for a missed optimization. | Owen Anderson | 2009-12-03 | 1 | -0/+10 | |
| | | | | llvm-svn: 90408 | |||||
* | Fill out codegen SSA updater. It's not yet tested. | Evan Cheng | 2009-12-03 | 2 | -8/+243 | |
| | | | | llvm-svn: 90395 | |||||
* | Revert r90371. It was causing build failures. | Bill Wendling | 2009-12-03 | 1 | -23/+42 | |
| | | | | llvm-svn: 90383 | |||||
* | Don't hang on to pointers or references after vector::push_back. | Jakob Stoklund Olesen | 2009-12-03 | 1 | -6/+3 | |
| | | | | | | | The MO reference to a MachineOperand can be invalidated by MachineInstr::addOperand. Don't even use it for debugging. llvm-svn: 90381 | |||||
* | Emit method definition DIE at module level (even for methods with inlined ↵ | Devang Patel | 2009-12-03 | 2 | -28/+90 | |
| | | | | | | functino body at soure level) so that the debugger can invoke it. This fixes many test failures in gdb test suite. llvm-svn: 90375 | |||||
* | Further improvements: refactoring code that does the same thing into one | Bill Wendling | 2009-12-03 | 1 | -42/+23 | |
| | | | | | | | function, converting "dyn_cast" to "cast", asserting the correct things, and other general cleanups. llvm-svn: 90371 | |||||
* | yay for case insensitive file systems (?) | Chris Lattner | 2009-12-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 90370 | |||||
* | fix PR5673 by being more careful about pointers to functions. | Chris Lattner | 2009-12-03 | 1 | -3/+10 | |
| | | | | llvm-svn: 90369 | |||||
* | remove some dead std::ostream using code. | Chris Lattner | 2009-12-03 | 1 | -9/+0 | |
| | | | | llvm-svn: 90366 | |||||
* | improve portability to avoid conflicting with std::next in c++'0x. | Chris Lattner | 2009-12-03 | 41 | -104/+112 | |
| | | | | | | Patch by Howard Hinnant! llvm-svn: 90365 | |||||
* | This initial code is meant to convert TargetData to use an AbstractTypesUser so | Bill Wendling | 2009-12-03 | 1 | -59/+38 | |
| | | | | | | | | | that it doesn't have dangling pointers when abstract types are resolved. This modifies it somewhat to address comments: making the "StructLayoutMap" an anonymous structure, calling "removeAbstractTypeUser" when appropriate, and adding asserts where helpful. llvm-svn: 90362 | |||||
* | Fix CMake makefiles | Douglas Gregor | 2009-12-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 90354 | |||||
* | Skeleton for MachineInstr level SSA updater. | Evan Cheng | 2009-12-02 | 1 | -0/+108 | |
| | | | | llvm-svn: 90353 | |||||
* | Add MaxStackAlignment.cpp to CMake | Jim Grosbach | 2009-12-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 90337 | |||||
* | Factor the stack alignment calculations out into a target independent pass. | Jim Grosbach | 2009-12-02 | 7 | -132/+75 | |
| | | | | | | No functionality change. llvm-svn: 90336 | |||||
* | Don't count PHI instructions toward the limit for tail duplicating a block. | Bob Wilson | 2009-12-02 | 1 | -4/+6 | |
| | | | | llvm-svn: 90326 | |||||
* | Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cpp | Jim Grosbach | 2009-12-02 | 2 | -63/+62 | |
| | | | | llvm-svn: 90324 | |||||
* | Cheap, mostly strict, stable sorting. | Andreas Neustifter | 2009-12-02 | 1 | -0/+13 | |
| | | | | | | This is necessary for tests so the results are comparable. llvm-svn: 90320 | |||||
* | Silence compiler warnings. | Benjamin Kramer | 2009-12-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 90319 | |||||
* | Clarify that DIEString does not keep a copy of the string. | Devang Patel | 2009-12-02 | 2 | -3/+3 | |
| | | | | llvm-svn: 90318 | |||||
* | Cleanup/remove some parts of the lifetime region handling code in memdep and ↵ | Owen Anderson | 2009-12-02 | 2 | -24/+19 | |
| | | | | | | | | GVN, per Chris' comments. Adjust testcases to match. llvm-svn: 90304 | |||||
* | factor some code better. | Chris Lattner | 2009-12-02 | 1 | -10/+10 | |
| | | | | llvm-svn: 90299 | |||||
* | formatting cleanups. | Chris Lattner | 2009-12-02 | 1 | -20/+22 | |
| | | | | llvm-svn: 90298 | |||||
* | tidy up, remove dependence on order of evaluation of function args from ↵ | Chris Lattner | 2009-12-02 | 1 | -15/+12 | |
| | | | | | | EmitMemCpy. llvm-svn: 90297 | |||||
* | Fixed an assertion failure for tracking sext of a vector of integers | Mon P Wang | 2009-12-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 90290 | |||||
* | Add utility routine to create subprogram definition entry from subprogram ↵ | Devang Patel | 2009-12-01 | 1 | -0/+23 | |
| | | | | | | declaration entry. llvm-svn: 90282 | |||||
* | Reuse existing subprogram DIE. | Devang Patel | 2009-12-01 | 1 | -2/+7 | |
| | | | | llvm-svn: 90281 | |||||
* | return more useful error messages by using strerror to format errno | Chris Lattner | 2009-12-01 | 1 | -3/+3 | |
| | | | | | | instead of returning an ambiguous reason. llvm-svn: 90275 | |||||
* | Fix PR5391: support early clobber physical register def tied with a use (ewwww) | Evan Cheng | 2009-12-01 | 2 | -4/+12 | |
| | | | | | | | | - A valno should be set HasRedefByEC if there is an early clobber def in the middle of its live ranges. It should not be set if the def of the valno is defined by an early clobber. - If a physical register def is tied to an use and it's an early clobber, it just means the HasRedefByEC is set since it's still one continuous live range. - Add a couple of missing checks for HasRedefByEC in the coalescer. In general, it should not coalesce a vr with a physical register if the physical register has a early clobber def somewhere. This is overly conservative but that's the price for using such a nasty inline asm "feature". llvm-svn: 90269 | |||||
* | rename some variables. | Chris Lattner | 2009-12-01 | 1 | -13/+13 | |
| | | | | llvm-svn: 90258 | |||||
* | tidy | Chris Lattner | 2009-12-01 | 1 | -1/+3 | |
| | | | | llvm-svn: 90257 | |||||
* | Add edge source labels to SelectionDAG graphs, now that the graph printing | Dan Gohman | 2009-12-01 | 1 | -0/+5 | |
| | | | | | | | framework omits differentiated edge sources in the case where the labels are empty strings. llvm-svn: 90254 | |||||
* | Minor cleanups. | Dan Gohman | 2009-12-01 | 1 | -9/+9 | |
| | | | | llvm-svn: 90253 | |||||
* | Trim an unnecessary #include. | Dan Gohman | 2009-12-01 | 1 | -1/+0 | |
| | | | | llvm-svn: 90252 | |||||
* | Clear function specific containers while processing end of a function, even ↵ | Devang Patel | 2009-12-01 | 1 | -9/+7 | |
| | | | | | | if DW_TAG_subprogram for current function is not found. llvm-svn: 90247 | |||||
* | Thumb1 exception handling setjmp | Jim Grosbach | 2009-12-01 | 3 | -0/+42 | |
| | | | | llvm-svn: 90246 | |||||
* | For VLDM/VSTM (Advanced SIMD), set encoding bits Inst{11-8} to 0b1011. | Johnny Chen | 2009-12-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 90243 |