summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* 80 col fixNate Begeman2008-04-121-1/+1
| | | | llvm-svn: 49569
* Restore code to disable crash catcher on older OS X systemsNate Begeman2008-04-121-1/+25
| | | | llvm-svn: 49568
* Add debugging code.Evan Cheng2008-04-121-3/+7
| | | | llvm-svn: 49566
* Reenable JIT symbol table.Chris Lattner2008-04-111-1/+1
| | | | llvm-svn: 49548
* Do not add empty live intervals to handled_. They should never be undone for ↵Evan Cheng2008-04-111-2/+1
| | | | | | backtracking. llvm-svn: 49544
* If a PHI node has a single implicit_def source, replace it with an ↵Evan Cheng2008-04-112-5/+3563
| | | | | | implicit_def instead of a copy. llvm-svn: 49543
* Use of implicit_def is not part of live interval. Create empty intervals for ↵Evan Cheng2008-04-114-15/+58
| | | | | | the uses when the live interval is being spilled. llvm-svn: 49542
* Change llvm tools install location.Devang Patel2008-04-111-8/+8
| | | | llvm-svn: 49540
* improvements for IntrusiveRefCntPtr, patch by Mikhail GlushenkovChris Lattner2008-04-111-2/+7
| | | | llvm-svn: 49538
* The Ada front-end from the LLVM 2.2 releaseDuncan Sands2008-04-111-7/+9
| | | | | | | cannot be build with GNAT GPL 2006, only with GNAT GPL 2005. llvm-svn: 49529
* detabifyGabor Greif2008-04-111-1/+1
| | | | llvm-svn: 49524
* Add testcase for PR2213.Owen Anderson2008-04-111-0/+12
| | | | llvm-svn: 49517
* Fix PR2213 by simultaneously making GVN more aggressive with the return valuesOwen Anderson2008-04-111-29/+20
| | | | | | of calls and less aggressive with non-readnone calls. llvm-svn: 49516
* New test.Evan Cheng2008-04-102-1/+259
| | | | llvm-svn: 49514
* Remove implicit_def instructions that become dead as result of coalescing.Evan Cheng2008-04-101-19/+37
| | | | llvm-svn: 49513
* Allow registers defined by implicit_def to be clobbered.Evan Cheng2008-04-102-9/+33
| | | | llvm-svn: 49512
* Fix a typo in a comment.Dan Gohman2008-04-101-1/+1
| | | | llvm-svn: 49504
* Fix a typo in a comment.Dan Gohman2008-04-101-1/+1
| | | | llvm-svn: 49502
* Fix for PR2190. Memdep's non-local caching was checking dirtied blocks in theOwen Anderson2008-04-101-2/+4
| | | | | | wrong order. llvm-svn: 49499
* Make several symbols static.Dan Gohman2008-04-104-40/+40
| | | | llvm-svn: 49496
* Teach InstCombine's ComputeMaskedBits to handle pointer expressionsDan Gohman2008-04-103-140/+372
| | | | | | | | | | | | | | | in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment as a ComputeMaskedBits problem, moving all of its special alignment knowledge to ComputeMaskedBits as low-zero-bits knowledge. Also, teach ComputeMaskedBits a few basic things about Mul and PHI instructions. This improves ComputeMaskedBits-based simplifications in a few cases, but more noticeably it significantly improves instcombine's alignment detection for loads, stores, and memory intrinsics. llvm-svn: 49492
* A copy instruction may use a register multiple times on some targets. Change ↵Evan Cheng2008-04-102-2/+106
| | | | | | them all. llvm-svn: 49491
* Add comment.Evan Cheng2008-04-101-0/+2
| | | | llvm-svn: 49469
* add a note, this is actually not too bad to implement.Chris Lattner2008-04-101-1/+7
| | | | llvm-svn: 49466
* move the x86-32 part of PR2108 here.Chris Lattner2008-04-101-0/+48
| | | | llvm-svn: 49465
* Fix the x86-64 side of PR2108 by adding a v2f64 version ofChris Lattner2008-04-102-0/+23
| | | | | | | | MOVZQI2PQIrr. This would be better handled as a dag combine (with the goal of eliminating the bitconvert) but I don't know how to do that safely. Thoughts welcome. llvm-svn: 49463
* produce an error on invalid input instead of asserting:Chris Lattner2008-04-101-0/+5
| | | | | | | def : Pat<((v2f64 (vector_shuffle immAllZerosV_bc, ^ llvm-svn: 49462
* 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
OpenPOWER on IntegriCloud