summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of hash_map. Use StringMap insteadAnton Korobeynikov2008-02-201-3/+3
| | | | llvm-svn: 47373
* And final pack of warnings silencingAnton Korobeynikov2008-02-203-3/+9
| | | | llvm-svn: 47372
* Make Transforms to be 4.3 warnings-cleanAnton Korobeynikov2008-02-209-39/+58
| | | | llvm-svn: 47371
* Fix code styleAnton Korobeynikov2008-02-201-17/+15
| | | | llvm-svn: 47370
* Remove bunch of gcc 4.3-related warnings from TargetAnton Korobeynikov2008-02-2013-24/+31
| | | | llvm-svn: 47369
* Update gcc 4.3 warnings fix patch with recent head changesAnton Korobeynikov2008-02-2012-40/+58
| | | | llvm-svn: 47368
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-2048-40/+93
| | | | | | annoying warnings. llvm-svn: 47367
* Added some comments and reformatted others. No functionality change.Bill Wendling2008-02-201-28/+43
| | | | | | | Added two "FIXMEs" for code that looks dubious to me (but I could be wrong). llvm-svn: 47366
* Fixed typo.Bill Wendling2008-02-201-1/+1
| | | | llvm-svn: 47365
* When performing return slot optimization, remember to inform memdep when ↵Owen Anderson2008-02-201-0/+1
| | | | | | we're removing the memcpy. llvm-svn: 47364
* Added memmove to interpreter external functions list. Patch by Daniel Dunbar.Evan Cheng2008-02-201-0/+9
| | | | llvm-svn: 47363
* More constification of things. More comments added. No functionalityBill Wendling2008-02-202-47/+79
| | | | | | changes. (Sorry for any formatting changes that creeped in.) llvm-svn: 47362
* Use getConstant for ConstantInts.Nick Lewycky2008-02-201-2/+2
| | | | llvm-svn: 47361
* Add 'umax' similar to 'smax' SCEV. Closes PR2003.Nick Lewycky2008-02-207-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 Lattner2008-02-201-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 Wendling2008-02-201-31/+42
| | | | | | | - Constified some MachineOperand values. - Added/Modified some comments. llvm-svn: 47358
* Implemented transfer function logic for unary '+'Ted Kremenek2008-02-207-0/+42
| | | | llvm-svn: 47357
* Placed transfer function logic for dereferences in its own method, while atTed Kremenek2008-02-205-94/+148
| | | | | | the same time clearing up some logic of how the unary '*' operator is processed. llvm-svn: 47356
* XFAIL this for now.Evan Cheng2008-02-201-0/+1
| | | | llvm-svn: 47355
* Disable for now. This is pessimizing code.Evan Cheng2008-02-201-1/+1
| | | | llvm-svn: 47354
* Add some comments to Intrinsic::getDeclaration to clarify how toDan Gohman2008-02-201-0/+6
| | | | | | get declarations for overloaded intrinsics. llvm-svn: 47353
* Add Alignment field to ParameterAttributes andDale Johannesen2008-02-192-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 Cheng2008-02-192-1/+7
| | | | | | folding change. llvm-svn: 47351
* regenerateDevang Patel2008-02-193-1040/+1062
| | | | llvm-svn: 47350
* ParseDevang Patel2008-02-192-1/+11
| | | | | | %b = getresult {i32, i32} %a, i32 1 llvm-svn: 47349
* Add GetResultInst. First step for multiple return value support.Devang Patel2008-02-196-1/+88
| | | | llvm-svn: 47348
* Improve non-const initializer implementation. Lauro Ramos Venancio2008-02-191-31/+51
| | | | llvm-svn: 47347
* Implement CodeGenModule::getMemSetFn method.Lauro Ramos Venancio2008-02-192-1/+15
| | | | llvm-svn: 47346
* Generated files for checkin 47342.Dale Johannesen2008-02-193-267/+267
| | | | llvm-svn: 47344
* Forgot a file, goes with 47342.Dale Johannesen2008-02-191-3/+3
| | | | llvm-svn: 47343
* Expand ParameterAttributes to 32 bits (in preparationDale Johannesen2008-02-1916-96/+122
| | | | | | | for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently. llvm-svn: 47342
* Added missing case in constant propagation logic for handling the Xor ofTed Kremenek2008-02-191-0/+3
| | | | | | two concrete integer values. llvm-svn: 47341
* Added special handling for UninitializedVals for the transfer function logicTed Kremenek2008-02-192-4/+29
| | | | | | for pointer dereferences. llvm-svn: 47340
* Implemented "getType()" for symbolic values representing the "contents" ofTed Kremenek2008-02-192-3/+10
| | | | | | another symbolic value. llvm-svn: 47339
* Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek2008-02-191-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 PR2065Andrew Lenharth2008-02-191-7/+5
| | | | llvm-svn: 47337
* Simplify aggregate initilizer implementation. Use the ↵Lauro Ramos Venancio2008-02-192-43/+15
| | | | | | | | | CodeGenModule::EmitConstantExpr method when possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336
* Fixed transfer function for casts to always evaluate the effects of theTed Kremenek2008-02-191-5/+8
| | | | | | cast's subexpression even if the cast itself has no effect. llvm-svn: 47335
* random cleanups.Chris Lattner2008-02-191-7/+4
| | | | llvm-svn: 47334
* Added transfer function support for casting to "void".Ted Kremenek2008-02-192-2/+10
| | | | llvm-svn: 47333
* this test requires sse2Chris Lattner2008-02-191-1/+1
| | | | llvm-svn: 47331
* Don't fold and's into test instructions if they have multiple uses.Chris Lattner2008-02-192-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 Lattner2008-02-1910-0/+0
| | | | | | instruction. llvm-svn: 47329
* Fix a compiler warning.Duncan Sands2008-02-191-1/+1
| | | | llvm-svn: 47328
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-1951-1306/+1302
| | | | llvm-svn: 47325
* dead passChris Lattner2008-02-191-16/+0
| | | | llvm-svn: 47324
* remove the LowerSelect pass. The last client was the old Sparc backend, ↵Chris Lattner2008-02-198-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 Lattner2008-02-193-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 Anderson2008-02-191-7/+11
| | | | | | happened to work out anyways. :-) llvm-svn: 47321
* isa+cast -> dyncast.Chris Lattner2008-02-191-2/+2
| | | | llvm-svn: 47320
OpenPOWER on IntegriCloud