summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* This patch includes a conceptually simple, but very intrusive/pervasive change. Steve Naroff2009-07-1043-755/+892
| | | | | | | | | | | | The idea is to segregate Objective-C "object" pointers from general C pointers (utilizing the recently added ObjCObjectPointerType). The fun starts in Sema::GetTypeForDeclarator(), where "SomeInterface *" is now represented by a single AST node (rather than a PointerType whose Pointee is an ObjCInterfaceType). Since a significant amount of code assumed ObjC object pointers where based on C pointers/structs, this patch is very tedious. It should also explain why it is hard to accomplish this in smaller, self-contained patches. This patch does most of the "heavy lifting" related to moving from PointerType->ObjCObjectPointerType. It doesn't include all potential "cleanups". The good news is additional cleanups can be done later (some are noted in the code). This patch is so large that I didn't want to include any changes that are purely aesthetic. By making the ObjC types truly built-in, they are much easier to work with (and require fewer "hacks"). For example, there is no need for ASTContext::isObjCIdStructType() or ASTContext::isObjCClassStructType()! We believe this change (and the follow-up cleanups) will pay dividends over time. Given the amount of code change, I do expect some fallout from this change (though it does pass all of the clang tests). If you notice any problems, please let us know asap! Thanks. llvm-svn: 75314
* Use findCommutedOpIndices to find the operands to commute.Evan Cheng2009-07-101-3/+13
| | | | llvm-svn: 75312
* Add superclasses of ARM Neon quad registers. The Q2PR class contains pairs ofBob Wilson2009-07-101-8/+106
| | | | | | quad registers and the Q4PR class holds sets of 4 quad registers. llvm-svn: 75309
* Add new vector types for 192-bit, 348-bit and 512-bit sizes.Bob Wilson2009-07-104-60/+203
| | | | | | | These are needed to represent ARM Neon struct datatypes containing 2, 3 or 4 separate vectors. llvm-svn: 75308
* remove the "debug" modifier, it is only used by one instruction which canChris Lattner2009-07-102-2/+2
| | | | | | never be generated. llvm-svn: 75305
* Restructure RegionStoreManager::getSizeInElements() to use a switch statementTed Kremenek2009-07-101-52/+67
| | | | | | | over the types of MemRegions. This allows the compiler to warn us which regions are not handled, and also is a little faster. llvm-svn: 75304
* Fix silly mistake I made applying patch to fix test.Eli Friedman2009-07-101-1/+1
| | | | llvm-svn: 75303
* Refactor TableGen's llvm::getName to share code with llvm::getEnumName,Bob Wilson2009-07-101-41/+4
| | | | | | since names are the same for almost all the types. llvm-svn: 75302
* add support for .zerofill, patch by Kevin Enderby!Chris Lattner2009-07-105-1/+134
| | | | llvm-svn: 75301
* Oops. s/#if defined(USE_OPROFILE)/#if USE_OPROFILE/. We #defineJeffrey Yasskin2009-07-101-3/+3
| | | | | | | USE_OPROFILE to 0 on some paths through configure, which does the wrong thing with #if defined(). llvm-svn: 75300
* make pcrel and non-pcrel global printing more similar.Chris Lattner2009-07-101-11/+19
| | | | llvm-svn: 75298
* Rename test file.Ted Kremenek2009-07-101-0/+0
| | | | llvm-svn: 75297
* RegionStoreManager also passes this test file.Ted Kremenek2009-07-101-1/+6
| | | | llvm-svn: 75296
* RegionStoreManager now correctly passes this test file.Ted Kremenek2009-07-101-1/+2
| | | | llvm-svn: 75295
* Test case in test/Analysis/xfail_regionstore_wine_crash.c no longer fails, soTed Kremenek2009-07-103-23/+9
| | | | | | | move this case to 'test/Analysis/misc-ps.m' to test with both BasicStoreManager and RegionStoreManager. llvm-svn: 75294
* Support remote execute for ARM.David Goodwin2009-07-104-7/+37
| | | | llvm-svn: 75292
* Fix type of 'this' and add a decltype test.Anders Carlsson2009-07-103-2/+17
| | | | llvm-svn: 75291
* Undo my brain cramp.Evan Cheng2009-07-102-67/+0
| | | | llvm-svn: 75290
* Revert r75281 and simply remove the assertion in NewCastRegion thatTed Kremenek2009-07-102-32/+13
| | | | | | | | CodeTextRegions can only be casted to FunctionPointer or BlockPointerTypes. This simply isn't true. We can handle bogus operations on CodeTextRegions (e.g, an array access) elsewhere. llvm-svn: 75285
* Make changes suggested by Chris and eliminate newly-added raw_ostreamDavid Greene2009-07-107-215/+245
| | | | | | | | | hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. llvm-svn: 75283
* Fix crash in StoreManager::NewCastRegion regarding handling casts to void*,Ted Kremenek2009-07-102-3/+38
| | | | | | void**, void***, etc. Such casts should just pass the region through. llvm-svn: 75281
* Regenerate configure after r75279.Jeffrey Yasskin2009-07-102-25/+595
| | | | llvm-svn: 75280
* Add a --with-oprofile flag to configure, which uses OProfile's agentJeffrey Yasskin2009-07-105-0/+150
| | | | | | | | | | | | | | | | | | library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
* code model is never set to default.Chris Lattner2009-07-101-4/+2
| | | | llvm-svn: 75278
* fix indentationChris Lattner2009-07-101-14/+14
| | | | llvm-svn: 75277
* remove the now-dead TM argument to these methods.Chris Lattner2009-07-105-10/+10
| | | | llvm-svn: 75276
* make PIC vs DynamicNoPIC be explicit in PICStyles.Chris Lattner2009-07-103-21/+21
| | | | llvm-svn: 75275
* some minor simplifications.Chris Lattner2009-07-102-14/+32
| | | | llvm-svn: 75274
* add a couple of predicates to test for "stub style pic in PIC mode" and ↵Chris Lattner2009-07-105-34/+40
| | | | | | "stub style pic in dynamic-no-pic" mode. llvm-svn: 75273
* Remove ScalarEvolution::hasSCEV, which isn't being used, and whichDan Gohman2009-07-102-16/+2
| | | | | | breaks encapsulation. Also remove a dead prototype for setSCEV. llvm-svn: 75272
* Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.Eli Friedman2009-07-108-8/+8
| | | | llvm-svn: 75271
* Patch to build list of inherited virtual base classes Fariborz Jahanian2009-07-104-11/+160
| | | | | | | | in their order of construction for each class and use it to to check on propery order of base class construction under -Wreorder option. llvm-svn: 75270
* Avoid compiler warnings when assertions are turned off.Duncan Sands2009-07-101-4/+4
| | | | llvm-svn: 75269
* Misc fixes to fix tests on OpenBSD, per email to cfe-commits. Patches Eli Friedman2009-07-104-2/+5
| | | | | | by Jonathan Gray and Krister Walfridsson. llvm-svn: 75268
* Avoid compiler warnings if assertions turned off.Duncan Sands2009-07-101-0/+2
| | | | llvm-svn: 75267
* CMOVxx doesn't swap operands which it's commuted.Evan Cheng2009-07-102-0/+67
| | | | llvm-svn: 75266
* Fix a problem that Eli noticed, and that Doug helped me fix.Anders Carlsson2009-07-104-10/+20
| | | | llvm-svn: 75265
* Remove TargetInstrInfo::CommuteChangesDestination and added ↵Evan Cheng2009-07-104-31/+67
| | | | | | findCommutedOpIndices which returns the operand indices which are swapped (when applicable). This allows for some code clean up and future enhancements. llvm-svn: 75264
* Link std.lib (.bc code) with llvm-ld.Sanjiv Gupta2009-07-101-2/+2
| | | | | | Link devices.lib (processor specific variables) with mplink. llvm-svn: 75263
* Fix unit tests.Owen Anderson2009-07-103-92/+94
| | | | llvm-svn: 75262
* convert test to use FileCheck, which is much more precise and faster thanChris Lattner2009-07-101-7/+21
| | | | | | | the previous RUN lines. Hopefully this will be an inspiration for future tests :) llvm-svn: 75261
* add missing *, patch by Peter O'Gorman!Chris Lattner2009-07-101-1/+1
| | | | llvm-svn: 75259
* Push LLVMContext through the TypeBuilder API. There are no users for this ↵Owen Anderson2009-07-101-96/+106
| | | | | | | | in-tree, so I can't really test it. If you're using this, and it's broken, please send patches. llvm-svn: 75257
* Eliminate an unnecessary include.David Greene2009-07-101-2/+0
| | | | llvm-svn: 75256
* Push LLVMContext through the PatternMatch API.Owen Anderson2009-07-104-164/+193
| | | | llvm-svn: 75255
* Predicate VFP instructions on HasVFP2 instead of IsARM. This allows VFP ↵David Goodwin2009-07-102-14/+42
| | | | | | instructions with thumb-2. llvm-svn: 75254
* Rename potentially ambiguous member template 'getRegion' to 'getSubRegion' ↵Ted Kremenek2009-07-102-7/+7
| | | | | | to hopefully resolve template lookup ambiguities on some compilers. llvm-svn: 75253
* Generalize ScalarEvolution's cast-folding code to support more kindsDan Gohman2009-07-104-120/+723
| | | | | | | of loops. Add several new functions to for working with ScalarEvolution's add-hoc value-range analysis functionality. llvm-svn: 75252
* Update for GlobalVariables ctor change.Owen Anderson2009-07-101-3/+2
| | | | llvm-svn: 75251
* t2LDM_RET does not fall-through.David Goodwin2009-07-101-1/+1
| | | | llvm-svn: 75250
OpenPOWER on IntegriCloud