summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* rearrange code and make more legible.Chris Lattner2008-08-191-251/+280
| | | | llvm-svn: 54976
* put SlotTracker in an anon namespace since it is private.Chris Lattner2008-08-191-3/+3
| | | | llvm-svn: 54975
* Reid had to call this class "slot machine" out of some strange referenceChris Lattner2008-08-191-39/+39
| | | | | | to the gambling device. Name it something more meaningful. llvm-svn: 54974
* add raw_ostream method for emitting an unsigned.Chris Lattner2008-08-191-0/+17
| | | | llvm-svn: 54972
* Compress manpages.Devang Patel2008-08-191-0/+4
| | | | llvm-svn: 54971
* Make SimpleSpiller respect subregister indices.Owen Anderson2008-08-191-2/+5
| | | | llvm-svn: 54968
* add a noteChris Lattner2008-08-191-0/+37
| | | | llvm-svn: 54964
* Add a flag to enable the fast spilling path.Owen Anderson2008-08-191-0/+7
| | | | llvm-svn: 54958
* Fix the FastISel class' doxygen comment.Dan Gohman2008-08-181-3/+3
| | | | llvm-svn: 54957
* Fix a few more bugs:Owen Anderson2008-08-181-3/+8
| | | | | | | 1) Assign stack slots to new temporaries. 2) Don't insert an interval into the return vector more than once. llvm-svn: 54956
* remove empty fileChris Lattner2008-08-181-0/+0
| | | | llvm-svn: 54950
* Fix several bugs in the new fast-path:Owen Anderson2008-08-181-16/+16
| | | | | | | | 1) Remove an incorrect assertion. 2) Set the stack slot weight properly. 3) Resize the VirtRegMap when needed. llvm-svn: 54949
* Unbreak cpp backend: upgrade output due to change in APInt APIAnton Korobeynikov2008-08-181-1/+2
| | | | llvm-svn: 54942
* Clients of addIntervalForSpills expect the added intervals to be returned ↵Owen Anderson2008-08-181-0/+9
| | | | | | sorted by starting index. llvm-svn: 54939
* Fix a bug daniel pointed out to me, where asmprinter startedChris Lattner2008-08-181-5/+5
| | | | | | | printing ascii code for hex numbers instead of the hex numbers themselves. llvm-svn: 54936
* Simplify the fast-patch interval spilling by using ↵Owen Anderson2008-08-181-72/+50
| | | | | | MachineRegisterInfo::reg_iterator. llvm-svn: 54930
* XFAIL this test for now.Bill Wendling2008-08-181-0/+1
| | | | llvm-svn: 54929
* Resurrect some ancient code to add spill ranges without attempting folding, ↵Owen Anderson2008-08-182-0/+112
| | | | | | | | | remat, or splitting. This code has been updated to current APIs in so far as it compiles and, in theory, works, but does not take advantage of recent advancements. For instance, it could be improved by using MachineRegisterInfo::use_iterator. llvm-svn: 54924
* Register the frame register function when allocating the JIT,Nicolas Geoffray2008-08-181-5/+5
| | | | | | so that lli works out of the box with -enable-eh. llvm-svn: 54920
* ARM asm printer can't handle dwarf info yet.Evan Cheng2008-08-181-6/+12
| | | | llvm-svn: 54913
* Don't hoist instructions that have implicit uses or defines. Before, it wasBill Wendling2008-08-181-0/+5
| | | | | | hoisting out some "test" and "cmp" instructions. This was obvious badness. llvm-svn: 54908
* Make this comment clearer. Instead of using an ambiguous ~ (not) on an icmpNick Lewycky2008-08-171-1/+1
| | | | | | predicate, swap the order of the operands. llvm-svn: 54907
* Consider the case where xor by -1 and xor by 128 have been combined already toNick Lewycky2008-08-172-1/+42
| | | | | | produce an xor by 127. llvm-svn: 54906
* Update VC++ project.Gordon Henriksen2008-08-171-17/+13
| | | | llvm-svn: 54905
* Didn't mean to change this.Evan Cheng2008-08-171-0/+99
| | | | llvm-svn: 54904
* Fix a (u)comiss intrinsic lowering bug. It was using anyext which can return ↵Evan Cheng2008-08-174-101/+13
| | | | | | junk in higher bits. Patch by Nate Begeman. llvm-svn: 54903
* Don't require Registry specializations to define random static variables.Gordon Henriksen2008-08-174-27/+15
| | | | llvm-svn: 54902
* Drop an unnecessary include.Gordon Henriksen2008-08-171-1/+0
| | | | llvm-svn: 54901
* Regenerate.Gordon Henriksen2008-08-173-291/+291
| | | | llvm-svn: 54900
* Rename some GC classes so that their roll will hopefully be clearer.Gordon Henriksen2008-08-1738-678/+524
| | | | | | | | | | | | | | | | | | In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
* Make it compile on VC2005:Cedric Venet2008-08-1713-101/+135
| | | | | | | | - update VC projects. - Add an overload to llvm::Stream for <<, since std::hex and std::dec have type std::ios_base& (*)(std::ios_base&) in VC++. (templating the function don't work, due to ambiguities) - add ../ on several include in X86/AsmPrinter/ llvm-svn: 54898
* getLLVMName is only used for types now, which always pass in LocalPrefix. ↵Chris Lattner2008-08-171-15/+10
| | | | | | Specialize on it. llvm-svn: 54897
* switch valuemap's from std::map to densemap. This speeds up llvm-disChris Lattner2008-08-171-11/+8
| | | | | | on a stripped kc++ .bc file from 0.83 to 0.77s (8%) llvm-svn: 54896
* Don't instantiate GC metadata for declarations.Gordon Henriksen2008-08-172-1/+3
| | | | llvm-svn: 54895
* Link GC metadata printers by default to llcAnton Korobeynikov2008-08-172-0/+38
| | | | llvm-svn: 54892
* Fix merge errorAnton Korobeynikov2008-08-174-176/+0
| | | | llvm-svn: 54891
* Remove asmprinters from examples by default. This reduces their size by ~5%Anton Korobeynikov2008-08-174-4/+4
| | | | llvm-svn: 54890
* Move ARM to pluggable asmprinterAnton Korobeynikov2008-08-175-20/+71
| | | | llvm-svn: 54889
* Use correct name for PPC codegen libraryAnton Korobeynikov2008-08-171-1/+1
| | | | llvm-svn: 54888
* Factor out asmprinter out of ppcAnton Korobeynikov2008-08-175-8/+57
| | | | llvm-svn: 54887
* Move X86 assembler printers into separate directory. This allows JIT-only ↵Anton Korobeynikov2008-08-1712-9/+65
| | | | | | users not to link it in (use 'x86codegen' llvm-config arg for this) llvm-svn: 54886
* Move all assembler printing related stuff into new libAsmPrinterAnton Korobeynikov2008-08-175-1/+173
| | | | llvm-svn: 54885
* Factor out asmprinters from collector interface.Anton Korobeynikov2008-08-171-0/+18
| | | | llvm-svn: 54884
* Factor GC metadata table assembly generation out of Collector in preparation ↵Gordon Henriksen2008-08-1715-53/+268
| | | | | | for splitting AsmPrinter into its own library. llvm-svn: 54881
* Factor GC metadata table assembly generation out of Collector in preparation ↵Gordon Henriksen2008-08-177-26/+129
| | | | | | for splitting AsmPrinter into its own library. llvm-svn: 54880
* Get raw_ostream.cpp to compile on MSVC.Argyrios Kyrtzidis2008-08-171-5/+11
| | | | llvm-svn: 54879
* Revert 54821. It's miscompiling 252.eon and 447.dealIIEvan Cheng2008-08-171-118/+1
| | | | llvm-svn: 54878
* I found a better place for this optz'n.Nick Lewycky2008-08-171-14/+10
| | | | llvm-svn: 54877
* Xor'ing both sides of icmp by sign-bit is equivalent to swapping signedness ofNick Lewycky2008-08-172-22/+72
| | | | | | | | the predicate. Also, make this optz'n apply in more cases where it's safe to do so. llvm-svn: 54876
* avoid an extraneous std::string constructionChris Lattner2008-08-171-1/+1
| | | | llvm-svn: 54875
OpenPOWER on IntegriCloud