summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Check for PRE_INC and POST_INC.David Goodwin2009-07-141-1/+1
| | | | llvm-svn: 75683
* Fix the expansion of umax and smax in the case where one or more ofDan Gohman2009-07-142-6/+171
| | | | | | | | the operands have pointer type, so that the resulting type matches the original SCEV type, and so that unnecessary ptrtoints are avoided in common cases. llvm-svn: 75680
* fix a bug in my previous patch.Chris Lattner2009-07-141-1/+1
| | | | llvm-svn: 75678
* Update CMake file.Ted Kremenek2009-07-141-0/+1
| | | | llvm-svn: 75677
* allow default construction of formatted_raw_ostream.Chris Lattner2009-07-141-4/+11
| | | | llvm-svn: 75674
* fix David's merge conflictChris Lattner2009-07-141-6/+2
| | | | llvm-svn: 75673
* reapply r75408, which eliminates MOV64r0 in favor of usingChris Lattner2009-07-143-17/+28
| | | | | | | MOV32r0 + subregs to do the same thing. This should work now that PR4544 is fixed. Thanks Evan! llvm-svn: 75671
* Have asm printers use formatted_raw_ostream directly to avoid aDavid Greene2009-07-1467-194/+265
| | | | | | dynamic_cast<>. llvm-svn: 75670
* Helper script to use bugpoint with a remote target.Viktor Kutuzov2009-07-141-0/+108
| | | | llvm-svn: 75669
* convert to filecheck style, simplify RUN line, and add comment.Chris Lattner2009-07-141-7/+7
| | | | llvm-svn: 75667
* Update CMake file.Ted Kremenek2009-07-141-0/+1
| | | | llvm-svn: 75666
* Fix for bugpoint -remote-clientViktor Kutuzov2009-07-141-7/+15
| | | | llvm-svn: 75665
* Remove some dead functions, patch by Ryan Flynn!Chris Lattner2009-07-142-4/+0
| | | | llvm-svn: 75664
* convert this test to filecheck styleChris Lattner2009-07-141-12/+20
| | | | llvm-svn: 75663
* Fix a typo that Edwin spotted.Dan Gohman2009-07-141-1/+1
| | | | llvm-svn: 75661
* hasThumb2() does not mean we are compiling for thumb, must also check isThumb().David Goodwin2009-07-141-3/+6
| | | | llvm-svn: 75660
* Add a comment clarifying the role of getPrimitiveTypeSizeInBits.Dan Gohman2009-07-141-0/+5
| | | | llvm-svn: 75659
* Remove an extra space.Bob Wilson2009-07-141-1/+1
| | | | llvm-svn: 75658
* Introduce a pointertracking pass.Torok Edwin2009-07-145-0/+482
| | | | | | | | For now this only computes the allocated size of the memory pointed to by a pointer, and offset a pointer from allocated pointer. The actual checkLimits part will come later, after another round of review. llvm-svn: 75657
* Testcase for PR4556Chris Lattner2009-07-141-0/+6
| | | | llvm-svn: 75655
* Mark as fall through.Bill Wendling2009-07-141-0/+1
| | | | llvm-svn: 75652
* Reapply my previous asmprinter changes now with more testing and two Chris Lattner2009-07-1427-176/+174
| | | | | | | | | | | | | | | | | | | | additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
* Added llvm-mc support for parsing the .desc directive.Kevin Enderby2009-07-145-0/+54
| | | | llvm-svn: 75645
* Add a testcase for a bug fixed by r75634.Dan Gohman2009-07-141-0/+36
| | | | llvm-svn: 75644
* LLVM doesn't use libelf. Remove libelf configurey.Dan Gohman2009-07-144-97/+0
| | | | llvm-svn: 75643
* Revert 75571; I'm convinced this isn't the right thing to do.Dale Johannesen2009-07-142-28/+8
| | | | llvm-svn: 75642
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-14172-812/+813
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* Revert r7561{9,8,7,6}, which depend on r75610. Daniel Dunbar2009-07-149-29/+26
| | | | | | | | | | | | | | | | | | --- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
* Revert r75615, which depended on 75610.Daniel Dunbar2009-07-1412-47/+55
| | | | | | | | | | | | | | | | | | --- Reverse-merging r75615 into '.': U lib/Target/XCore/XCoreAsmPrinter.cpp U lib/Target/PIC16/PIC16AsmPrinter.cpp U lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp U lib/Target/MSP430/MSP430AsmPrinter.cpp U lib/Target/IA64/AsmPrinter/IA64AsmPrinter.cpp U lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp U lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp U lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp U lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp U lib/Target/MSIL/MSILWriter.cpp U lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp U lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp llvm-svn: 75637
* Revert r75610 (and r75620, which was blocking the revert), in the hopes ofDaniel Dunbar2009-07-144-89/+62
| | | | | | | | | | | | | | unbreaking llvm-gcc (on Darwin). --- Reverse-merging r75620 into '.': U include/llvm/Support/Mangler.h --- Reverse-merging r75610 into '.': U test/CodeGen/X86/loop-hoist.ll G include/llvm/Support/Mangler.h U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp U lib/VMCore/Mangler.cpp llvm-svn: 75636
* Make SCEVCallbackVH::allUsesReplacedWith more thorough in removingDan Gohman2009-07-141-4/+8
| | | | | | users from the Scalars map. llvm-svn: 75634
* Require IVUsers after LCSSA, since LCSSA does not preserve IVUsers.Dan Gohman2009-07-141-3/+3
| | | | | | | This results in the pass manager running IVUsers only once for indvars, instead of twice. llvm-svn: 75633
* Add a comment about why ScalarEvolution doesn't recognize non-loop PHIsDan Gohman2009-07-141-0/+4
| | | | | | even when they're obvious. llvm-svn: 75632
* After converting assert(0) to LLVM_UNREACHABLE we lost file/line location.Torok Edwin2009-07-143-4/+12
| | | | | | | Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. llvm-svn: 75631
* eliminate extra space.Torok Edwin2009-07-149-25/+24
| | | | llvm-svn: 75630
* Add extra sign extension to the same bit width before int signAnton Korobeynikov2009-07-142-3/+13
| | | | | | | extension to another bit width. This is needed to get correct singed value. Patch by Artur Pietrek! llvm-svn: 75629
* Add missing break. Patch by Artur Pietrek!Anton Korobeynikov2009-07-141-0/+1
| | | | llvm-svn: 75628
* Move main llvm-prof functionality into a ModulePass.Daniel Dunbar2009-07-141-110/+148
| | | | | | | | | | | - To support using the ProfileInfo analysis results instead of accessing the ProfileInfoLoader directly. - Based on (part of) a patch by Andreas Neustifter. - No functionality change. llvm-svn: 75625
* ProfileInfo interface tweaks.Daniel Dunbar2009-07-142-10/+22
| | | | | | | | | | | | - Add getExecutionCount(const Function). - Add helper Edge type. - constify. - No functionality change. llvm-svn: 75623
* Use http instead https for anonymous readonly check out.Evan Cheng2009-07-141-1/+1
| | | | llvm-svn: 75621
* remove renamed method.Chris Lattner2009-07-141-4/+0
| | | | llvm-svn: 75620
* rename getValueName -> getMangledName. These two files have veryChris Lattner2009-07-142-14/+17
| | | | | | dubious looking things that I need to investigate in more detail. llvm-svn: 75619
* Rename getValueName -> getMangledNameChris Lattner2009-07-143-5/+5
| | | | llvm-svn: 75618
* rename getValueName -> getMangledNameChris Lattner2009-07-141-1/+1
| | | | llvm-svn: 75617
* rename getValueName -> getMangledNameChris Lattner2009-07-143-6/+6
| | | | llvm-svn: 75616
* Rename getValueName -> getMangledName.Chris Lattner2009-07-1412-55/+47
| | | | llvm-svn: 75615
* Remove some tabs and fix other whitespace. No functional changes.Bob Wilson2009-07-141-7/+7
| | | | llvm-svn: 75613
* Fix a comment.Bob Wilson2009-07-141-1/+1
| | | | llvm-svn: 75612
* Fix an obvious error.Bob Wilson2009-07-141-3/+3
| | | | llvm-svn: 75611
* Change the X86 asmprinter to use the mangler to apply suffixes like ↵Chris Lattner2009-07-144-62/+93
| | | | | | | | | | | | | | | | "$non_lazy_ptr" to symbols instead of doing it with "printSuffixedName". This gets us to the point where there is a real separation between computing a symbol name and printing it, something I need for MC printer stuff. This patch also fixes a corner case bug where unnamed private globals wouldn't get the private label prefix. Next up, rename all uses of getValueName -> getMangledName for better greppability, and then tackle the ppc/arm backends to eliminate "printSuffixedName". llvm-svn: 75610
OpenPOWER on IntegriCloud