summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement loop splitting analysis.Jakob Stoklund Olesen2010-07-202-19/+183
| | | | | | | Determine which loop exit blocks need a 'pre-exit' block inserted. Recognize when this would be impossible. llvm-svn: 108941
* Add support for remapping metadata kind IDs when reading in aDan Gohman2010-07-204-15/+18
| | | | | | | | | | | | | bitcode file, so that two bitcode files where the same metadata kind name happens to have been assigned a different ID can still be linked together. Eliminate the restriction that metadata kind IDs can't be 0. Change MD_dbg from 1 to 0, because we can now, and because it's less mysterious that way. llvm-svn: 108939
* Fix test for switch statements and increaseDale Johannesen2010-07-201-2/+3
| | | | | | threshold a bit per experimentation. llvm-svn: 108935
* Move more functionality from Pass.cpp to PassRegistry.cpp. This global will ↵Owen Anderson2010-07-202-48/+49
| | | | | | go away eventually, but for now we still need it around. llvm-svn: 108932
* prune #includes a little.Chris Lattner2010-07-205-6/+8
| | | | llvm-svn: 108929
* Add some more handlers for ELF section directives.Matt Fleming2010-07-201-0/+54
| | | | llvm-svn: 108928
* Remove setDbgMetadata and getDbgMetadata; their users have beenDan Gohman2010-07-201-4/+0
| | | | | | replaced with setDebugLoc and getDebugLoc. llvm-svn: 108914
* Let's get those buildbots green: #include is needed in the header, not just ↵Owen Anderson2010-07-202-1/+1
| | | | | | the implementation. llvm-svn: 108912
* Use getDebugLoc and setDebugLoc instead of getDbgMetadata and setDbgMetadata,Dan Gohman2010-07-201-4/+2
| | | | | | avoiding MDNode overhead. llvm-svn: 108909
* apparently also missing an include.Chris Lattner2010-07-201-0/+1
| | | | llvm-svn: 108908
* this is in SystemChris Lattner2010-07-201-1/+1
| | | | llvm-svn: 108895
* Add new AVX instruction vinsertf128Bruno Cardoso Lopes2010-07-202-0/+15
| | | | llvm-svn: 108892
* turn this into a normal header.Chris Lattner2010-07-201-8/+11
| | | | llvm-svn: 108891
* hopefully heal the linux buildersChris Lattner2010-07-201-0/+1
| | | | llvm-svn: 108890
* I just fail with SVN today.Owen Anderson2010-07-201-0/+72
| | | | llvm-svn: 108888
* there is no reason to dynamically generate a static header.Chris Lattner2010-07-204-16/+71
| | | | llvm-svn: 108887
* drop edinfo.inc into the objdir for src!=objdir builds.Chris Lattner2010-07-201-2/+2
| | | | llvm-svn: 108886
* Update header.Eric Christopher2010-07-201-1/+1
| | | | llvm-svn: 108883
* Convert the internal PassRegistrar class into a new, external PassRegistry ↵Owen Anderson2010-07-202-99/+21
| | | | | | class. No intended functionality change at this point. llvm-svn: 108877
* hopefully teach cmake to build the .inc file.Chris Lattner2010-07-201-0/+9
| | | | llvm-svn: 108874
* cmake tooChris Lattner2010-07-201-0/+6
| | | | llvm-svn: 108872
* forgot to add a fileChris Lattner2010-07-201-0/+21
| | | | llvm-svn: 108870
* start straightening out libedis's dependencies and make it fitChris Lattner2010-07-209-1/+1779
| | | | | | | | | | | | | | | | better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. llvm-svn: 108869
* Remember that the induction variable is always a PHINode andDan Gohman2010-07-201-4/+4
| | | | | | | use getIncomingValueForBlock instead of LoopInfo::getCanonicalInductionVariableIncrement. llvm-svn: 108865
* Fix SCEV denormalization of expressions where the exit value fromDan Gohman2010-07-201-32/+55
| | | | | | | one loop is involved in the increment of an addrec for another loop. This fixes rdar://8168938. llvm-svn: 108863
* Pull out r108755. After offline discussion with Chris, we're going to go a ↵Owen Anderson2010-07-201-17/+10
| | | | | | different direction with this. llvm-svn: 108856
* Add a fast path for x - x.Dan Gohman2010-07-201-0/+4
| | | | llvm-svn: 108855
* Simplify this code; LoopInfo::getCanonicalInductionVariable will onlyDan Gohman2010-07-201-3/+6
| | | | | | find integer induction variables. llvm-svn: 108853
* Make getOrInsertCanonicalInductionVariable guarantee that itsDan Gohman2010-07-201-2/+2
| | | | | | result is a PHINode*. llvm-svn: 108852
* Change an argument from an Instruction* to a Value*, which is allDan Gohman2010-07-201-5/+5
| | | | | | that is needed here. llvm-svn: 108850
* Minor code cleanups.Dan Gohman2010-07-201-0/+5
| | | | llvm-svn: 108848
* Appease the colonials.Jakob Stoklund Olesen2010-07-202-4/+4
| | | | llvm-svn: 108845
* Using BIC for immediates needs an extra bump for its complexity to getJim Grosbach2010-07-201-0/+1
| | | | | | instruction selection to prefer it when possible. rdar://7903972 llvm-svn: 108844
* Beginning SplitKit - utility classes for live range splitting.Jakob Stoklund Olesen2010-07-204-1/+261
| | | | | | | | | This is a work in progress. So far we have some basic loop analysis to help determine where it is useful to split a live range around a loop. The actual loop splitting code from Splitter.cpp is also going to move in here. llvm-svn: 108842
* Removed un-used code.Jim Grosbach2010-07-201-49/+0
| | | | llvm-svn: 108841
* Updated css classes for the pressure table legend.Lang Hames2010-07-201-3/+3
| | | | llvm-svn: 108839
* Oops - I tables render poorly in Chrome without this explicit height ↵Lang Hames2010-07-201-1/+1
| | | | | | specification. llvm-svn: 108824
* Use run-length encoding to represent identical adjacent cells in the pressureLang Hames2010-07-202-34/+104
| | | | | | | | and interval table. Reduces output HTML file sizes by ~80% in my test cases. Also fix access of private member type by << operator. llvm-svn: 108823
* Added support for turning HTML indentation on and off (indentation off by ↵Lang Hames2010-07-202-86/+123
| | | | | | | | default). Reduces output file size ~20% on my test cases. llvm-svn: 108822
* Fix PR7174, a couple o Mips fixes:Bruno Cardoso Lopes2010-07-202-1/+21
| | | | | | | | | | | - Fix a typo for PIC check during jmp table lowering - Also fix the "first jump table basic block is not considered only reachable by fall through" problem, use this ad-hoc solution until I come up with something better. Patch by stetorvs@gmail.com llvm-svn: 108820
* Speculatively revert r108813, in an attempt to get the self-host buildbots ↵Owen Anderson2010-07-2011-42/+39
| | | | | | | | working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818
* Fix Mips PR7473. Patch by stetorvs@gmail.comBruno Cardoso Lopes2010-07-201-3/+3
| | | | llvm-svn: 108816
* Switched to rendering after allocation (but before rewriting) in PBQP.Lang Hames2010-07-203-38/+77
| | | | | | | Updated renderer to use allocation information from VirtRegMap (if available) to render spilled intervals differently. llvm-svn: 108815
* Reapply r108794, a fix for the failing test from last time.Owen Anderson2010-07-2011-39/+42
| | | | llvm-svn: 108813
* Constify some arguments.Eric Christopher2010-07-209-14/+14
| | | | llvm-svn: 108812
* Revert r108794, "Separate PassInfo into two classes: a constructor-freeDaniel Dunbar2010-07-2010-41/+38
| | | | | | | superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. llvm-svn: 108805
* Separate PassInfo into two classes: a constructor-free superclass ↵Owen Anderson2010-07-2010-38/+41
| | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794
* Minor code simplification.Dan Gohman2010-07-201-6/+3
| | | | llvm-svn: 108793
* Don't hoist things out of a large switch inside aDale Johannesen2010-07-201-2/+6
| | | | | | | | | | loop, for the reasons in the comments. This is a major win on 253.perlbmk on ARM Darwin. I expect it to be a good heuristic in general, but it's possible some things will regress; I'll be watching. 7940152. llvm-svn: 108792
* Add AVX vbroadcast new instructionBruno Cardoso Lopes2010-07-202-0/+28
| | | | llvm-svn: 108788
OpenPOWER on IntegriCloud