summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix 403.gcc. Finally got the check for two-address-ness correct.Owen Anderson2008-07-101-10/+14
| | | | llvm-svn: 53389
* Fix the build by adding a #include.Owen Anderson2008-07-101-0/+1
| | | | llvm-svn: 53388
* The source and dest of an alias are *not* required to have the same type,Chris Lattner2008-07-101-9/+3
| | | | | | though that would be nice and make sense :). Patch by Nathan Keynes! llvm-svn: 53387
* Fix for PR2472. Use movss to set lower 32-bits of a zero XMM vector.Evan Cheng2008-07-101-0/+2
| | | | llvm-svn: 53386
* open plugins with RTLD_GLOBAL, pointed out by Bram Adams.Chris Lattner2008-07-101-1/+1
| | | | llvm-svn: 53385
* SImplify ConstantVector::get a bit and make it turn a vectorChris Lattner2008-07-101-8/+18
| | | | | | of all undefs into a single undef value. llvm-svn: 53384
* Fix a case where vector comparison constant folding would cause anChris Lattner2008-07-101-33/+33
| | | | | | infinite recursion. part of PR2529 llvm-svn: 53383
* add a helper method for code that wants to handle vectorChris Lattner2008-07-101-0/+25
| | | | | | constants by element without caring how they are formed. llvm-svn: 53381
* elementwise comparison of vector constants was completely wrong. FixChris Lattner2008-07-101-19/+32
| | | | | | it for PR2529 llvm-svn: 53380
* - Replace use of std::map<std::string, ..> with StringMap. Replace use of ↵Evan Cheng2008-07-101-27/+28
| | | | | | | | std::map with DenseMap, std::set with SmallPtrSet. This results in minor speed up. - Some code clean up. llvm-svn: 53379
* Revert r53367, which was breaking things.Owen Anderson2008-07-091-1/+3
| | | | llvm-svn: 53378
* Simplify hasNUsesOfValue and hasAnyUsesOfValue even more. ThisDan Gohman2008-07-091-14/+2
| | | | | | | | | | | makes their special-case checks of use_size() less beneficial, so remove them. This eliminates all but one use of use_size(), which is in AssignTopologicalOrder, which uses it only once for each node, and so can reasonably afford to recompute it, as this allows the UsesSize field of SDNode to be removed altogether. llvm-svn: 53377
* hasAnyUseOfValue can check SDUse nodes of its users directly insteadDan Gohman2008-07-091-13/+3
| | | | | | of examining every operand of every user. llvm-svn: 53374
* Move MemoryVT out of LSBaseNode into MemSDNode, allowing theDan Gohman2008-07-091-28/+16
| | | | | | | getMemOperand function to be moved into the base class as well and made non-virtual. llvm-svn: 53372
* Remove a FIXME: we really need to use const_data section on darwin forAnton Korobeynikov2008-07-091-3/+4
| | | | | | | constant pool, if relocation model is not static. This directly maps to the way how GCC works. llvm-svn: 53370
* Avoid creating expensive comment string if it's not going to be printed.Evan Cheng2008-07-091-1/+4
| | | | llvm-svn: 53369
* Add FIXME for future checking.Anton Korobeynikov2008-07-091-0/+2
| | | | llvm-svn: 53368
* Loosen our check here. Local regalloc only cares that the reg is used and ↵Owen Anderson2008-07-091-3/+1
| | | | | | | | def'd by the same instruction, but about the details of the relationship. llvm-svn: 53367
* Remove extra call to DW.SetModuleInfo on Linux.Dale Johannesen2008-07-091-1/+0
| | | | llvm-svn: 53365
* Emit debug info for data-only files on Cell SPU.Dale Johannesen2008-07-091-3/+5
| | | | | | I cannot test this target, let me know if it breaks! llvm-svn: 53363
* Emit debug into for data-only files for Linux PPC.Dale Johannesen2008-07-091-3/+10
| | | | | | I cannot test this target, let me know if it breaks! llvm-svn: 53362
* Move the IsVolatile and SVOffset fields into the MemSDNode baseDan Gohman2008-07-091-0/+11
| | | | | | | | | | class, and store IsVolatile and Alignment in a more compact form. This makes AtomicSDNode slightly larger, but it shrinks LoadSDNode and StoreSDNode, which are much more common and are the largest of the SDNode subclasses. Also, this lets the isVolatile() and getAlignment() accessors be non-virtual. llvm-svn: 53361
* Emit debug info for data-only files. ARM version.Dale Johannesen2008-07-091-3/+8
| | | | llvm-svn: 53360
* Don't use an expensive check for two-address-ness when we have the ↵Owen Anderson2008-07-091-2/+13
| | | | | | | | information sitting around to determine it much more quickly, This speeds up the local register allocator from 0.37s to 0.31s on instcombine. llvm-svn: 53359
* Emit debug info for data-only files. This versionDale Johannesen2008-07-091-7/+8
| | | | | | is X86 ATT only. llvm-svn: 53355
* Add missed sectionAnton Korobeynikov2008-07-091-0/+1
| | | | llvm-svn: 53354
* Emit debug info for data-only files. This versionDale Johannesen2008-07-091-5/+9
| | | | | | applies to ppc Darwin only. llvm-svn: 53353
* Factor local liveness computation out into its own function.Owen Anderson2008-07-091-28/+36
| | | | llvm-svn: 53352
* Reuse the MO variable instead of recomputing it in RegAllocLocal.Dan Gohman2008-07-092-9/+9
| | | | | | Keep RegAllocSimple in sync. llvm-svn: 53351
* Distinguish .const and .const_data on Darwin, when needed. This is somehow ↵Anton Korobeynikov2008-07-091-1/+3
| | | | | | crazy :) llvm-svn: 53350
* Give RegAllocSimple a TargetInstrInfo member to keep it consistentDan Gohman2008-07-091-2/+2
| | | | | | with RegAllocLocal. llvm-svn: 53347
* RegAllocLocal has a TargetInstrInfo data member. Use it insteadDan Gohman2008-07-091-5/+1
| | | | | | of having local variables duplicate it. llvm-svn: 53346
* Use find with std::map, when that's what's needed, instead of lower_boundDan Gohman2008-07-092-5/+4
| | | | | | with extra checks. llvm-svn: 53344
* Weak stuff always goes to coalesced sections on DarwinAnton Korobeynikov2008-07-091-2/+6
| | | | llvm-svn: 53340
* Remove #include <iostream>.Dan Gohman2008-07-091-2/+0
| | | | llvm-svn: 53333
* Add FIXME needed to be resolved laterAnton Korobeynikov2008-07-091-0/+1
| | | | llvm-svn: 53324
* Use only 'subset' of flagsAnton Korobeynikov2008-07-091-11/+3
| | | | llvm-svn: 53323
* TypoAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53322
* Revert accidentially added stuffAnton Korobeynikov2008-07-091-2/+1
| | | | llvm-svn: 53321
* First sketch of special section objectsAnton Korobeynikov2008-07-093-193/+168
| | | | llvm-svn: 53320
* Honour text sectionsAnton Korobeynikov2008-07-092-2/+3
| | | | llvm-svn: 53319
* Use isWeakForLinker() hookAnton Korobeynikov2008-07-093-18/+6
| | | | llvm-svn: 53318
* Switch to new section name handling facilityAnton Korobeynikov2008-07-093-106/+18
| | | | llvm-svn: 53316
* Another bunch of hacks for named sections supportAnton Korobeynikov2008-07-091-10/+20
| | | | llvm-svn: 53315
* TypoAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53314
* Drop mergeable flag, if size is no suitableAnton Korobeynikov2008-07-091-2/+8
| | | | llvm-svn: 53313
* Fix several bugs in named sections handlingAnton Korobeynikov2008-07-092-13/+11
| | | | llvm-svn: 53312
* Add hacky way to distinguish named and named sections. This will be ↵Anton Korobeynikov2008-07-093-46/+80
| | | | | | generalized in the future. llvm-svn: 53311
* Use 'gnu.linkonce', where neededAnton Korobeynikov2008-07-091-6/+9
| | | | llvm-svn: 53310
* Fix thinkoAnton Korobeynikov2008-07-092-4/+8
| | | | llvm-svn: 53309
OpenPOWER on IntegriCloud