summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* zap white spaces.Devang Patel2009-01-201-56/+48
| | | | llvm-svn: 62598
* Fix global variable's address in a DIE.Devang Patel2009-01-201-1/+1
| | | | llvm-svn: 62596
* Enable debug info for enums.Devang Patel2009-01-201-10/+14
| | | | llvm-svn: 62594
* Add an IEEE remainder function, which is notDale Johannesen2009-01-202-1/+42
| | | | | | | | fully implemented yet and not used. This is mainly to clarify that APFloat::mod implements C fmod, not remainder. llvm-svn: 62593
* improve compatibility with various versions of graphviz, patch byChris Lattner2009-01-201-1/+1
| | | | | | Patrick Boettcher! llvm-svn: 62592
* eliminate use of uint32_t to improve compatibility with cygwinChris Lattner2009-01-201-76/+76
| | | | llvm-svn: 62591
* Eliminate use of uint32_t to improve compatibility with cygwinChris Lattner2009-01-201-6/+6
| | | | llvm-svn: 62590
* Enable debug info for composite types.Devang Patel2009-01-202-4/+1
| | | | llvm-svn: 62589
* Check that the "don't barf on k8" fix is notDuncan Sands2009-01-201-0/+2
| | | | | | accidentally reverted again. llvm-svn: 62587
* Pixel font sizes are evil.Eli Friedman2009-01-201-2/+2
| | | | llvm-svn: 62586
* Slight cleanup, and fix for va_arg on architectures where va_list is a Eli Friedman2009-01-204-15/+16
| | | | | | struct. llvm-svn: 62585
* SpacingEvan Cheng2009-01-201-1/+1
| | | | llvm-svn: 62584
* Do codegen correctly for va_start/end/copy on architectures where Eli Friedman2009-01-201-4/+14
| | | | | | | | | va_list is a struct, like x86-64. If anyone has a better idea for how to do the check in the if statements, suggestions are welcome. llvm-svn: 62582
* Rename DeclContext::insert to DeclContext::makeDeclVisibleInContext and ↵Douglas Gregor2009-01-203-31/+41
| | | | | | document both it and DeclContext::addDecl properly llvm-svn: 62581
* Temporarily XFAIL until this can be looked at. r62557 is what caused it to ↵Bill Wendling2009-01-201-0/+1
| | | | | | start failing. llvm-svn: 62578
* If a vector is empty, you're not allowed to access anyDuncan Sands2009-01-201-2/+3
| | | | | | | elements, even if it is only to take the address. Test: break-anti-dependencies.ll with ENABLE_EXPENSIVE_CHECKS. llvm-svn: 62576
* Fix for PR3350: add special-casing for "references" to va_lists in Eli Friedman2009-01-205-10/+33
| | | | | | | | builtins. Also, a minor tweak to va_copy for consistency. llvm-svn: 62574
* Refactor code. No functionality change.Evan Cheng2009-01-202-34/+89
| | | | llvm-svn: 62573
* Testcase for limited precision stuff.Bill Wendling2009-01-201-0/+133
| | | | llvm-svn: 62572
* Shift types need to match.Bill Wendling2009-01-201-8/+9
| | | | llvm-svn: 62571
* ccc: Darwin/x86: Teach compile tool how to build .pch files. xcc isDaniel Dunbar2009-01-203-10/+27
| | | | | | now fully independent of the gcc driver when targetting Darwin/x86. llvm-svn: 62570
* ccc: PCH generation doesn't strip the path when generating a derivedDaniel Dunbar2009-01-201-1/+7
| | | | | | filename from the input path. llvm-svn: 62569
* Remove the TopLevelDecls from TranslationUnit, since all of those decls are ↵Douglas Gregor2009-01-207-131/+16
| | | | | | owned by the ASTContext's TranslationUnitDecl. There are definitely some leaking Decls now that I'll tackle tomorrow llvm-svn: 62568
* Fix Decl::NextDeclInScope access issueDouglas Gregor2009-01-201-1/+3
| | | | llvm-svn: 62567
* ccc: Recognize that -M and -MM only run preprocessor.Daniel Dunbar2009-01-203-30/+33
| | | | | | | - Clean up some placement of output args to match gcc more precisely (for testing). llvm-svn: 62566
* Make test independent of stdint.hDaniel Dunbar2009-01-201-7/+3
| | | | llvm-svn: 62565
* Remove ScopedDecl, collapsing all of its functionality into Decl, soDouglas Gregor2009-01-2042-807/+630
| | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562
* another fix for PR3354Chris Lattner2009-01-202-1/+17
| | | | llvm-svn: 62561
* Add a README entry noticed while investigating PR3216.Dan Gohman2009-01-201-0/+22
| | | | llvm-svn: 62558
* Fix a dagcombine to not generate loads of non-round integer types,Dan Gohman2009-01-202-1/+15
| | | | | | | as its comment says, even in the case where it will be generating extending loads. This fixes PR3216. llvm-svn: 62557
* Update for new SourceLocation API.Daniel Dunbar2009-01-201-0/+1
| | | | llvm-svn: 62556
* Do not use DenseMap because the iterator is invalidated while constructing ↵Devang Patel2009-01-201-2/+2
| | | | | | types. After all there was a reason why std::map was used initially! llvm-svn: 62555
* Regenerate.Nick Lewycky2009-01-201-3299/+1385
| | | | | | | BUILT WITH WRONG VERSION OF AUTOCONF! Somebody please regenerate with an approved version. Thanks! llvm-svn: 62554
* Make the Interpreter use libffi if it's available. Patch from Alexei Svitkine!Nick Lewycky2009-01-202-496/+215
| | | | | | | | | | | This requires a rebuild of 'configure' itself. I will be committing that next, but built with the wrong version of autoconf. Somebody who has the right one, please update it. As a side-note, because of the way autoconf works, all built tools will link against libffi, not just lli. If you know how to fix this, please let me know ... llvm-svn: 62553
* Dead stores checker: Fix <rdar://problem/6506065> by being more selective ↵Ted Kremenek2009-01-204-17/+61
| | | | | | when say that a store is dead even though the computed value is used in the enclosing expression. llvm-svn: 62552
* ccc: Darwin/x86: Add direct cpp support.Daniel Dunbar2009-01-206-200/+282
| | | | | | | | | | - Add Darwin_X86_CC1Tool which is shared by Darwin/x86/Compile and Darwin/x86/Preprocess tools. - Minor bug fixes (CmpDriver exit code, -x cpp-output handling, some linker argument translation). llvm-svn: 62551
* Make linear scan's trivial coalescer slightly more aggressive.Evan Cheng2009-01-202-6/+14
| | | | llvm-svn: 62547
* Doxygen-ify comments.Bill Wendling2009-01-191-45/+43
| | | | llvm-svn: 62546
* Verify debug info.Devang Patel2009-01-195-10/+138
| | | | llvm-svn: 62545
* PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit ↵Ted Kremenek2009-01-192-13/+18
| | | | | | loads. This reduces user time but increases system time because of the slightly larger PTH file. Although there is no performance win on Cocoa.h and -Eonly, overall this seems like a good step. llvm-svn: 62542
* Fix a problem exposed by PR3354: simplifycfg was making a potentiallyChris Lattner2009-01-192-1/+34
| | | | | | trapping instruction be executed unconditionally. llvm-svn: 62541
* Make sure all types are allocated with 8-byte alignment.Steve Naroff2009-01-191-21/+21
| | | | | | The QualType smart pointer assumes we have 3 flag bits available. llvm-svn: 62540
* Remove SDNode's virtual destructor. This makes it impossible forDan Gohman2009-01-193-89/+16
| | | | | | | | | | | | | | SDNode subclasses to keep state that requires non-trivial destructors, however it was already effectively impossible, since the destructor isn't actually ever called. There currently aren't any SDNode subclasses affected by this, and in general it's desireable to keep SDNode objects light-weight. This eliminates the last virtual member function in the SDNode class, so it eliminates the need for a vtable pointer, making SDNode smaller. llvm-svn: 62539
* Move & restructure test per review.Dale Johannesen2009-01-191-2/+2
| | | | llvm-svn: 62538
* Convert more expression actions to smart pointers.Sebastian Redl2009-01-196-142/+160
| | | | llvm-svn: 62537
* convert this to an unfoldable potentially trapping constant expr.Chris Lattner2009-01-191-2/+4
| | | | llvm-svn: 62536
* improve compatibility with cygwin, patch by Jay Foad!Chris Lattner2009-01-192-6/+17
| | | | llvm-svn: 62535
* div/rem by zero and div/rem overflow are both undefined according toChris Lattner2009-01-191-11/+11
| | | | | | | langref. Constant fold them to undef instead of trying to preserve the trap. This fixes PR3354. llvm-svn: 62534
* Fix SelectionDAG::ReplaceAllUsesWith to behave correctly whenDan Gohman2009-01-193-16/+47
| | | | | | | | | | | | | uses are added to the From node while it is processing From's use list, because of automatic local CSE. The fix is to avoid visiting any new uses. Fix a few places in the DAGCombiner that assumed that after a RAUW call, the From node has no users and may be deleted. This fixes PR3018. llvm-svn: 62533
* Add missing test case for operator ! result type.Sebastian Redl2009-01-191-0/+9
| | | | llvm-svn: 62532
OpenPOWER on IntegriCloud