summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed static qualifier from a few index related methods. These methods may ↵Lang Hames2009-09-092-25/+23
| | | | | | require a LiveIntervals instance in future. llvm-svn: 81374
* Reverted r81358.Andreas Neustifter2009-09-091-22/+27
| | | | llvm-svn: 81364
* Fix SplitCriticalEdge to properly update LCSSA form when splitting aDan Gohman2009-09-092-40/+52
| | | | | | | | | | loop exit edge -- new PHIs may be needed not only for the additional splits that are made to preserve LoopSimplify form, but also for the original split. Factor out the code that inserts new PHIs so that it can be used for both. Remove LoopRotation.cpp's code for manually updating LCSSA form, as it is now redundant. This fixes PR4934. llvm-svn: 81363
* Fix build, add missing simicolon.Benjamin Kramer2009-09-091-1/+1
| | | | llvm-svn: 81362
* Reflow comment.Mike Stump2009-09-091-5/+5
| | | | llvm-svn: 81361
* Preserve ProfileInfo.Andreas Neustifter2009-09-092-1/+16
| | | | llvm-svn: 81360
* Add the first functions for updating ProfileInfo.Andreas Neustifter2009-09-091-0/+83
| | | | llvm-svn: 81359
* Cleaned up code by factoring out common portions of edge loading into funcion.Andreas Neustifter2009-09-091-27/+22
| | | | llvm-svn: 81358
* Take lock before removing a node from MDNodeSet.Devang Patel2009-09-091-1/+5
| | | | llvm-svn: 81356
* Enable MDNode uniquing.Devang Patel2009-09-091-21/+1
| | | | llvm-svn: 81355
* Fix an 80-column violation.Dan Gohman2009-09-091-3/+3
| | | | llvm-svn: 81354
* Gracefully destroy MDNodes.Devang Patel2009-09-091-0/+3
| | | | llvm-svn: 81353
* revert r81335, which breaks the build.Chris Lattner2009-09-093-36/+17
| | | | llvm-svn: 81347
* When widening a vector load, use the correct chain. This fixes PR4891.Dan Gohman2009-09-091-1/+1
| | | | llvm-svn: 81343
* Fixed wrong storage option for ProfileVerifierDisableAssertions.Andreas Neustifter2009-09-091-36/+107
| | | | | | | | | | Fixed non working -profile-verifier-noassert option. Fixed missing newline in debugEntry(). Cleaned up assert messages. (assert(0 && Message) is still shown, but the message is printed before.) When verifiying loaded profiles the ProfileVerifier got confused when block was a setjmp target, this is checked now. When verifiying loaded profiles the ProfileVerifier got confused when block eventually reaching an exit(), this is checked now. llvm-svn: 81338
* Updated ProfileInfo to have clean seperation between different sentinels.Andreas Neustifter2009-09-093-17/+36
| | | | llvm-svn: 81335
* Add a shortcut for OS X to Path::GetMainExecutable. This gives a nice speedup onBenjamin Kramer2009-09-091-1/+15
| | | | | | clang's testsuite. llvm-svn: 81333
* Check that the 'kill' call succeeded.Mikhail Glushenkov2009-09-092-2/+13
| | | | | | Thanks to Duncan Sands for spotting this. llvm-svn: 81328
* Provide proper section flags for various BSS flavoursAnton Korobeynikov2009-09-091-1/+5
| | | | llvm-svn: 81322
* Whitespace cleanupAnton Korobeynikov2009-09-091-163/+162
| | | | llvm-svn: 81321
* disable the new asmprinter by default. Both the Mangler and MCSymbolChris Lattner2009-09-091-1/+1
| | | | | | printing stuff are quoting symbols now, breaking objc testcases. llvm-svn: 81319
* Cast MO.getImm() to unsigned before comparing with an unsigned limit.Evan Cheng2009-09-091-1/+1
| | | | llvm-svn: 81318
* Make sure to make stub region writable before emission, executable after ↵Evan Cheng2009-09-091-0/+22
| | | | | | emission. llvm-svn: 81311
* Fix arm jit encoding bug introduced by 75048. Some instructions', e.g. MOVi, ↵Evan Cheng2009-09-091-7/+21
| | | | | | bit 25 should be set. llvm-svn: 81310
* Make sure the memory range is writable before memset'ing it.Evan Cheng2009-09-091-0/+2
| | | | llvm-svn: 81308
* Remove comments which don't add much to .s readibility.Evan Cheng2009-09-091-5/+5
| | | | llvm-svn: 81306
* turn the mcinst asmprinter on by default for x86, tweaking two tests toChris Lattner2009-09-091-1/+1
| | | | | | expect the slight syntax differences in the generated code. llvm-svn: 81305
* tidy upChris Lattner2009-09-091-22/+3
| | | | llvm-svn: 81304
* make sure to send external symbols through the mangler,Chris Lattner2009-09-091-5/+3
| | | | | | this fixes mingw-alloca.ll with the new asmprinter. llvm-svn: 81301
* allow @ in symbol names without quoting the identifier. This Chris Lattner2009-09-091-1/+1
| | | | | | allows things like @PLT without quotes. llvm-svn: 81296
* Fix PR4865. This syncs up the JIT's DWARF emitter with what's in theBill Wendling2009-09-091-20/+21
| | | | | | | 'DwarfException.cpp' file, which changed how CIEs were emitted, the sizes of some fields, etc. llvm-svn: 81295
* add support for @PLT and friends on external symbols, fixesChris Lattner2009-09-091-2/+27
| | | | | | x86-64-pic-11.ll with the new asmprinter. llvm-svn: 81294
* Add Triple::getArchTypeForDarwinArchName, which converts a "Darwin" architectureDaniel Dunbar2009-09-081-0/+34
| | | | | | | | name (e.g. "ppc") to the appropriate constant. Also, StringRefize additional Triple constructor. llvm-svn: 81274
* Improve JIT error message for users crazy enough to use -march with JIT, andDaniel Dunbar2009-09-082-3/+6
| | | | | | mention -version in messages about missing targets. llvm-svn: 81272
* parenthesize symbol names that start with $, fixing X86/dollar-name.ll withChris Lattner2009-09-081-2/+13
| | | | | | the new asmprinter. llvm-svn: 81269
* change selectiondag to add the sign extended versions of immediate operandsChris Lattner2009-09-082-2/+2
| | | | | | | | to instructions instead of zero extended ones. This makes the asmprinter print signed values more consistently. This apparently only really affects the X86 backend. llvm-svn: 81265
* Unbreak getOnesVector() / getZeroVector() to use valid ARM extended imm's.Anton Korobeynikov2009-09-082-19/+33
| | | | llvm-svn: 81262
* Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter insteadDan Gohman2009-09-081-4/+3
| | | | | | | of requiring a name be passed in. This makes it use "<stdin>" instead of "-" and makes it more consistent with the Bitcode reader. llvm-svn: 81256
* This should unbreak the build on 64-bit Linux.Mikhail Glushenkov2009-09-081-3/+6
| | | | llvm-svn: 81252
* Fix PR4909, patch by Jakub Staszak.Owen Anderson2009-09-081-1/+2
| | | | llvm-svn: 81250
* Const-correctness.Mikhail Glushenkov2009-09-082-2/+2
| | | | llvm-svn: 81249
* Get rid of the Pid_ member in the Program class.Mikhail Glushenkov2009-09-082-20/+29
| | | | llvm-svn: 81247
* Add a Kill() function to the Program class.Mikhail Glushenkov2009-09-082-9/+30
| | | | llvm-svn: 81246
* remove an extremely dubious instcombine transformation ofChris Lattner2009-09-081-42/+14
| | | | | | extractelement(load). llvm-svn: 81239
* Remove dead code.Devang Patel2009-09-081-2/+0
| | | | llvm-svn: 81235
* Fix may-be-used-uninitialized warning.Daniel Dunbar2009-09-081-2/+2
| | | | llvm-svn: 81223
* Re-apply r80926, with fixes: keep the domtree informed of new blocksDan Gohman2009-09-088-132/+223
| | | | | | | | | | | | | | | that get created during loop unswitching, and fix SplitBlockPredecessors' LCSSA updating code to create new PHIs instead of trying to just move existing ones. Also, optimize Loop::verifyLoop, since it gets called a lot. Use searches on a sorted list of blocks instead of calling the "contains" function, as is done in other places in the Loop class, since "contains" does a linear search. Also, don't call verifyLoop from LoopSimplify or LCSSA, as the PassManager is already calling verifyLoop as part of LoopInfo's verifyAnalysis. llvm-svn: 81221
* Add NEON 'laned' operations. This fixes another bunch of gcc testsuite fails andAnton Korobeynikov2009-09-083-22/+406
| | | | | | makes the code faster. llvm-svn: 81220
* Add source debug information to the Sparc code generator.Richard Pennington2009-09-083-6/+11
| | | | llvm-svn: 81215
* When emitting a label for a PostCall safe point, the machineNicolas Geoffray2009-09-081-6/+11
| | | | | | | | instruction to insert before can be end(). getDebugLoc on end() returns an invalid value, therefore use the debug loc of the call instruction, and give it to InsertLabel. llvm-svn: 81207
OpenPOWER on IntegriCloud