summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* factor a whole bunch of code out into a helper function.Chris Lattner2008-11-161-149/+166
| | | | llvm-svn: 59398
* simplify the conditions on two gigantic if's, decreasing indentationChris Lattner2008-11-161-290/+289
| | | | | | a bit. Next step is to factor out into their own helper functions. llvm-svn: 59397
* simplify some instcombine matches by using m_SpecificChris Lattner2008-11-161-37/+34
| | | | llvm-svn: 59395
* Use new m_SelectCst template to eliminate macros.Chris Lattner2008-11-161-9/+5
| | | | llvm-svn: 59392
* simplify code.Chris Lattner2008-11-161-17/+12
| | | | llvm-svn: 59390
* Handle the case where there is no "not". It is possible it got Chris Lattner2008-11-161-0/+4
| | | | | | folded into the select. llvm-svn: 59389
* factor a bunch of copy/paste code out into a helper function.Chris Lattner2008-11-161-61/+35
| | | | | | | Eliminate the cases checking for cond?0:-1, since that is already handled by commutative checking. llvm-svn: 59388
* Don't brute-force analyze cubic or higher polynomials.Nick Lewycky2008-11-161-21/+0
| | | | | | | If this patch causes a performance regression for anyone, please let me know, and it can be fixed in a different way with much more effort. llvm-svn: 59384
* rearrange some code, no functionality change.Chris Lattner2008-11-161-21/+21
| | | | llvm-svn: 59381
* if we're going to use a macro, use it maximally. no functionality change.Chris Lattner2008-11-161-8/+8
| | | | llvm-svn: 59380
* Adds extern "C" ints to the .cpp files that use RegisterTarget, asOscar Fuentes2008-11-1513-0/+91
| | | | | | | | | | | well as 2 files that use "Registrator"s. These are to be used by the MSVC builds, as the Win32 linker does not include libs that are otherwise unreferenced, even if global constructors in the lib have side-effects. Patch by Scott Graham! llvm-svn: 59378
* Correct this error message.Nick Lewycky2008-11-151-1/+1
| | | | llvm-svn: 59370
* When splitting a SHUFFLE_VECTOR, try to have the resultDuncan Sands2008-11-151-38/+109
| | | | | | | | use SHUFFLE_VECTOR instead. If not practical, fall back to the old scheme of building the split result by hand using a BUILD_VECTOR. llvm-svn: 59361
* Add missing widen operations, fixed widening for extracting a subvector,Mon P Wang2008-11-151-16/+44
| | | | | | | and when loading/storing a widen vector, make sure that they are loaded and stored in consecutive order. llvm-svn: 59357
* Fix fuitos encoding.Evan Cheng2008-11-151-8/+4
| | | | llvm-svn: 59344
* Correct a comment.Dan Gohman2008-11-151-1/+1
| | | | llvm-svn: 59341
* Move ScheduleDAGList's LatencyPriorityQueue class out to a separate file.Dan Gohman2008-11-154-259/+291
| | | | llvm-svn: 59340
* Refactor code.Devang Patel2008-11-141-37/+60
| | | | | | Strip debug information before stripping symbol names. llvm-svn: 59328
* Add support for building a ScheduleDAG from MachineInstrs. This is currentlyDan Gohman2008-11-141-0/+84
| | | | | | | fairly conservative; it doesn't do alias-analysis queries and it doesn't attempt to break anti-dependencies. llvm-svn: 59324
* Fix MOVrx, MOVsrl_flag, and MOVsra_flag encodings.Evan Cheng2008-11-142-4/+52
| | | | llvm-svn: 59314
* Remove unneeded stuff from GRAD register class.Dale Johannesen2008-11-141-19/+1
| | | | llvm-svn: 59311
* [XCore] Remove whitespace in the description used whenRichard Osborne2008-11-141-1/+1
| | | | | | registering XCoreTargetMachine. llvm-svn: 59308
* [XCore] Fix expansion of 64 bit add/sub. Don't custom expandRichard Osborne2008-11-142-23/+13
| | | | | | | these operations if ladd/lsub are not available on the current subtarget. llvm-svn: 59305
* Add XCore intrinsics for getid (returns thread id) and bitrev (reversesRichard Osborne2008-11-142-5/+4
| | | | | | bits in a word). llvm-svn: 59296
* Test commit.Lang Hames2008-11-141-0/+1
| | | | llvm-svn: 59293
* ARM / Mac OS X also wants to invalidate icache after jitting.Evan Cheng2008-11-141-20/+22
| | | | llvm-svn: 59291
* For post-regalloc scheduling, remove the instructions from the blockDan Gohman2008-11-141-0/+6
| | | | | | before re-inserting them. llvm-svn: 59281
* Check in the correct version of the patch in r59279.Dan Gohman2008-11-141-1/+1
| | | | llvm-svn: 59280
* Debug printing for SUnits that carry MachineInstrs.Dan Gohman2008-11-141-10/+17
| | | | llvm-svn: 59279
* Initial support for carrying MachineInstrs in SUnits.Dan Gohman2008-11-142-4/+27
| | | | llvm-svn: 59278
* Change DOTGraphTraits<ScheduleDAG*>::getGraphName how to find the name ofDan Gohman2008-11-131-1/+1
| | | | | | the current function on its own, rather than relying on the SelectionDAG. llvm-svn: 59277
* Handle the rest of pseudo instructions.Evan Cheng2008-11-133-54/+71
| | | | llvm-svn: 59275
* Lazy compilation callback save / restore VFP registers.Evan Cheng2008-11-131-0/+9
| | | | llvm-svn: 59274
* Remove the FlaggedNodes member from SUnit. Instead of requiring each SUnitDan Gohman2008-11-136-59/+49
| | | | | | | | | | to carry a SmallVector of flagged nodes, just calculate the flagged nodes dynamically when they are needed. The local-liveness change is due to a trivial scheduling change where the scheduler arbitrary decision differently. llvm-svn: 59273
* Don't allow the restore point to be placed after terminators. With this change,Owen Anderson2008-11-131-2/+2
| | | | | | | MultiSource/Applications is clean with the prealloc splitter. Some failures remain in SPEC. llvm-svn: 59267
* Extend InlineAsm::C_Register to allow multiple specific registersDale Johannesen2008-11-132-5/+27
| | | | | | | | (actually, code already all worked, only the comment changed). Use this to implement 'A' constraint on x86. Fixes PR 1779. llvm-svn: 59266
* Always emit a function pointer as a pointer to the function stub (if there ↵Evan Cheng2008-11-131-1/+20
| | | | | | is one). This makes it possible to compare function pointer values in lazy compilation mode. This fixes PR3043. llvm-svn: 59265
* Make the Node member of SUnit private, and add accessors.Dan Gohman2008-11-136-47/+47
| | | | llvm-svn: 59264
* Change ScheduleDAG's DAG member from a reference to a pointer, to prepareDan Gohman2008-11-136-48/+48
| | | | | | for the possibility of scheduling without a SelectionDAG being present. llvm-svn: 59263
* Don't forget to emit stubs for function GV's emitted in CONSTPOOL_ENTRY's.Evan Cheng2008-11-131-3/+10
| | | | llvm-svn: 59258
* Use find_first/find_next to iterate through all the set bits in aDan Gohman2008-11-132-12/+11
| | | | | | BitVector, instead of manually testing each bit. llvm-svn: 59246
* Modify the intrinsics pattern to separate out the "return" types from theBill Wendling2008-11-131-12/+27
| | | | | | | | | | "parameter" types. An intrinsic can now return a multiple return values like this: def add_with_overflow : Intrinsic<[llvm_i32_ty, llvm_i1_ty], [LLVMMatchType<0>, LLVMMatchType<0>]>; llvm-svn: 59237
* fsub{d|s} encoding bugs.Evan Cheng2008-11-131-2/+6
| | | | llvm-svn: 59234
* Missed a break statement.Evan Cheng2008-11-131-0/+1
| | | | llvm-svn: 59231
* Fix pre- and post-indexed load / store encoding bugs.Evan Cheng2008-11-134-70/+98
| | | | llvm-svn: 59230
* Refactor the code that does the type checking for intrinsics.Bill Wendling2008-11-131-115/+132
| | | | llvm-svn: 59228
* Add Binary flag to raw_fd_ostream constructor.Daniel Dunbar2008-11-131-2/+13
| | | | | | Document raw_fd_ostream's treatment of "-". llvm-svn: 59219
* Really remove all debug information.Devang Patel2008-11-131-11/+52
| | | | llvm-svn: 59208
* RegeneratedBill Wendling2008-11-133-1397/+1433
| | | | llvm-svn: 59204
* Implement stack protectors as function attributes: "ssp" and "sspreq".Bill Wendling2008-11-135-31/+23
| | | | llvm-svn: 59202
OpenPOWER on IntegriCloud