summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix may-be-used-uninitialized warning.Daniel Dunbar2009-06-261-1/+1
| | | | llvm-svn: 74253
* NewNightlyTest: Factor out LLVM{Src,Obj,Test} variables.Daniel Dunbar2009-06-261-19/+47
| | | | | | | | - They can be overriden on the command line as well. Add -teelogs option, which will also print the various logs on stdout. llvm-svn: 74252
* Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprogramsDevang Patel2009-06-266-238/+95
| | | | | | and llvm.dbg.global_variables. llvm-svn: 74251
* Fix unused variable warnings.Daniel Dunbar2009-06-261-0/+3
| | | | llvm-svn: 74250
* Fix spelling of 'count'Daniel Dunbar2009-06-261-1/+1
| | | | llvm-svn: 74249
* Fix error in the Win32 implementation pointed out by Howard Su.Owen Anderson2009-06-261-1/+1
| | | | llvm-svn: 74248
* OpenCL 1.0 support: explicit casts to ext-vector typesNate Begeman2009-06-265-4/+69
| | | | llvm-svn: 74247
* start adding logic in isel to determine asm printer semantics, step N of M.Chris Lattner2009-06-262-8/+29
| | | | llvm-svn: 74246
* Remove '#include <sstream>' from libAnalysis.Ted Kremenek2009-06-262-2/+1
| | | | llvm-svn: 74245
* Update method signature.Ted Kremenek2009-06-261-2/+3
| | | | llvm-svn: 74244
* Change this code to a form about which VC++ reportedly isn't unhappy.Dan Gohman2009-06-261-1/+2
| | | | llvm-svn: 74243
* Fix LCSSA to avoid emitting a PHI node for the unwind destination ofDan Gohman2009-06-262-2/+154
| | | | | | | an invoke instruction, since the value isn't really live across that edge. llvm-svn: 74242
* Add a note about commuting conditional move.Evan Cheng2009-06-261-0/+2
| | | | llvm-svn: 74241
* Minor code simplification.Dan Gohman2009-06-261-7/+3
| | | | llvm-svn: 74240
* These are done / no longer applicable.Evan Cheng2009-06-261-47/+3
| | | | llvm-svn: 74239
* Unbreak build.Ted Kremenek2009-06-261-0/+346
| | | | llvm-svn: 74238
* Mark a bunch of instructions commutable.Evan Cheng2009-06-262-37/+62
| | | | llvm-svn: 74237
* tst is also commutable.Evan Cheng2009-06-261-1/+1
| | | | llvm-svn: 74236
* Committed the wrong version in my last commit.Owen Anderson2009-06-262-4/+2
| | | | llvm-svn: 74235
* Privatize a static variable.Owen Anderson2009-06-261-0/+3
| | | | llvm-svn: 74234
* Add missing header file.Ted Kremenek2009-06-261-0/+55
| | | | llvm-svn: 74233
* Implicit instantiation for function template specializations.Douglas Gregor2009-06-269-22/+124
| | | | | | | | | For a FunctionDecl that has been instantiated due to template argument deduction, we now store the primary template from which it was instantiated and the deduced template arguments. From this information, we can instantiate the body of the function template. llvm-svn: 74232
* Remove orphaned header file.Ted Kremenek2009-06-261-80/+0
| | | | llvm-svn: 74231
* Guards for the compiler driver plugin list.Owen Anderson2009-06-261-1/+7
| | | | llvm-svn: 74230
* Introduce a new concept to the static analyzer: SValuator.Ted Kremenek2009-06-2632-617/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GRTransferFuncs had the conflated role of both constructing SVals (symbolic expressions) as well as handling checker-specific logic. Now SValuator has the role of constructing SVals from expressions and GRTransferFuncs just handles checker-specific logic. The motivation is by separating these two concepts we will be able to much more easily create richer constraint-generating logic without coupling it to the main checker transfer function logic. We now have one implementation of SValuator: SimpleSValuator. SimpleSValuator is essentially the SVal-related logic that was in GRSimpleVals (which is removed in this patch). This includes the logic for EvalBinOp, EvalCast, etc. Because SValuator has a narrower role than the old GRTransferFuncs, the interfaces are much simpler, and so is the implementation of SimpleSValuator compared to GRSimpleVals. I also did a line-by-line review of SVal-related logic in GRSimpleVals and cleaned it up while moving it over to SimpleSValuator. As a consequence of removing GRSimpleVals, there is no longer a '-checker-simple' option. The '-checker-cfref' did everything that option did but also ran the retain/release checker. Of course a user may not always wish to run the retain/release checker, nor do we wish core analysis logic buried in the checker-specific logic. The next step is to refactor the logic in CFRefCount.cpp to separate out these pieces into the core analysis engine. llvm-svn: 74229
* Select ADC, SBC, and RSC instead of the ADCS, SBCS, and RSCS when the carry ↵Evan Cheng2009-06-254-49/+120
| | | | | | bit def is not used. llvm-svn: 74228
* Support thread-local pretty stack traces.Owen Anderson2009-06-251-7/+8
| | | | llvm-svn: 74227
* Add support for const thread locals.Owen Anderson2009-06-253-8/+8
| | | | llvm-svn: 74226
* Fix typo in assertion.Owen Anderson2009-06-251-1/+1
| | | | llvm-svn: 74225
* OpenCL 1.0 Support: support "bool, true, false" tokens when compiling for OpenCLNate Begeman2009-06-252-4/+6
| | | | llvm-svn: 74224
* Use MVN for ~t2_so_imm immediates.David Goodwin2009-06-252-0/+30
| | | | llvm-svn: 74223
* Add a configure test for pthread_getspecific, and use it when building ↵Owen Anderson2009-06-254-1/+110
| | | | | | ThreadLocal. llvm-svn: 74222
* Write/Read new Language OptionsNate Begeman2009-06-252-0/+4
| | | | llvm-svn: 74221
* PCH support for OpenCL language optionsNate Begeman2009-06-252-0/+8
| | | | llvm-svn: 74220
* Add Def/Use of CPSR for Thumb-1 instructions.David Goodwin2009-06-251-41/+103
| | | | llvm-svn: 74219
* MC: Parse .org directives.Daniel Dunbar2009-06-253-1/+42
| | | | llvm-svn: 74218
* OpenCL 1.0 patch 2/N: Language options & file extensionNate Begeman2009-06-252-2/+21
| | | | llvm-svn: 74217
* Test case for my last patch.Fariborz Jahanian2009-06-251-0/+74
| | | | llvm-svn: 74216
* Simplify.Devang Patel2009-06-254-22/+12
| | | | llvm-svn: 74215
* Check that index-test uses an up-to-date AST file.Argyrios Kyrtzidis2009-06-251-0/+12
| | | | llvm-svn: 74214
* Improved semantic analysis and AST respresentation for functionDouglas Gregor2009-06-2521-75/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | templates. For example, this now type-checks (but does not instantiate the body of deref<int>): template<typename T> T& deref(T* t) { return *t; } void test(int *ip) { int &ir = deref(ip); } Specific changes/additions: * Template argument deduction from a call to a function template. * Instantiation of a function template specializations (just the declarations) from the template arguments deduced from a call. * FunctionTemplateDecls are stored directly in declaration contexts and found via name lookup (all forms), rather than finding the FunctionDecl and then realizing it is a template. This is responsible for most of the churn, since some of the core declaration matching and lookup code assumes that all functions are FunctionDecls. llvm-svn: 74213
* Unbreak mingw build. Patch by Viktor Kutuzov.Evan Cheng2009-06-251-1/+1
| | | | llvm-svn: 74212
* Don't grep the -debug output. This isn't the way to test changes.Bill Wendling2009-06-251-1/+0
| | | | llvm-svn: 74211
* Update cmake build files.Owen Anderson2009-06-251-0/+1
| | | | llvm-svn: 74210
* Add a class for supporting platform independent thread-local storage.Owen Anderson2009-06-254-0/+192
| | | | | | Windows people, please double-check/patch this. llvm-svn: 74209
* MC: Parse .set and assignments.Daniel Dunbar2009-06-256-3/+69
| | | | llvm-svn: 74208
* Add some comments and clean-up some leftover code.Argyrios Kyrtzidis2009-06-251-8/+3
| | | | llvm-svn: 74207
* down with unwind info :)Chris Lattner2009-06-251-1/+1
| | | | llvm-svn: 74206
* Patch to diagnose and Mark use of implicit default assignment operator.Fariborz Jahanian2009-06-254-1/+111
| | | | llvm-svn: 74205
* add targetflags to jump tables and constant pool entries.Chris Lattner2009-06-253-37/+49
| | | | llvm-svn: 74204
OpenPOWER on IntegriCloud