Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add an intersects method to APInt, to capture a common idiom. | Dan Gohman | 2008-02-20 | 1 | -0/+6 | |
| | | | | llvm-svn: 47379 | |||||
* | Add documentation for cl::sink stuff | Anton Korobeynikov | 2008-02-20 | 1 | -15/+23 | |
| | | | | llvm-svn: 47378 | |||||
* | Add 'sink' cmdline option. Patch by Mikhail Glushenkov! | Anton Korobeynikov | 2008-02-20 | 2 | -7/+20 | |
| | | | | llvm-svn: 47377 | |||||
* | Regenerate | Anton Korobeynikov | 2008-02-20 | 2 | -305/+306 | |
| | | | | llvm-svn: 47376 | |||||
* | Fix newly-introduced 4.3 warnings | Anton Korobeynikov | 2008-02-20 | 12 | -19/+25 | |
| | | | | llvm-svn: 47375 | |||||
* | Get rid of hash_map in llvmc | Anton Korobeynikov | 2008-02-20 | 2 | -4/+3 | |
| | | | | llvm-svn: 47374 | |||||
* | Get rid of hash_map. Use StringMap instead | Anton Korobeynikov | 2008-02-20 | 1 | -3/+3 | |
| | | | | llvm-svn: 47373 | |||||
* | And final pack of warnings silencing | Anton Korobeynikov | 2008-02-20 | 3 | -3/+9 | |
| | | | | llvm-svn: 47372 | |||||
* | Make Transforms to be 4.3 warnings-clean | Anton Korobeynikov | 2008-02-20 | 9 | -39/+58 | |
| | | | | llvm-svn: 47371 | |||||
* | Fix code style | Anton Korobeynikov | 2008-02-20 | 1 | -17/+15 | |
| | | | | llvm-svn: 47370 | |||||
* | Remove bunch of gcc 4.3-related warnings from Target | Anton Korobeynikov | 2008-02-20 | 13 | -24/+31 | |
| | | | | llvm-svn: 47369 | |||||
* | Update gcc 4.3 warnings fix patch with recent head changes | Anton Korobeynikov | 2008-02-20 | 12 | -40/+58 | |
| | | | | llvm-svn: 47368 | |||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 48 | -40/+93 | |
| | | | | | | annoying warnings. llvm-svn: 47367 | |||||
* | Added some comments and reformatted others. No functionality change. | Bill Wendling | 2008-02-20 | 1 | -28/+43 | |
| | | | | | | | Added two "FIXMEs" for code that looks dubious to me (but I could be wrong). llvm-svn: 47366 | |||||
* | Fixed typo. | Bill Wendling | 2008-02-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 47365 | |||||
* | When performing return slot optimization, remember to inform memdep when ↵ | Owen Anderson | 2008-02-20 | 1 | -0/+1 | |
| | | | | | | we're removing the memcpy. llvm-svn: 47364 | |||||
* | Added memmove to interpreter external functions list. Patch by Daniel Dunbar. | Evan Cheng | 2008-02-20 | 1 | -0/+9 | |
| | | | | llvm-svn: 47363 | |||||
* | More constification of things. More comments added. No functionality | Bill Wendling | 2008-02-20 | 2 | -47/+79 | |
| | | | | | | changes. (Sorry for any formatting changes that creeped in.) llvm-svn: 47362 | |||||
* | Use getConstant for ConstantInts. | Nick Lewycky | 2008-02-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 47361 | |||||
* | Add 'umax' similar to 'smax' SCEV. Closes PR2003. | Nick Lewycky | 2008-02-20 | 7 | -49/+209 | |
| | | | | | | | | | | | | | | | Parse reversed smax and umax as smin and umin and express them with negative or binary-not SCEVs (which are really just subtract under the hood). Parse 'xor %x, -1' as (-1 - %x). Remove dead code (ConstantInt::get always returns a ConstantInt). Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets passed into a uint64_t. Instead, create the -1 directly from ConstantInt::getAllOnesValue(). llvm-svn: 47360 | |||||
* | Fix an incredibly subtle bug exposed by Ted's change to APInt profiling. | Chris Lattner | 2008-02-20 | 1 | -1/+1 | |
| | | | | | | | | AddNodeIDNode does profiling for a ConstantSDNode, but so does SelectionDAG::getConstant. This profiling should be moved to a common static function in ConstantSDNode. llvm-svn: 47359 | |||||
* | No functionality change: | Bill Wendling | 2008-02-20 | 1 | -31/+42 | |
| | | | | | | | - Constified some MachineOperand values. - Added/Modified some comments. llvm-svn: 47358 | |||||
* | XFAIL this for now. | Evan Cheng | 2008-02-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 47355 | |||||
* | Disable for now. This is pessimizing code. | Evan Cheng | 2008-02-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 47354 | |||||
* | Add some comments to Intrinsic::getDeclaration to clarify how to | Dan Gohman | 2008-02-20 | 1 | -0/+6 | |
| | | | | | | get declarations for overloaded intrinsics. llvm-svn: 47353 | |||||
* | Add Alignment field to ParameterAttributes and | Dale Johannesen | 2008-02-19 | 2 | -1/+25 | |
| | | | | | | | treat more or less rationally in interface functions, subject to change. No functional change. llvm-svn: 47352 | |||||
* | Add hidden option -x86-fold-and-in-test to test the effect the test / and ↵ | Evan Cheng | 2008-02-19 | 2 | -1/+7 | |
| | | | | | | folding change. llvm-svn: 47351 | |||||
* | regenerate | Devang Patel | 2008-02-19 | 3 | -1040/+1062 | |
| | | | | llvm-svn: 47350 | |||||
* | Parse | Devang Patel | 2008-02-19 | 2 | -1/+11 | |
| | | | | | | %b = getresult {i32, i32} %a, i32 1 llvm-svn: 47349 | |||||
* | Add GetResultInst. First step for multiple return value support. | Devang Patel | 2008-02-19 | 6 | -1/+88 | |
| | | | | llvm-svn: 47348 | |||||
* | Generated files for checkin 47342. | Dale Johannesen | 2008-02-19 | 3 | -267/+267 | |
| | | | | llvm-svn: 47344 | |||||
* | Forgot a file, goes with 47342. | Dale Johannesen | 2008-02-19 | 1 | -3/+3 | |
| | | | | llvm-svn: 47343 | |||||
* | Expand ParameterAttributes to 32 bits (in preparation | Dale Johannesen | 2008-02-19 | 16 | -96/+122 | |
| | | | | | | | for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently. llvm-svn: 47342 | |||||
* | Fixed bug in APInt::Profile() where the BitWidth field was not included in the | Ted Kremenek | 2008-02-19 | 1 | -0/+2 | |
| | | | | | | | profile of the APSInt object. This caused unexpected Profile collisions where none should have occurred. llvm-svn: 47338 | |||||
* | fix some byval problems in the cbe. Closes PR2065 | Andrew Lenharth | 2008-02-19 | 1 | -7/+5 | |
| | | | | llvm-svn: 47337 | |||||
* | random cleanups. | Chris Lattner | 2008-02-19 | 1 | -7/+4 | |
| | | | | llvm-svn: 47334 | |||||
* | this test requires sse2 | Chris Lattner | 2008-02-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 47331 | |||||
* | Don't fold and's into test instructions if they have multiple uses. | Chris Lattner | 2008-02-19 | 2 | -6/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This compiles test-nofold.ll into: _test: movl $15, %ecx andl 4(%esp), %ecx testl %ecx, %ecx movl $42, %eax cmove %ecx, %eax ret instead of: _test: movl 4(%esp), %eax movl %eax, %ecx andl $15, %ecx testl $15, %eax movl $42, %eax cmove %ecx, %eax ret llvm-svn: 47330 | |||||
* | rename tests to avoid a test- prefix when they aren't related to the test ↵ | Chris Lattner | 2008-02-19 | 10 | -0/+0 | |
| | | | | | | instruction. llvm-svn: 47329 | |||||
* | Fix a compiler warning. | Duncan Sands | 2008-02-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 47328 | |||||
* | Remove llvm-upgrade and update tests. | Tanya Lattner | 2008-02-19 | 51 | -1306/+1302 | |
| | | | | llvm-svn: 47325 | |||||
* | dead pass | Chris Lattner | 2008-02-19 | 1 | -16/+0 | |
| | | | | llvm-svn: 47324 | |||||
* | remove the LowerSelect pass. The last client was the old Sparc backend, ↵ | Chris Lattner | 2008-02-19 | 8 | -120/+0 | |
| | | | | | | which is long dead by now. llvm-svn: 47323 | |||||
* | remove the lower packed pass. It can never work and even the parts that | Chris Lattner | 2008-02-19 | 3 | -456/+0 | |
| | | | | | | | could work don't work fully. This fixes PR1705. Oh yeah, we don't have packed types anymore either ;-) llvm-svn: 47322 | |||||
* | Refactor this method a bit, and correct a test that was completely wrong but ↵ | Owen Anderson | 2008-02-19 | 1 | -7/+11 | |
| | | | | | | happened to work out anyways. :-) llvm-svn: 47321 | |||||
* | isa+cast -> dyncast. | Chris Lattner | 2008-02-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 47320 | |||||
* | simplify this code again, try 2 :) | Chris Lattner | 2008-02-19 | 1 | -7/+5 | |
| | | | | llvm-svn: 47319 | |||||
* | Fix a comment. | Owen Anderson | 2008-02-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 47318 | |||||
* | In addition to arguments passed to it, memcpy (and all other calls) can ↵ | Owen Anderson | 2008-02-19 | 1 | -1/+2 | |
| | | | | | | ModRef pointers that alias their arguments as well. This fixes PR2057. llvm-svn: 47317 | |||||
* | Major improvements to yesterday's return slot optimization. Remove some ↵ | Owen Anderson | 2008-02-19 | 1 | -14/+39 | |
| | | | | | | | | unneccessary constraints, and add some others that should have been in from the first place. Document the whole thing better. llvm-svn: 47315 |