summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update CMake file.Ted Kremenek2009-07-141-0/+1
| | | | llvm-svn: 75677
* fix fallout of the LLVM codegen switching to formatted_raw_ostream.Chris Lattner2009-07-141-6/+11
| | | | llvm-svn: 75675
* 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
* Tweak pretty-printing of CompoundVal to make it more useful for debugging.Ted Kremenek2009-07-141-2/+2
| | | | llvm-svn: 75672
* 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
* Build AST for default ctor-initializer when constructor hasFariborz Jahanian2009-07-142-2/+3
| | | | | | out of line definition. llvm-svn: 75668
* 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
* Support data members of array type in defaultFariborz Jahanian2009-07-141-1/+3
| | | | | | ctor-initializer AST build. llvm-svn: 75662
* 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
* Moved a FIXME to where it was meant to be.Fariborz Jahanian2009-07-141-1/+1
| | | | llvm-svn: 75651
* Introduce Type::isAnyPointerType() and convert all clients (suggested by Chris).Steve Naroff2009-07-147-30/+18
| | | | | | I don't love the name, however it simplifies the code and is a worthwhile change. If/when we come up with a better name, we can do a search/replace. llvm-svn: 75650
* Patch to build AST for ctor's initializer list according toFariborz Jahanian2009-07-145-1/+88
| | | | | | semantics of order of construction [class.init]. llvm-svn: 75649
* [llvm up] adjust to match mainline.Chris Lattner2009-07-141-3/+4
| | | | llvm-svn: 75647
* 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
* Rename RecordLayout.h to ASTRecordLayout.hAnders Carlsson2009-07-1411-17/+15
| | | | llvm-svn: 75641
* 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 r75614 which depend on r75610 (for LLVM), which was reverted.Daniel Dunbar2009-07-141-4/+3
| | | | | | | --- Reverse-merging r75614 into '.': U lib/CodeGen/CGDebugInfo.cpp llvm-svn: 75639
* 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
* Add a "TypeSpecStartLoc" to FieldDecl. Patch contributed by Enea Zaffanella.Steve Naroff2009-07-147-13/+27
| | | | | Note: One day, it might be useful to consider adding this info to DeclGroup (as the comments in FunctionDecl/VarDecl suggest). For now, I think this works fine. I considered moving this to ValueDecl (a common ancestor of FunctionDecl/VarDecl/FieldDecl), however this would add overhead to EnumConstantDecl (which would burn memory and isn't necessary). llvm-svn: 75635
* 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
* Fix the buildAlisdair Meredith2009-07-141-2/+6
| | | | llvm-svn: 75627
* 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
* Basic support for C++0x unicode types. Support for literals will follow in ↵Alisdair Meredith2009-07-1421-15/+119
| | | | | | an incremental patch llvm-svn: 75622
* Use http instead https for anonymous readonly check out.Evan Cheng2009-07-141-1/+1
| | | | llvm-svn: 75621
OpenPOWER on IntegriCloud