summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert part of my r81424 patch. I removed what looked like superfluous paddingBill Wendling2009-09-101-23/+37
| | | | | | | | from the exception tables. However, Duncan explained why it's a can of worms to do it the GCC way. I went back to doing it the LLVM way and added Duncan's explanation so that I don't do this again in the future. llvm-svn: 81434
* Add malloc call utility functions. Patch by Victor Hernandez.Evan Cheng2009-09-103-52/+319
| | | | llvm-svn: 81426
* Don't hardcode the TType format size. In fact, rework the code so that it's moreBill Wendling2009-09-101-49/+49
| | | | | | | | like what GCC outputs. The mysterious code to insert padding wasn't in GCC at all. I modified the TType base offset code to calculate the offset like GCC does, though. llvm-svn: 81424
* Proper support of non-lazy indirect symbols.Evan Cheng2009-09-102-8/+21
| | | | llvm-svn: 81422
* Remove the "#if 0" that Noone loved. It wasn't really necessary, because theBill Wendling2009-09-101-27/+20
| | | | | | | | code within it was the same inside and out. There's still a problem of the TypeInfoSize should be the size of the TType format encoding (at least that's what GCC thinks it should be). llvm-svn: 81417
* Revert r81171 which was causing pr4927.Bob Wilson2009-09-101-17/+4
| | | | llvm-svn: 81415
* Pull check for SJLJ EH into a boolean and use that.Bill Wendling2009-09-101-7/+10
| | | | llvm-svn: 81409
* Use the SizeOfEncodedValue function instead of magic variables for theBill Wendling2009-09-101-4/+3
| | | | | | sizeof(DW_EH_PE_udata4). llvm-svn: 81408
* Add helpful comment.Bill Wendling2009-09-102-0/+2
| | | | llvm-svn: 81406
* Believe it or not, this is a simplification. :-)Bill Wendling2009-09-092-37/+86
| | | | | | | | | | | | | Basically, this patch is working towards removing the hard-coded values that are output for the CIE. In particular, the CIE augmentation and the CIE augmentation size. Both of these should be calculated. In the process, I was able to make a bunch of code simpler. The encodings for the personality, LSDA, and FDE in the CIE are still not correct. They should be generated either from target-specific callbacks (blech!) or grokked from first-principles. llvm-svn: 81404
* Fix double load / store multiple encoding.Evan Cheng2009-09-092-4/+3
| | | | llvm-svn: 81403
* canonicalize namespace gymnasticsChris Lattner2009-09-092-25/+23
| | | | llvm-svn: 81402
* Fix pr4939: Change FPCCToARMCC to translate SETOLE to ARMCC::LS.Bob Wilson2009-09-091-12/+5
| | | | | | See the bug report for details. llvm-svn: 81397
* remove DebugLoc from MCInst and eliminate "Comment printing" fromChris Lattner2009-09-0916-38/+76
| | | | | | | | | | | | | the MCInst path of the asmprinter. Instead, pull comment printing out of the autogenerated asmprinter into each target that uses the autogenerated asmprinter. This causes code duplication into each target, but in a way that will be easier to clean up later when more asmprinter stuff is commonized into the base AsmPrinter class. This also fixes an xcore strangeness where it inserted two tabs before every instruction. llvm-svn: 81396
* Add comment re: clang dependency.Daniel Dunbar2009-09-091-0/+3
| | | | llvm-svn: 81393
* Added an abstract superclass, MCDisassembler, forSean Callanan2009-09-092-0/+53
| | | | | | | | | | | | | all disassemblers. Modified the MemoryObject to support 64-bit address spaces, regardless of the LLVM process's address width. Modified the Target class to allow extraction of a MCDisassembler. llvm-svn: 81392
* Use the EOL that takes the encoding and translates it into DWARF-English.Bill Wendling2009-09-092-11/+21
| | | | llvm-svn: 81382
* Early exit from function.Bill Wendling2009-09-091-14/+13
| | | | llvm-svn: 81381
* Small amount of code clean-up: Don't use ".size()" when not necessary.Bill Wendling2009-09-091-5/+7
| | | | llvm-svn: 81380
* add a gross hack to get "SrcLine" comments to show up with theChris Lattner2009-09-091-0/+1
| | | | | | new asmprinter. Differently gross hack coming next. llvm-svn: 81379
* hoist the call to processDebugLoc out of the generatedChris Lattner2009-09-098-5/+12
| | | | | | | | | | | | | asm printer into the "printInstruction" routine. This fixes a problem where the experimental asmprinter would drop debug labels in some cases, and fixes issues on ppc/xcore where pseudo instructions like "mr" didn't get debug locs properly. It is annoying that this moves the call from one place into each target, but a future set of more invasive refactorings will fix that problem. llvm-svn: 81377
* 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
OpenPOWER on IntegriCloud