summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Suppress clang warning about unused arguments.Daniel Dunbar2010-01-2717-17/+17
| | | | llvm-svn: 94666
* Remove unnecessary ASTContext* argument from isRefType().Ted Kremenek2010-01-271-5/+5
| | | | llvm-svn: 94665
* Perform trivial tail call optimization for callees with "C" ABI. These are doneEvan Cheng2010-01-275-8/+45
| | | | | | | | | even when -tailcallopt is not specified and it does not require changing ABI. First case is the most trivial one. Perform tail call optimization when both the caller and callee do not return values and when the callee does not take any input arguments. llvm-svn: 94664
* Update CMake build.Ted Kremenek2010-01-271-0/+1
| | | | llvm-svn: 94663
* Start pulling out pieces of the monolithic retain/release checker intoTed Kremenek2010-01-274-125/+223
| | | | | | | | | reusable and modular API pieces. Start by pulling the logic for deriving the Cocoa naming convention into a separate API, header, and source file. llvm-svn: 94662
* Set -ccc-host-triple in these tests.Daniel Dunbar2010-01-271-6/+6
| | | | llvm-svn: 94661
* Fix a major oversight in the comparison of standard conversionDouglas Gregor2010-01-276-41/+94
| | | | | | | | | | | | | | sequences, where we would occasionally determine (incorrectly) that one standard conversion sequence was a proper subset of another when, in fact, they contained completely incomparable conversions. This change records the types in each step within a standard conversion sequence, so that we can check the specific comparison types to determine when one sequence is a proper subset of the other. Fixes this testcase (thanks, Anders!), which was distilled from PR6095 (also thanks to Anders). llvm-svn: 94660
* Implement access-check delays for out-of-line member definitionsJohn McCall2010-01-274-28/+162
| | | | | | using the same framework we use for deprecation warnings. llvm-svn: 94659
* Add support for 3dnow and 3dnowa, and define the target macros accordingly. ↵Anders Carlsson2010-01-271-1/+23
| | | | | | (This is needed in order to build Qt). llvm-svn: 94658
* It's not Explicit anymore.Anders Carlsson2010-01-271-1/+1
| | | | llvm-svn: 94657
* Structs and classes with non-trivial destructors or copy constructors should ↵Anders Carlsson2010-01-271-2/+10
| | | | | | be passed indirectly in the 32-bit ABI. Fixes PR6094. llvm-svn: 94656
* Update the xcode project for real and don't check in a failing test.Anders Carlsson2010-01-271-4/+6
| | | | llvm-svn: 94655
* Update xcode project.Anders Carlsson2010-01-271-0/+24
| | | | llvm-svn: 94654
* XFAIL this for now.Anders Carlsson2010-01-271-1/+1
| | | | llvm-svn: 94653
* Fix test/CodeGenCXX/default-destructor-synthesis.cpp not to rely on asm output.Anders Carlsson2010-01-271-47/+25
| | | | llvm-svn: 94652
* Fix attr.cpp by not checking the generated assembler output.Anders Carlsson2010-01-271-24/+5
| | | | llvm-svn: 94651
* merge two ifsChris Lattner2010-01-271-3/+1
| | | | llvm-svn: 94650
* some cleanups.Chris Lattner2010-01-271-14/+15
| | | | llvm-svn: 94649
* no need to check for nullChris Lattner2010-01-271-1/+1
| | | | llvm-svn: 94648
* Implement access control for overloaded functions. Suppress access controlJohn McCall2010-01-2711-105/+276
| | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647
* Remove a dead target hook.Evan Cheng2010-01-271-13/+0
| | | | llvm-svn: 94646
* Clarify the documentation of ext_vector, and add a small example. HopefullyOwen Anderson2010-01-271-3/+19
| | | | | | | | this will alleviate some confusion about the existence of this feature. Comments/improvements welcome. llvm-svn: 94645
* Support -marm by treating it as an alias for -mno-thumb.Daniel Dunbar2010-01-271-0/+3
| | | | llvm-svn: 94644
* ppc/linux isn't ready for this and it was an accident that it was included.Chris Lattner2010-01-271-2/+0
| | | | | | This should fix a bunch of linux buildbot failures. llvm-svn: 94643
* Driver/Darwin: Eliminate invalid uses of DarwinVersion -- this fixes a number ofDaniel Dunbar2010-01-273-22/+29
| | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642
* Driver/Darwin: Simplify target version checks.Daniel Dunbar2010-01-273-65/+32
| | | | llvm-svn: 94641
* Driver/Darwin: Fix a few link arguments when targetting different iPhoneOSDaniel Dunbar2010-01-273-7/+59
| | | | | | versions to match gcc (which is matching linker changes). llvm-svn: 94640
* Driver/Darwin: Switch clang -triple synthesis to use computed target ↵Daniel Dunbar2010-01-271-31/+17
| | | | | | information. llvm-svn: 94639
* Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actuallyDaniel Dunbar2010-01-273-38/+19
| | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638
* Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate.Daniel Dunbar2010-01-272-7/+7
| | | | llvm-svn: 94637
* Driver/Darwin: Disallow -m{macosx,iphoneos}-version-min as -Xarch arguments.Daniel Dunbar2010-01-271-2/+2
| | | | llvm-svn: 94636
* Driver/Darwin: Track target platform more explicitly in tool chain, eventuallyDaniel Dunbar2010-01-273-13/+78
| | | | | | | this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635
* When converting dbg.declare to dbg.value, attach promoted store's debug ↵Victor Hernandez2010-01-272-3/+7
| | | | | | metadata to dbg.value llvm-svn: 94634
* Add const version of ObjCMethodDecl::getCanonicalDecl().Ted Kremenek2010-01-271-0/+3
| | | | llvm-svn: 94633
* Linker needs to do deep-copy of function-local metadata to update references ↵Victor Hernandez2010-01-271-1/+13
| | | | | | to function arguments llvm-svn: 94632
* use existing basic block numbers instead of recomputing Chris Lattner2010-01-271-23/+4
| | | | | | a new set of them. llvm-svn: 94631
* Switch MSP430, CellSPU, SystemZ, Darwin/PPC, Alpha, and Sparc to Chris Lattner2010-01-277-210/+16
| | | | | | | | EmitFunctionHeader: 7 files changed, 16 insertions(+), 210 deletions(-) llvm-svn: 94630
* Clarify what -tailcallopt option actually do.Evan Cheng2010-01-271-1/+1
| | | | llvm-svn: 94628
* Adjust setjmp instruction sequence to not need 32-bit alignment paddingJim Grosbach2010-01-272-5/+4
| | | | llvm-svn: 94627
* Eliminate target hook IsEligibleForTailCallOptimization.Evan Cheng2010-01-2726-77/+84
| | | | | | | | | Target independent isel should always pass along the "tail call" property. Change target hook LowerCall's parameter "isTailCall" into a refernce. If the target decides it's impossible to honor the tail call request, it should set isTailCall to false to make target independent isel happy. llvm-svn: 94626
* Restore to pre-94570 state.Evan Cheng2010-01-271-0/+6
| | | | llvm-svn: 94625
* mcize label emission for functions.Chris Lattner2010-01-261-5/+5
| | | | llvm-svn: 94624
* use EmitLinkage for functions as well as globals. One outputChris Lattner2010-01-262-32/+5
| | | | | | | | | change is that we now use ".linkonce discard" for global variables instead of ".linkonce samesize". These should be the same, just less strict. If anyone is interested in mcizing MCSection for COFF targets, this should be easy to fix. llvm-svn: 94623
* Teach RegionStore to handle initialization of incomplete arrays in ↵Ted Kremenek2010-01-263-12/+55
| | | | | | structures using a compound value. Fixes <rdar://problem/7515938>. llvm-svn: 94622
* pull linkage emission code out to a new EmitLinkage function.Chris Lattner2010-01-262-43/+48
| | | | llvm-svn: 94621
* rearrange some directives, no functionality change.Chris Lattner2010-01-261-3/+3
| | | | llvm-svn: 94620
* Roll r94484 (avoiding RTTI problems in tests) forward again in a way that isn'tJeffrey Yasskin2010-01-264-22/+5
| | | | | | broken by setting CXXFLAGS on the command line. llvm-svn: 94619
* Avoid extra calls to MD->getNumOperands()Victor Hernandez2010-01-261-1/+1
| | | | llvm-svn: 94618
* Ignore 'forced' tailcall opt in fastisel mode.Evan Cheng2010-01-261-5/+0
| | | | llvm-svn: 94617
* remove a noop function.Chris Lattner2010-01-262-7/+0
| | | | llvm-svn: 94616
OpenPOWER on IntegriCloud