summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename stackprotector_create intrinsic to stackprotector.Bill Wendling2008-11-182-2/+2
| | | | llvm-svn: 59519
* Cast to remove warning about comparing signed and unsigned.Bill Wendling2008-11-181-1/+1
| | | | llvm-svn: 59518
* Implement support for JIT exceptions on X86_64. Relative offsets areNicolas Geoffray2008-11-181-61/+27
| | | | | | | encoded on 32 bytes, and the personality function is not encoded as relative. llvm-svn: 59516
* Remove unused variable.Duncan Sands2008-11-181-3/+0
| | | | llvm-svn: 59515
* Reapply r59464, this time using the correct typeDuncan Sands2008-11-182-4/+188
| | | | | | when softening FNEG. llvm-svn: 59513
* Remove the stackprotector_check intrinsic. Use a volatile load instead.Bill Wendling2008-11-182-19/+4
| | | | llvm-svn: 59504
* - Use "moveAfter" instead of "remove/insert" of a basic block.Bill Wendling2008-11-181-103/+104
| | | | | | | | | - Use less indentation in coding. - Shorten description. - Update comments. - Move code around llvm-svn: 59496
* Fix a typo in a comment.Dan Gohman2008-11-181-1/+1
| | | | llvm-svn: 59489
* Change SUnit's dump method to take a ScheduleDAG* instead ofDan Gohman2008-11-184-23/+23
| | | | | | a SelectionDAG*. llvm-svn: 59488
* Revert r59464. It was causing this failure:Bill Wendling2008-11-182-188/+4
| | | | | | | | | | | | | | | | | | Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll Failed with signal(SIGABRT) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll | llc -march=xcore > fneg.ll.tmp1.s Assertion failed: (VT.isFloatingPoint() && "Cannot create integer FP constant!"), function getConstantFP, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 913. 0 llc 0x0092115c _ZN4llvm3sys18RemoveFileOnSignalERKNS0_4PathEPSs + 844 1 libSystem.B.dylib 0x9217809b _sigtramp + 43 2 ??? 0xffffffff 0x0 + 4294967295 3 libSystem.B.dylib 0x921f0ec2 raise + 26 4 libSystem.B.dylib 0x9220047f abort + 73 5 libSystem.B.dylib 0x921f2063 __assert_rtn + 101 6 llc 0x005a5b0a _ZN4llvm12SelectionDAG13getConmake[1]: *** [check-local] Error 1 make: *** [check] Error 2 llvm-svn: 59487
* Give SIToFPInst preference over UIToFPInst because it is faster on platforms ↵Devang Patel2008-11-181-3/+20
| | | | | | that are widely used. llvm-svn: 59476
* Avoid using a loop in ReleasePred and ReleaseSucc methods to compute theDan Gohman2008-11-183-55/+64
| | | | | | | | | | | | | new CycleBound value. Instead, just update CycleBound on each call. Also, make ReleasePred and ReleaseSucc methods more consistent accross the various schedulers. This also happens to make ScheduleDAGRRList's CycleBound computation somewhat more interesting, though it still doesn't have any noticeable effect, because no current targets that use the register-pressure reduction scheduler provide pipeline models. llvm-svn: 59475
* While handling floating point IVs lift restrictions on initial value and ↵Devang Patel2008-11-171-25/+42
| | | | | | increment value. llvm-svn: 59471
* Handle floating point ivs during doInitialization().Devang Patel2008-11-171-144/+130
| | | | llvm-svn: 59466
* Eliminate some trivial differences between the ScheduleNodeTopDownDan Gohman2008-11-172-6/+8
| | | | | | functions in these two schedulers. llvm-svn: 59465
* Add soft float support for a bunch more operations. OriginalDuncan Sands2008-11-172-4/+188
| | | | | | | patch by Richard Osborne, tweaked and extended by your humble servant. llvm-svn: 59464
* Don't bother doing latency calculations in the "fast" scheduler.Dan Gohman2008-11-171-15/+5
| | | | llvm-svn: 59461
* Use SUnit's CycleBound field instead of duplicating it inDan Gohman2008-11-171-8/+9
| | | | | | a side-car datastructure llvm-svn: 59458
* Move some former testcases (low-probability codegenDale Johannesen2008-11-171-0/+45
| | | | | | optimizations) into this wishlist. llvm-svn: 59455
* Let AnalyzeAlloca() remove debug intrinsics.Devang Patel2008-11-171-20/+11
| | | | llvm-svn: 59454
* Don't produce ADDC/ADDE when expanding SHL unless they are legalRichard Osborne2008-11-171-1/+2
| | | | | | for the target. This fixes PR3080. llvm-svn: 59450
* Don't use the isPending flag to mean what the isAvailable flag means.Dan Gohman2008-11-172-2/+2
| | | | llvm-svn: 59445
* Fixed legalization of CONVERT_RNDSAT for integers.Mon P Wang2008-11-172-24/+16
| | | | llvm-svn: 59432
* If SI->size() is 0, we are not allowed to dereference ->begin().Torok Edwin2008-11-161-2/+4
| | | | | | This fixed PR3078. llvm-svn: 59416
* Big PBQP allocator update. Adds coalescing support, stack slot coloring, ↵Lang Hames2008-11-161-139/+478
| | | | | | several bug-fixes. llvm-svn: 59414
* eliminate some std::set's.Chris Lattner2008-11-161-9/+10
| | | | llvm-svn: 59409
* simplify loopChris Lattner2008-11-161-5/+2
| | | | llvm-svn: 59406
* simplify a bunch more instcombines to use m_Specific etc.Chris Lattner2008-11-161-40/+37
| | | | llvm-svn: 59403
* factor the code for simplifying (icmp)|(icmp) into its own function.Chris Lattner2008-11-161-151/+167
| | | | llvm-svn: 59402
* do some computation with apints instead of ConstantInts.Chris Lattner2008-11-161-6/+5
| | | | llvm-svn: 59401
* merge a check into a place where it is simpler.Chris Lattner2008-11-161-20/+17
| | | | llvm-svn: 59400
* Improved shuffle normalization to avoid using extract/build when weMon P Wang2008-11-161-96/+122
| | | | | | | can extract using different indexes for two vectors. Added a few tests for vector shuffles. llvm-svn: 59399
* 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
OpenPOWER on IntegriCloud