summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. ThisNick Lewycky2009-11-231-0/+30
| | | | | | fixes part of PR5438. llvm-svn: 89639
* SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the ↵Daniel Dunbar2009-11-221-16/+19
| | | | | | source line output. llvm-svn: 89627
* Add getFrameIndexReference() to TargetRegisterInfo, which allows targets toJim Grosbach2009-11-221-5/+6
| | | | | | | | | tell debug info which base register to use to reference a frame index on a per-index basis. This is useful, for example, in the presence of dynamic stack realignment when local variables are indexed via the stack pointer and stack-based arguments via the frame pointer. llvm-svn: 89620
* Move default FrameReg val to getFrameIndexReference(). Otherwise, debug info ↵Jim Grosbach2009-11-221-1/+2
| | | | | | can get bogus values. llvm-svn: 89618
* 80-column cleanupJim Grosbach2009-11-221-10/+18
| | | | llvm-svn: 89612
* Teach MachineBasicBlock::updateTerminator() to handle a failing ↵Jakob Stoklund Olesen2009-11-221-2/+8
| | | | | | | | TII->ReverseBranchCondition(Cond) call. This fixes the MallocBench/cfrac test case regression. llvm-svn: 89608
* add fixme for dubious code. Duncan, what do you think?Chris Lattner2009-11-221-0/+1
| | | | llvm-svn: 89602
* remove a silly condition that doesn't make a lot of sense anymore.Chris Lattner2009-11-221-5/+0
| | | | llvm-svn: 89601
* reduce indentation, no functionality change.Chris Lattner2009-11-221-85/+91
| | | | llvm-svn: 89600
* Remove the AliasAnalysis::getMustAliases method, which is dead.Chris Lattner2009-11-226-55/+0
| | | | | | | | The hasNoModRefInfoForCalls isn't worth it as a filter because basicaa provides m/r info and everything chains to it, so remove it. llvm-svn: 89599
* Remove dead code. While there, also turn a few 'T* ' into 'T *' to match theNick Lewycky2009-11-221-8/+4
| | | | | | rest of the file. llvm-svn: 89577
* Generate more correct debug info for frame indices.Jim Grosbach2009-11-222-35/+53
| | | | llvm-svn: 89576
* Minor optimization: when doing eq/ne comparions and RHS is a constant - swap ↵Anton Korobeynikov2009-11-221-0/+8
| | | | | | operands, this will allow us to fold imm into comparison. llvm-svn: 89574
* Drop unsupported imm operandsAnton Korobeynikov2009-11-221-31/+0
| | | | llvm-svn: 89573
* Use 2-byte alignment for functions. 4 bytes are clear overkill here.Anton Korobeynikov2009-11-221-1/+1
| | | | llvm-svn: 89572
* Use semicolon as assembler comment stringAnton Korobeynikov2009-11-221-0/+1
| | | | llvm-svn: 89571
* Revert 89562. We're being sneakier than I was giving us credit for, and thisJim Grosbach2009-11-211-4/+1
| | | | | | isn't necessary. llvm-svn: 89568
* remove trailing whitespaceJim Grosbach2009-11-211-39/+39
| | | | llvm-svn: 89567
* Darwin requires a frame pointer for all non-leaf functions to support correctJim Grosbach2009-11-211-1/+4
| | | | | | backtraces. llvm-svn: 89562
* Add predicate operand to NEON instructions. Fix lots (but not all) 80 col ↵Evan Cheng2009-11-216-297/+414
| | | | | | violations in ARMInstrNEON.td. llvm-svn: 89542
* Allow target to disable if-converting predicable instructions. e.g. NEON ↵Evan Cheng2009-11-211-1/+1
| | | | | | instructions under ARM mode. llvm-svn: 89541
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-215-536/+539
| | | | llvm-svn: 89537
* We are not using DBG_STOPPOINT anymore.Devang Patel2009-11-2111-65/+1
| | | | llvm-svn: 89536
* Be more clever about calculating live variables through new basic blocks.Jakob Stoklund Olesen2009-11-213-43/+31
| | | | | | | | | | | | When splitting a critical edge, the registers live through the edge are: - Used in a PHI instruction, or - Live out from the predecessor, and - Live in to the successor. This allows the coalescer to eliminate even more phi joins. llvm-svn: 89530
* Add more optimizations for object size checking, enable handling ofEric Christopher2009-11-211-35/+144
| | | | | | | object size intrinsic and verify return type is correct. Collect various code in one place. llvm-svn: 89523
* Remove dead code.Devang Patel2009-11-211-15/+0
| | | | llvm-svn: 89522
* When generating a vector the really slow way, via loadsDale Johannesen2009-11-211-3/+9
| | | | | | | and stores, handle the case where the element size is not a valid target type correctly (PPC). llvm-svn: 89521
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-214-309/+58
| | | | | | DIEs are created from MDNode, which are already uniqued. And DwarfDebug already uses ValueMaps to find and use existing DIE for a given MDNode. llvm-svn: 89518
* Added two SubtargetFeatures::AddFeatures methods, which accept a ↵Viktor Kutuzov2009-11-211-0/+27
| | | | | | comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods. llvm-svn: 89516
* Restructure code to allow renaming of multiple-register groups for anti-dep ↵David Goodwin2009-11-201-44/+73
| | | | | | breaking. llvm-svn: 89511
* Enable hoisting load from constant memories.Evan Cheng2009-11-201-21/+6
| | | | llvm-svn: 89510
* Fix a thinko that caused spurious @GOTOFFs.Dan Gohman2009-11-201-2/+2
| | | | llvm-svn: 89509
* Update for new getBlockAddress signature.Dan Gohman2009-11-201-2/+2
| | | | llvm-svn: 89507
* Target-independent support for TargetFlags on BlockAddress operands,Dan Gohman2009-11-2012-28/+78
| | | | | | and support for blockaddresses in x86-32 PIC mode. llvm-svn: 89506
* Recommitting PALIGNR shift width fixes.Sean Callanan2009-11-201-8/+8
| | | | | | | Thanks to Daniel Dunbar for fixing clang intrinsics: http://llvm.org/viewvc/llvm-project?view=rev&revision=89499 llvm-svn: 89500
* Remove an incorrect overaggressive optimizationDale Johannesen2009-11-201-5/+3
| | | | | | (PPC specific). llvm-svn: 89496
* Reverting PALIGNR fix until I figure out how thisSean Callanan2009-11-201-8/+8
| | | | | | broke the Clang testsuite. llvm-svn: 89495
* Fixed PALIGNR to take 8-bit rotations in all cases.Sean Callanan2009-11-201-8/+8
| | | | | | | Also fixed the corresponding testcase, and the PALIGNR intrinsic (tested for correctness with llvm-gcc). llvm-svn: 89491
* Do not hold on to a map slot while new entries may be inserted into the map.Devang Patel2009-11-201-27/+33
| | | | | | Use ValueMap, instead of std::map. llvm-svn: 89490
* Cleanups.David Greene2009-11-201-3/+6
| | | | | | Make things a little more efficient as suggested by Evan. llvm-svn: 89489
* There is no need to emit source location info for DW_TAG_pointer_type.Devang Patel2009-11-201-1/+1
| | | | llvm-svn: 89487
* Make Loop::getLoopLatch() work on loops which don't have preheaders, asDan Gohman2009-11-201-1/+6
| | | | | | | | | | | | it may be used in contexts where preheader insertion may have failed due to an indirectbr. Make LoopSimplify's LoopSimplify::SeparateNestedLoop properly fail in the case that it would require splitting an indirectbr edge. These fix PR5502. llvm-svn: 89484
* Fix IPSCCP's code for deleting dead blocks to tolerate outstandingDan Gohman2009-11-201-2/+6
| | | | | | blockaddress users. This fixes PR5569. llvm-svn: 89483
* Revert "Add some rough optimizations for checking routines.", it buildeth not.Daniel Dunbar2009-11-201-119/+12
| | | | llvm-svn: 89482
* Add some rough optimizations for checking routines.Eric Christopher2009-11-201-12/+119
| | | | llvm-svn: 89479
* Remat VLDRD from constpool. Clean up some instruction property specifications.Evan Cheng2009-11-204-9/+10
| | | | llvm-svn: 89478
* Add option -licm-const-load to hoist all loads from constant memory.Evan Cheng2009-11-201-19/+56
| | | | llvm-svn: 89477
* The verify() call of CPEIsInRange() isn't right for the assertion check ofJim Grosbach2009-11-201-2/+5
| | | | | | | | | | constant pool ranges, as CPEIsInRange() makes conservative assumptions about the potential alignment changes from branch adjustments. The verification, on the other hand, runs after those branch adjustments are made, so the effects on alignment are known and already taken into account. The sanity check in verify should check the range directly instead. llvm-svn: 89473
* Use stripPointerCasts(). Thanks Duncan!Dan Gohman2009-11-201-1/+1
| | | | llvm-svn: 89472
* Remove some old experimental code that is no longer needed. Remove ↵David Goodwin2009-11-208-241/+79
| | | | | | additional, speculative scheduling pass as its cost did not translate into significant performance improvement. Minor tweaks. llvm-svn: 89471
OpenPOWER on IntegriCloud