Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the xcode project for real and don't check in a failing test. | Anders Carlsson | 2010-01-27 | 1 | -4/+6 |
| | | | | llvm-svn: 94655 | ||||
* | Update xcode project. | Anders Carlsson | 2010-01-27 | 1 | -0/+24 |
| | | | | llvm-svn: 94654 | ||||
* | XFAIL this for now. | Anders Carlsson | 2010-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 94653 | ||||
* | Fix test/CodeGenCXX/default-destructor-synthesis.cpp not to rely on asm output. | Anders Carlsson | 2010-01-27 | 1 | -47/+25 |
| | | | | llvm-svn: 94652 | ||||
* | Fix attr.cpp by not checking the generated assembler output. | Anders Carlsson | 2010-01-27 | 1 | -24/+5 |
| | | | | llvm-svn: 94651 | ||||
* | merge two ifs | Chris Lattner | 2010-01-27 | 1 | -3/+1 |
| | | | | llvm-svn: 94650 | ||||
* | some cleanups. | Chris Lattner | 2010-01-27 | 1 | -14/+15 |
| | | | | llvm-svn: 94649 | ||||
* | no need to check for null | Chris Lattner | 2010-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 94648 | ||||
* | Implement access control for overloaded functions. Suppress access control | John McCall | 2010-01-27 | 11 | -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 Cheng | 2010-01-27 | 1 | -13/+0 |
| | | | | llvm-svn: 94646 | ||||
* | Clarify the documentation of ext_vector, and add a small example. Hopefully | Owen Anderson | 2010-01-27 | 1 | -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 Dunbar | 2010-01-27 | 1 | -0/+3 |
| | | | | llvm-svn: 94644 | ||||
* | ppc/linux isn't ready for this and it was an accident that it was included. | Chris Lattner | 2010-01-27 | 1 | -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 of | Daniel Dunbar | 2010-01-27 | 3 | -22/+29 |
| | | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642 | ||||
* | Driver/Darwin: Simplify target version checks. | Daniel Dunbar | 2010-01-27 | 3 | -65/+32 |
| | | | | llvm-svn: 94641 | ||||
* | Driver/Darwin: Fix a few link arguments when targetting different iPhoneOS | Daniel Dunbar | 2010-01-27 | 3 | -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 Dunbar | 2010-01-27 | 1 | -31/+17 |
| | | | | | | information. llvm-svn: 94639 | ||||
* | Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actually | Daniel Dunbar | 2010-01-27 | 3 | -38/+19 |
| | | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638 | ||||
* | Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate. | Daniel Dunbar | 2010-01-27 | 2 | -7/+7 |
| | | | | llvm-svn: 94637 | ||||
* | Driver/Darwin: Disallow -m{macosx,iphoneos}-version-min as -Xarch arguments. | Daniel Dunbar | 2010-01-27 | 1 | -2/+2 |
| | | | | llvm-svn: 94636 | ||||
* | Driver/Darwin: Track target platform more explicitly in tool chain, eventually | Daniel Dunbar | 2010-01-27 | 3 | -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 Hernandez | 2010-01-27 | 2 | -3/+7 |
| | | | | | | metadata to dbg.value llvm-svn: 94634 | ||||
* | Add const version of ObjCMethodDecl::getCanonicalDecl(). | Ted Kremenek | 2010-01-27 | 1 | -0/+3 |
| | | | | llvm-svn: 94633 | ||||
* | Linker needs to do deep-copy of function-local metadata to update references ↵ | Victor Hernandez | 2010-01-27 | 1 | -1/+13 |
| | | | | | | to function arguments llvm-svn: 94632 | ||||
* | use existing basic block numbers instead of recomputing | Chris Lattner | 2010-01-27 | 1 | -23/+4 |
| | | | | | | a new set of them. llvm-svn: 94631 | ||||
* | Switch MSP430, CellSPU, SystemZ, Darwin/PPC, Alpha, and Sparc to | Chris Lattner | 2010-01-27 | 7 | -210/+16 |
| | | | | | | | | EmitFunctionHeader: 7 files changed, 16 insertions(+), 210 deletions(-) llvm-svn: 94630 | ||||
* | Clarify what -tailcallopt option actually do. | Evan Cheng | 2010-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 94628 | ||||
* | Adjust setjmp instruction sequence to not need 32-bit alignment padding | Jim Grosbach | 2010-01-27 | 2 | -5/+4 |
| | | | | llvm-svn: 94627 | ||||
* | Eliminate target hook IsEligibleForTailCallOptimization. | Evan Cheng | 2010-01-27 | 26 | -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 Cheng | 2010-01-27 | 1 | -0/+6 |
| | | | | llvm-svn: 94625 | ||||
* | mcize label emission for functions. | Chris Lattner | 2010-01-26 | 1 | -5/+5 |
| | | | | llvm-svn: 94624 | ||||
* | use EmitLinkage for functions as well as globals. One output | Chris Lattner | 2010-01-26 | 2 | -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 Kremenek | 2010-01-26 | 3 | -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 Lattner | 2010-01-26 | 2 | -43/+48 |
| | | | | llvm-svn: 94621 | ||||
* | rearrange some directives, no functionality change. | Chris Lattner | 2010-01-26 | 1 | -3/+3 |
| | | | | llvm-svn: 94620 | ||||
* | Roll r94484 (avoiding RTTI problems in tests) forward again in a way that isn't | Jeffrey Yasskin | 2010-01-26 | 4 | -22/+5 |
| | | | | | | broken by setting CXXFLAGS on the command line. llvm-svn: 94619 | ||||
* | Avoid extra calls to MD->getNumOperands() | Victor Hernandez | 2010-01-26 | 1 | -1/+1 |
| | | | | llvm-svn: 94618 | ||||
* | Ignore 'forced' tailcall opt in fastisel mode. | Evan Cheng | 2010-01-26 | 1 | -5/+0 |
| | | | | llvm-svn: 94617 | ||||
* | remove a noop function. | Chris Lattner | 2010-01-26 | 2 | -7/+0 |
| | | | | llvm-svn: 94616 | ||||
* | Fix inline cost predictions with SCIENCE. | Jakob Stoklund Olesen | 2010-01-26 | 2 | -29/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After running a batch of measurements, it is clear that the inliner metrics need some adjustments: Own argument bonus: 20 -> 5 Outgoing argument penalty: 0 -> 5 Alloca bonus: 10 -> 5 Constant instr bonus: 7 -> 5 Dead successor bonus: 40 -> 5*(avg instrs/block) The new cost metrics are generaly 25 points higher than before, so we may need to move thresholds. With this change, InlineConstants::CallPenalty becomes a political correction: if (!isa<IntrinsicInst>(II) && !callIsSmall(CS.getCalledFunction())) NumInsts += InlineConstants::CallPenalty + CS.arg_size(); The code size is accurately modelled by CS.arg_size(). CallPenalty is added because calls tend to take a long time, so it may not be worth it to inline a function with lots of calls. All of the political corrections are in the InlineConstants namespace: IndirectCallBonus, CallPenalty, LastCallToStaticBonus, ColdccPenalty, NoreturnPenalty. llvm-svn: 94615 | ||||
* | now that enough stuff is constified, move function header printing | Chris Lattner | 2010-01-26 | 4 | -90/+96 |
| | | | | | | | logic up from X86 into the common code. The other targets will hopefully start using this soon. llvm-svn: 94614 | ||||
* | constify a bunch of dwarf stuff now that the registerinfo method | Chris Lattner | 2010-01-26 | 7 | -15/+15 |
| | | | | | | is constified. llvm-svn: 94613 | ||||
* | constify a method argument. | Chris Lattner | 2010-01-26 | 8 | -18/+21 |
| | | | | llvm-svn: 94612 | ||||
* | Allow some automatic tailcall optimization without changing ABI. | Evan Cheng | 2010-01-26 | 1 | -6/+1 |
| | | | | llvm-svn: 94611 | ||||
* | Delete blank lines that bug me. | Evan Cheng | 2010-01-26 | 1 | -2/+0 |
| | | | | llvm-svn: 94610 | ||||
* | Move 'LocalCheckers.h' to the 'Checkers' subdirectory. | Ted Kremenek | 2010-01-26 | 13 | -12/+12 |
| | | | | llvm-svn: 94609 | ||||
* | Move 'include/Checkers/PathSensitive/Checkers' directory to 'include/Checkers'. | Ted Kremenek | 2010-01-26 | 3 | -2/+2 |
| | | | | llvm-svn: 94608 | ||||
* | Patch to add 'volatile' to first argument of all | Fariborz Jahanian | 2010-01-26 | 2 | -10/+14 |
| | | | | | | | | sync compare_and_swap to match them with gcc. It also fixes a few incorrect argument defitions. (fixes radar 7540291). llvm-svn: 94607 | ||||
* | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -0/+6 |
| | | | | | | to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606 | ||||
* | call emitconstantpool and emitjumptable like other targets. | Chris Lattner | 2010-01-26 | 1 | -0/+4 |
| | | | | llvm-svn: 94601 |