summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach branch folding pass about implicit_def instructions. Unfortunately we ↵Evan Cheng2008-04-103-4/+105
| | | | | | can't just eliminate them since register scavenger expects every register use to be defined. However, we can delete them when there are no intra-block uses. Carefully removing some implicit def's which enable more blocks to be optimized away. llvm-svn: 49461
* Disable an xform we've had for a long time, pow(x,0.5) -> sqrt.Chris Lattner2008-04-101-0/+8
| | | | | | This is not safe for all inputs. llvm-svn: 49458
* Move memcpy / memset optimization pass after GVN.Evan Cheng2008-04-101-1/+1
| | | | llvm-svn: 49457
* - More aggressively coalescing away copies whose source is defined by an ↵Evan Cheng2008-04-096-76/+421
| | | | | | | | implicit_def. - Added insert_subreg coalescing support. llvm-svn: 49448
* Make isVectorClearMaskLegal's operand list const.Dan Gohman2008-04-093-5/+6
| | | | llvm-svn: 49446
* Fix some minor errors in comments.Dan Gohman2008-04-091-3/+3
| | | | llvm-svn: 49445
* Add const qualifiers.Dan Gohman2008-04-091-2/+2
| | | | llvm-svn: 49443
* Update comments to use 2.0 syntax type names.Dan Gohman2008-04-092-3/+3
| | | | llvm-svn: 49442
* Add XMM1 as a second return value register for f32 and f64 on x86-64. ThisDan Gohman2008-04-091-4/+4
| | | | | | | is needed for the x86-64-ABI handling of structs that contain floating-point members that are returned by value. llvm-svn: 49441
* Add DX as a second return value register for i16 on x86.Dan Gohman2008-04-091-1/+1
| | | | llvm-svn: 49440
* Generalize getUnaryFloatFunction to handle any FP unary function, automaticallyChris Lattner2008-04-092-17/+38
| | | | | | figuring out the suffix to use. implement pow(2,x) -> exp2(x). llvm-svn: 49437
* remove capital letter from test name.Chris Lattner2008-04-091-0/+0
| | | | llvm-svn: 49436
* use the new ConstantFP::get method to make this work withChris Lattner2008-04-091-11/+4
| | | | | | long double and simplify the code. llvm-svn: 49435
* ConstantFP::get should be static.Chris Lattner2008-04-091-1/+1
| | | | llvm-svn: 49434
* Fix a bug where an incorrect bit mask would be generated if a target's last asmNate Begeman2008-04-091-1/+1
| | | | | | | string began at a power of 2 in the string index. For example, if "ret" started at position 16, the ret instruction would be assigned code 16, but the mask would be AsmChars[] + Code & 15, not Code & 31. llvm-svn: 49433
* Be conservative if getresult operand is neither call nor invoke.Devang Patel2008-04-091-2/+3
| | | | llvm-svn: 49430
* Factor a bunch of functionality related to memcpy and memset transforms out of Owen Anderson2008-04-0913-628/+790
| | | | | | GVN and into its own pass. llvm-svn: 49419
* Remove accidentally duplicated code.Owen Anderson2008-04-091-4/+0
| | | | llvm-svn: 49418
* Unbreak teh build.Evan Cheng2008-04-091-0/+5
| | | | llvm-svn: 49417
* add a simplified accessor for creating an fp constant of a Chris Lattner2008-04-091-13/+25
| | | | | | particular value but variable type. llvm-svn: 49416
* Missed a hasInterval check.Evan Cheng2008-04-092-0/+21
| | | | llvm-svn: 49415
* add a version of ConstantFP::get that doesn't take a redundant Type* value,Chris Lattner2008-04-092-22/+26
| | | | | | start migrating code over to use it. llvm-svn: 49413
* many cleanups to the pow optimizer. Allow it to handle powf,Chris Lattner2008-04-092-38/+62
| | | | | | add support for pow(x, 2.0) -> x*x. llvm-svn: 49411
* make ConstantFP::isExactlyValue work for long double as well.Chris Lattner2008-04-091-7/+4
| | | | llvm-svn: 49410
* Add CreateGetResult()Devang Patel2008-04-081-1/+5
| | | | llvm-svn: 49398
* Check that bodies and calls but not declarationsDuncan Sands2008-04-081-0/+7
| | | | | | | are marked nounwind when compiling without -fexceptions. llvm-svn: 49393
* Rename -disable-required-unwind-tables to -unwind-tables-optional.Dale Johannesen2008-04-0816-21/+21
| | | | llvm-svn: 49391
* Rename -disable-required-unwind-tables to unwind-tables-optional.Dale Johannesen2008-04-081-2/+2
| | | | llvm-svn: 49389
* merge r48768 from branches/ggreif/parallelized-testGabor Greif2008-04-081-3/+0
| | | | llvm-svn: 49382
* Add multiple value return instruction constructor.Devang Patel2008-04-081-0/+4
| | | | llvm-svn: 49374
* Convenience method for setting the nounwindDuncan Sands2008-04-082-0/+10
| | | | | | attribute for a function. llvm-svn: 49373
* silence warning when assertions are disabled.Chris Lattner2008-04-081-1/+1
| | | | llvm-svn: 49371
* Fix insert point handling for multiple return values.Devang Patel2008-04-081-4/+12
| | | | llvm-svn: 49367
* Handle the situation in 2008-01-25-EmptyFunction.llDale Johannesen2008-04-081-10/+11
| | | | | | correctly when unwind info is being generated. llvm-svn: 49366
* Missed one.Dale Johannesen2008-04-081-1/+1
| | | | llvm-svn: 49365
* Add -disable-required-unwind-tables to testsDale Johannesen2008-04-0816-21/+21
| | | | | | | that need it (usually, grepping for some string found in unwind info) llvm-svn: 49364
* Implement new llc flag -disable-required-unwind-tables.Dale Johannesen2008-04-085-7/+26
| | | | | | Corresponds to -fno-unwind-tables (usually default in gcc). llvm-svn: 49361
* Make getDirnameSep a static method (not part of Path's interface).Ted Kremenek2008-04-074-10/+7
| | | | llvm-svn: 49354
* Added method Path::getDirname().Ted Kremenek2008-04-074-2/+57
| | | | llvm-svn: 49352
* Added support for Create() calls that take an argument besides theSam Bishop2008-04-071-3/+128
| | | | | | deserializer. llvm-svn: 49350
* Rename MemOperand to MachineMemOperand. This was suggested byDan Gohman2008-04-0711-45/+46
| | | | | | | review feedback from Chris quite a while ago. No functionality change. llvm-svn: 49348
* Remove llvm-upgrade.Tanya Lattner2008-04-0710-19786/+0
| | | | llvm-svn: 49347
* Added note to getting started guide to use llvm-gcc4.2.Tanya Lattner2008-04-073-70/+1
| | | | | | Removed llvm-upgrade from documentations. llvm-svn: 49346
* Add operator= implementations to SparseBitVector, allowing it to be used in ↵Owen Anderson2008-04-072-16/+31
| | | | | | | | | GVN. This results in both time and memory savings for GVN. For example, one testcase went from 10.5s to 6s with this patch. llvm-svn: 49345
* Testcase for pr2169.Duncan Sands2008-04-071-0/+14
| | | | llvm-svn: 49344
* Fix test.Evan Cheng2008-04-071-2/+2
| | | | llvm-svn: 49343
* Fix PR 2169.Daniel Berlin2008-04-071-0/+3
| | | | llvm-svn: 49339
* Use Intrinsic::getDeclaration in more places.Duncan Sands2008-04-074-37/+18
| | | | llvm-svn: 49338
* The "stacksave is not nounwind problem" no longerDuncan Sands2008-04-071-8/+3
| | | | | | | | | needs to be fixed here - a previous commit made sure that intrinsics always get the right attributes. So remove no-longer needed code, and while there use Intrinsic::getDeclaration rather than getOrInsertFunction. llvm-svn: 49337
* Use Intrinsic::getDeclaration to get hold ofDuncan Sands2008-04-071-7/+8
| | | | | | | intrinsics. Fix up the argument type (should be i8*, was an array*). llvm-svn: 49336
OpenPOWER on IntegriCloud