summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Renamed "tCMNZ" to "tCMNz" to be consistent with other similar namings.Johnny Chen2009-12-161-1/+1
| | | | llvm-svn: 91571
* Allow pointer convesion of an objective-c pointer toFariborz Jahanian2009-12-162-2/+54
| | | | | | 'void *' to mimic gcc's behavior. (fixes radar 7477351). llvm-svn: 91570
* Fix test.Eli Friedman2009-12-161-10/+1
| | | | llvm-svn: 91566
* Silence a clang warning about the deprecated (but perfectly reasonable inJohn McCall2009-12-161-2/+2
| | | | | | context) increment-of-bool idiom. llvm-svn: 91564
* Make sure C-specific enum warning doesn't trigger in C++.Eli Friedman2009-12-162-12/+12
| | | | llvm-svn: 91563
* Fix -fdollars-in-identifiers Clang translation.Daniel Dunbar2009-12-163-7/+8
| | | | llvm-svn: 91562
* Reapply r91392, it was only unmasking the bug, and since TOT is still broken ↵Daniel Dunbar2009-12-164-29/+205
| | | | | | having it reverted does no good. llvm-svn: 91560
* Reapply r91459, it was only unmasking the bug, and since TOT is still broken ↵Daniel Dunbar2009-12-162-404/+513
| | | | | | having it reverted does no good. llvm-svn: 91559
* Correctly calcluate abstract-ness in the case where an implicitly declaredEli Friedman2009-12-162-3/+20
| | | | | | method overrides a pure virtual method. llvm-svn: 91558
* Temporarily revert 91553.Ted Kremenek2009-12-161-5/+9
| | | | llvm-svn: 91557
* Mark STREX* as earlyclobber for the success result register.Jim Grosbach2009-12-162-2/+2
| | | | llvm-svn: 91555
* Add @earlyclobber TableGen constraintJim Grosbach2009-12-163-9/+48
| | | | llvm-svn: 91554
* Remove use of ObjCObjectRegion from BasicStoreManager.Ted Kremenek2009-12-161-9/+5
| | | | llvm-svn: 91553
* Remove superfluous 'extern' variable that was causing a warning with clang.Bill Wendling2009-12-161-1/+1
| | | | llvm-svn: 91552
* Fix test case to unbreak testingDouglas Gregor2009-12-161-2/+2
| | | | llvm-svn: 91551
* Reuse lowered phi nodes.Jakob Stoklund Olesen2009-12-163-43/+124
| | | | | | | | | | | | | | Tail duplication produces lots of identical phi nodes in different basic blocks. Teach PHIElimination to reuse the join registers when lowering a phi node that is identical to an already lowered node. This saves virtual registers, and more importantly it avoids creating copies the the coalescer doesn't know how to eliminate. Teach LiveIntervalAnalysis about the phi joins with multiple uses. This patch significantly reduces code size produced by -pre-regalloc-taildup. llvm-svn: 91549
* When value-initializing a class with no user-defined constructors butDouglas Gregor2009-12-1611-37/+112
| | | | | | | with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. llvm-svn: 91548
* Compute the right extension for preprocessed Objective-C++ files.Ted Kremenek2009-12-161-1/+1
| | | | llvm-svn: 91547
* Diagnose property of reference type as unsupportedFariborz Jahanian2009-12-163-6/+9
| | | | | | instead of crashing for now. llvm-svn: 91546
* Baby steps towards fixing PR5589. If a class needs a vtable pointer, add one.Anders Carlsson2009-12-164-6/+31
| | | | llvm-svn: 91545
* add some svn:ignoreNuno Lopes2009-12-160-0/+0
| | | | llvm-svn: 91544
* implement PR5654: add -fassume-sane-operator-new, which is enabled by ↵Nuno Lopes2009-12-1611-7/+56
| | | | | | | | default, and adds the malloc attribute to the global function new() and to the overloaded new operators. feel free to chage the name to this lengthy argument llvm-svn: 91543
* In Sema::CheckInitializerTypes, replace a use of CheckReferenceInit with an ↵Douglas Gregor2009-12-164-8/+14
| | | | | | InitializationSequence llvm-svn: 91542
* Update C++ status page to reflect realityDouglas Gregor2009-12-161-58/+58
| | | | llvm-svn: 91541
* fix PR5689: add support for 'o' and 'V' asm input operandsNuno Lopes2009-12-161-0/+2
| | | | llvm-svn: 91540
* fix buildNuno Lopes2009-12-161-1/+1
| | | | llvm-svn: 91539
* Shift things around so that it's easier to recover from a missingJohn McCall2009-12-166-264/+197
| | | | | | | | | function in a C++ call using an arbitrary call-expression type. Actually exploit this to fix the recovery implemented earlier. The diagnostic is still iffy, though. llvm-svn: 91538
* Fix pretty stack traces.Daniel Dunbar2009-12-161-2/+0
| | | | llvm-svn: 91537
* Fix one more missing this-> to placate that picky clang++.Daniel Dunbar2009-12-161-1/+1
| | | | llvm-svn: 91536
* Add a new kind of region: CXXObjectRegion. Currently it has only one Zhongxing Xu2009-12-167-25/+102
| | | | | | | | attribute: the object type. Add initial support for visiting CXXThisExpr. Fix a bunch of 80-col violations. llvm-svn: 91535
* Revert "Reapply 91184 with fixes and an addition to the testcase to cover theDaniel Dunbar2009-12-162-513/+404
| | | | | | | | | problem", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. This reverts commit db22309800b224a9f5f51baf76071d7a93ce59c9. llvm-svn: 91534
* Revert "Initial work on disabling the scheduler. This is a work in progress, andDaniel Dunbar2009-12-164-205/+29
| | | | | | | this", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. llvm-svn: 91533
* reapply my strstr optimization. I have reproduced the x86-64 bootstrapChris Lattner2009-12-162-9/+123
| | | | | | | miscompile (i386.o miscompares) but it happens both with and without this patch. llvm-svn: 91532
* fix more missing this->'s to placate clang++Chris Lattner2009-12-161-26/+27
| | | | llvm-svn: 91531
* Fix a missing this-> that clang++ notices.Chris Lattner2009-12-161-1/+1
| | | | llvm-svn: 91530
* now that libsystem no longer uses SmallVector, we can move Chris Lattner2009-12-163-21/+41
| | | | | | SmallVectorBase::grow_pod out of line, finally satisfying PR3758. llvm-svn: 91529
* remove use of SmallVector from Path::makeUnique. Path::makeUniqueChris Lattner2009-12-161-14/+10
| | | | | | is not used by anything performance sensitive, so just use std::string. llvm-svn: 91528
* eliminate an extraneous use of SmallVector in a case whereChris Lattner2009-12-161-6/+4
| | | | | | a fixed size buffer is perfectly fine. llvm-svn: 91527
* factor out the grow() method for all pod implementations into oneChris Lattner2009-12-161-37/+76
| | | | | | common function. It is still an inline method, which will be fixed next. llvm-svn: 91526
* Introduce a centralized routine in Sema for diagnosing failed lookups (whenJohn McCall2009-12-1615-25/+148
| | | | | | | | | used as expressions). In dependent contexts, try to recover by doing a lookup in previously-dependent base classes. We get better diagnostics out, but unfortunately the recovery fails: we need to turn it into a method call expression, not a bare call expression. Thus this is still a WIP. llvm-svn: 91525
* Use different name for argument and fieldVictor Hernandez2009-12-162-3/+3
| | | | llvm-svn: 91524
* pull destroy_range and uninitialized_copy up to theChris Lattner2009-12-161-26/+32
| | | | | | | SmallVectorTemplateBase class, which allows us to statically dispatch on isPodLike instead of dynamically. llvm-svn: 91523
* sink most of the meat in smallvector back from SmallVectorTemplateCommonChris Lattner2009-12-161-202/+210
| | | | | | | down into SmallVectorImpl. This requires sprinking a ton of this->'s in, but gives us a place to factor. llvm-svn: 91522
* Make this test pass on Linux.Nick Lewycky2009-12-161-9/+20
| | | | llvm-svn: 91521
* Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. ↵Anders Carlsson2009-12-165-39/+9
| | | | | | With this change, we can now compile and link TableGen. llvm-svn: 91520
* Handle ImplicitValueInitExpr in AggExprEmitter.Anders Carlsson2009-12-162-2/+14
| | | | llvm-svn: 91519
* substantial refactoring of SmallVector, now most code is in ↵Chris Lattner2009-12-161-57/+93
| | | | | | | | | SmallVectorTemplateCommon, and there is a new SmallVectorTemplateBase class in between it and SmallVectorImpl. SmallVectorTemplateBase can be specialized based on isPodLike. llvm-svn: 91518
* remove dead code.Zhongxing Xu2009-12-161-3/+0
| | | | llvm-svn: 91517
* Eliminate Sema::CheckValueInitialization; its callers now useDouglas Gregor2009-12-163-110/+181
| | | | | | | | | | | | | | InitializationSequence to perform the actual initialization. Also, introduced the notion of a tree of initialized entities, so that we can know where an initialization began when dealing with nested initializations (as occur when performing list initialization). This will, eventually, be useful for producing better diagnostics when list initialization fails, because we can show the path from the top-level object being initialized down to the actual subobject where initialization failed. llvm-svn: 91516
* Add abort() as a builtin. This has two effects: one, we warn for incorrect Eli Friedman2009-12-165-0/+6
| | | | | | | | declarations of abort(), and two, we mark it noreturn. Missing the latter shows up in one of the "embarassing" tests (from the thread on llvmdev "detailed comparison of generated code size for LLVM and other compilers"). llvm-svn: 91515
OpenPOWER on IntegriCloud