summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Propagate debug loc info in SUB.Bill Wendling2009-01-301-7/+8
| | | | llvm-svn: 63368
* Propagate debug loc info in ADDC and ADDE.Bill Wendling2009-01-301-11/+13
| | | | llvm-svn: 63367
* Propagate debug loc info in DAG combine's "ADD".Bill Wendling2009-01-301-20/+18
| | | | llvm-svn: 63366
* - Propagate debug loc info in combineSelectAndUse().Bill Wendling2009-01-302-20/+42
| | | | | | | - Modify ReassociateOps so that the resulting SDValue is what the comment claims it is. llvm-svn: 63365
* Add some comments.Mikhail Glushenkov2009-01-301-1/+5
| | | | llvm-svn: 63364
* update for change in API.Chris Lattner2009-01-301-4/+4
| | | | llvm-svn: 63363
* Fix a bug in getMaxValue/getMinValue to pass the right signedness theChris Lattner2009-01-301-6/+6
| | | | | | the constructed APSInt, patch suggested by Ben Laurie! llvm-svn: 63362
* Enable target tripple.Devang Patel2009-01-301-1/+1
| | | | llvm-svn: 63361
* Linux and other target's encoding for DW_AT_declaration may not match.Devang Patel2009-01-301-0/+1
| | | | llvm-svn: 63360
* Propagate debug info when building SelectionDAG.Dale Johannesen2009-01-302-399/+525
| | | | llvm-svn: 63359
* Remove dead code, again.Devang Patel2009-01-301-14/+0
| | | | llvm-svn: 63358
* Remove dead code.Devang Patel2009-01-301-10/+0
| | | | llvm-svn: 63357
* Add DW_AT_declaration for class methods.Devang Patel2009-01-302-2/+36
| | | | llvm-svn: 63356
* Propagate debug location info for the token factor.Bill Wendling2009-01-301-5/+5
| | | | llvm-svn: 63355
* Eliminated LookupCriteria, whose creation was causing a bottleneck forDouglas Gregor2009-01-3015-430/+222
| | | | | | | | | | | | | | | | | | LookupName et al. Instead, use an enum and a bool to describe its contents. Optimized the C/Objective-C path through LookupName, eliminating any unnecessarily C++isms. Simplify IdentifierResolver::iterator, removing some code and arguments that are no longer used. Eliminated LookupDeclInScope/LookupDeclInContext, moving all callers over to LookupName, LookupQualifiedName, or LookupParsedName, as appropriate. All together, I'm seeing a 0.2% speedup on Cocoa.h with PTH and -disable-free. Plus, we're down to three name-lookup routines. llvm-svn: 63354
* Add dump() routines to help debug debug info :)Devang Patel2009-01-302-0/+128
| | | | llvm-svn: 63353
* Use uint64_t not unsigned for type sizes/offsets.Daniel Dunbar2009-01-301-11/+11
| | | | llvm-svn: 63352
* Bug fixing involving method-list in protocol meta-dataFariborz Jahanian2009-01-301-6/+25
| | | | | | (objc2 nonfragile-abi). llvm-svn: 63351
* Add DebugLoc propagation to some of the methods in DAG combiner.Bill Wendling2009-01-301-27/+34
| | | | llvm-svn: 63350
* ccc: Add -Xclang option, rename -WA, to -Xanalyzer.Daniel Dunbar2009-01-304-5/+13
| | | | | | | | | - -Xclang always forwards to clang - -Xanalyzer replaces -WA,; it seems like the cleaner mechanism and is more readable. llvm-svn: 63349
* ccc: Mark -combine option as unsupported.Daniel Dunbar2009-01-302-5/+1
| | | | llvm-svn: 63348
* Fix a couple bugs:Ted Kremenek2009-01-308-19/+78
| | | | | | | | | | | | | | - NonLoc::MakeVal() would use sizeof(unsigned) (literally) instead of consulting ASTContext for the size (in bits) of 'int'. While it worked, it was a conflation of concepts and using ASTContext.IntTy is 100% correct. - RegionStore::getSizeInElements() no longer assumes that a VarRegion has the type "ConstantArray", and handles the case when uses use ordinary variables as if they were arrays. - Fixed ElementRegion::getRValueType() to just return the rvalue type of its "array region" in the case the array didn't have ArrayType. - All of this fixes <rdar://problem/6541136> llvm-svn: 63347
* ccc: Embrace destiny as a clang compiler driver.Daniel Dunbar2009-01-2911-52/+93
| | | | | | | | | | | | | | | | | | | | | This redoes the default mode that ccc runs in w.r.t. using clang. Now ccc defaults to always using clang for any task clang can handle. However, the following options exist to tweak this behavior: -ccc-no-clang: Don't use clang at all for compilation (still used for static analysis). -ccc-no-clang-cxx: Don't use clang for C++ and Objective-C++ inputs. -ccc-no-clang-cpp: Don't use clang as a preprocessor. -ccc-clang-archs <archs>: If present, only use clang for the given comma separated list of architectures. This only works on Darwin for now. Note that all -ccc options must be first on the command line. llvm-svn: 63346
* Fix name of -x option for C preprocessed input; it should beDaniel Dunbar2009-01-291-1/+1
| | | | | | cpp-output, not c-cpp-output. llvm-svn: 63345
* Random bug fix related to protocl metadata in categories inFariborz Jahanian2009-01-291-5/+6
| | | | | | non-fragile abi. llvm-svn: 63343
* Explain why this is here.Bill Wendling2009-01-291-0/+1
| | | | llvm-svn: 63342
* retain/release checker: When generating summaries for CF/CG functions, allow ↵Ted Kremenek2009-01-292-6/+52
| | | | | | arguments to "escape" if they are passed to a function containing the terms "InsertValue", "SetValue", or "AddValue". This fixes <rdar://problem/6539791>. llvm-svn: 63341
* XFAIL this test. It only worked before because of a bug in the spill point ↵Owen Anderson2009-01-291-0/+1
| | | | | | | | selection code. Not deleting because it should be possible to enhance the selection code to handle this in the future. llvm-svn: 63340
* Correct the algorithms for choosing spill and restore points so that we ↵Owen Anderson2009-01-291-2/+23
| | | | | | | | don't try to insert loads/stores between call frame setup and the actual call. This fixes the last known failure for the pre-alloc-splitter. llvm-svn: 63339
* Explicitly add PseudoSourceValue information when loweringDan Gohman2009-01-291-10/+11
| | | | | | BUILD_VECTOR and conversions to stack operations. llvm-svn: 63333
* ABITest: Makefile tweaksDaniel Dunbar2009-01-292-24/+52
| | | | llvm-svn: 63330
* Set protocol linkage and visibility correctly andFariborz Jahanian2009-01-291-2/+17
| | | | | | | build protocol translation table meta-data (objc2 non-fragile abi). llvm-svn: 63329
* Make a few things const, fix some comments, and simplifyDan Gohman2009-01-291-16/+8
| | | | | | some assertions. llvm-svn: 63328
* Make CodeGen produce an error if we come across a non-constant initializer ↵Douglas Gregor2009-01-297-11/+27
| | | | | | list that involves the GNU array-range designator extension llvm-svn: 63327
* Protocol meta-data for objc2's non-fragile abi. Fariborz Jahanian2009-01-291-21/+233
| | | | | | Lot more to do in this area. llvm-svn: 63326
* Fix windows build, patch by Marius Wachtler!Chris Lattner2009-01-291-2/+2
| | | | llvm-svn: 63325
* diags moved, so these casts are no longer needed.Chris Lattner2009-01-291-2/+2
| | | | llvm-svn: 63324
* Local register allocator shouldn't assume only the entry and landing pad ↵Evan Cheng2009-01-292-16/+51
| | | | | | basic blocks have live-ins. llvm-svn: 63323
* Hack Sema::LookupDeclInScope() to avoid calling Sema::LookupName() when ↵Steve Naroff2009-01-292-37/+103
| | | | | | | | parsing C/ObjC. This results in a 1.7% improvement for "Cocoa.h". If we can figure out how to return a "Decl *", rather than a Sema::LookupResult(), we will likely bump the speedup from 1.7%->2.5%. I verified this, however couldn't get it to work without breaking a fair number of C++ test cases. Will discuss with Doug offline. llvm-svn: 63320
* remove two empty filesChris Lattner2009-01-292-0/+0
| | | | llvm-svn: 63319
* next round of diagnostics cleanups, moving some Chris Lattner2009-01-2912-106/+54
| | | | | | | diags around, eliminating #defines, etc. Patch by Anders Johnsen! llvm-svn: 63318
* Introduce a new expression node, ImplicitValueInitExpr, thatDouglas Gregor2009-01-2911-23/+97
| | | | | | | | | | | | | represents an implicit value-initialization of a subobject of a particular type. This replaces the (ab)use of CXXZeroValueInitExpr within initializer lists for the "holes" that occur due to the use of C99 designated initializers. The new test case is currently XFAIL'd, because CodeGen's ConstExprEmitter (in lib/CodeGen/CGExprConstant.cpp) needs to be taught to value-initialize when it sees ImplicitValueInitExprs. llvm-svn: 63317
* Clean up designated initialization of unions, so that CodeGen doesn'tDouglas Gregor2009-01-295-44/+83
| | | | | | have to try to guess which member is being initialized. llvm-svn: 63315
* Fix two typos that Duncan spotted in a comment.Dan Gohman2009-01-291-1/+1
| | | | llvm-svn: 63312
* In the case of an extractelement on an insertelement value,Dan Gohman2009-01-292-1/+30
| | | | | | | the element indices may be equal if either one is not a constant. llvm-svn: 63311
* Suppress a warningDouglas Gregor2009-01-291-2/+2
| | | | llvm-svn: 63310
* x86_64 ABI: Handle fields / complex components which straddleDaniel Dunbar2009-01-291-4/+15
| | | | | | | | eightbyte boundaries. - Getting harder to test now that we handle cases gcc & llvm-gcc get wrong ( { _Complex char; _Complex int; } is a good example). :) llvm-svn: 63305
* Add a always_inline test case.Evan Cheng2009-01-291-0/+12
| | | | llvm-svn: 63304
* Revert r63273. This was already implemented by Dale. There's no need for myBill Wendling2009-01-292-94/+135
| | | | | | change. llvm-svn: 63301
* Add a test case for Chris lvalue alignment fixes.Evan Cheng2009-01-291-0/+17
| | | | llvm-svn: 63300
OpenPOWER on IntegriCloud