summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use df_ext_iterator to capture the reachable set without allocating an extra ↵Owen Anderson2008-07-021-17/+14
| | | | | | | | | set. Also, move large sets and vectors out of instance variables and onto the stack, and give them more reasonable sizes. llvm-svn: 53044
* Added version of CheckDeadStores that accepts a client-provided ↵Ted Kremenek2008-07-023-1/+12
| | | | | | | | LiveVariables object. Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager. llvm-svn: 53043
* Added method "HandleTranslationUnit" to ASTConsumer. This is called by ↵Ted Kremenek2008-07-022-1/+6
| | | | | | ParseAST when all of the ASTs in a translation unit have been built. llvm-svn: 53042
* Moved logic for -dump-cfg and -view-cfg into AnalysisConsumer.Ted Kremenek2008-07-025-102/+23
| | | | | | Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump). llvm-svn: 53041
* Avoid a redundant call.Owen Anderson2008-07-021-4/+4
| | | | llvm-svn: 53040
* Move -dump-live-variables logic to AnalysisConsumer.Ted Kremenek2008-07-025-39/+28
| | | | llvm-svn: 53039
* Add support to ADCE for pruning unreachable blocks. This addresses the finalOwen Anderson2008-07-022-1/+80
| | | | | | part of PR2509. llvm-svn: 53038
* Make the default min align of CreateStackTemporary to be 1Mon P Wang2008-07-021-1/+1
| | | | llvm-svn: 53036
* Add a new getMergeValues method that does not needDuncan Sands2008-07-029-83/+63
| | | | | | | | | | to be passed the list of value types, and use this where appropriate. Inappropriate places are where the value type list is already known and may be long, in which case the existing method is more efficient. llvm-svn: 53035
* Use DenseSet rather than SmallPtrSet for the alive set. Using SmallPtrSetOwen Anderson2008-07-021-2/+2
| | | | | | with a huge "size" parameter is actually quite inefficient. llvm-svn: 53034
* Have DenseSet::insert return a bool indicating whether the insertion ↵Owen Anderson2008-07-021-2/+2
| | | | | | succeeded or not. llvm-svn: 53033
* A better fix for PR2503 that doesn't pessimize GVN in the presence of ↵Owen Anderson2008-07-023-13/+41
| | | | | | unreachable blocks. llvm-svn: 53032
* Fixed problem in EmitStackConvert where the source and target typeMon P Wang2008-07-023-15/+23
| | | | | | | have different alignment by creating a stack slot with the max alignment of source and target type. llvm-svn: 53031
* instead of aborting on shifts of i1, just implicitly fold them.Chris Lattner2008-07-021-1/+7
| | | | | | The dag combiner can produce a shift of i1 when folding icmp i1's. llvm-svn: 53030
* Migrate CheckerConsumer diagnostics to the new AnalysisConsumer interface.Ted Kremenek2008-07-022-100/+42
| | | | | | Remove CheckerConsumer. llvm-svn: 53029
* Move logic for "-checker-simple" to the new AnalysisConsumer interface.Ted Kremenek2008-07-025-63/+33
| | | | llvm-svn: 53028
* add a description of what sema and parser mean, add C++ style casts.Chris Lattner2008-07-021-1/+14
| | | | llvm-svn: 53027
* Fix typo in test case.Ted Kremenek2008-07-021-1/+1
| | | | llvm-svn: 53024
* Add note that most of C++ is not supported.Argyrios Kyrtzidis2008-07-021-1/+2
| | | | llvm-svn: 53023
* Set CSS defaults for tables.Argyrios Kyrtzidis2008-07-021-20/+23
| | | | llvm-svn: 53022
* Drop 'C++' from the features; suggestion by Holger Schurig.Argyrios Kyrtzidis2008-07-021-5/+5
| | | | llvm-svn: 53020
* Update link to testing guide to use the new title.Matthijs Kooijman2008-07-021-2/+2
| | | | llvm-svn: 53018
* Fix the page title.Argyrios Kyrtzidis2008-07-021-1/+1
| | | | llvm-svn: 53017
* minor tweaks, escape < and >Gabor Greif2008-07-021-6/+6
| | | | llvm-svn: 53016
* add two popular c++ featuresGabor Greif2008-07-021-0/+16
| | | | llvm-svn: 53015
* add c++ status linkGabor Greif2008-07-021-2/+3
| | | | llvm-svn: 53014
* Add a C++ status report page.Argyrios Kyrtzidis2008-07-021-0/+65
| | | | llvm-svn: 53013
* Fix typo compounded by a cut-and-pasto.Duncan Sands2008-07-021-4/+4
| | | | llvm-svn: 53012
* Let AnalyzeNewNode take care of calling ExpungeNode.Duncan Sands2008-07-022-86/+79
| | | | | | | This makes sure that all new nodes are expunged, not just those the top node of a new subtree. llvm-svn: 53011
* - Use a faster priority comparison function if -fast.Evan Cheng2008-07-022-228/+304
| | | | | | - Code clean up. llvm-svn: 53010
* optimize StringMap::clearChris Lattner2008-07-021-6/+11
| | | | llvm-svn: 53009
* Add a new (simple) StringMap::clear method, patch by PratikChris Lattner2008-07-022-4/+7
| | | | | | Solanki! llvm-svn: 53008
* reuse vectors.Devang Patel2008-07-021-5/+9
| | | | llvm-svn: 53007
* Fix comment.Devang Patel2008-07-021-1/+1
| | | | llvm-svn: 53006
* Preserve loop data so that it is not fetched everytime it is needed.Devang Patel2008-07-021-69/+85
| | | | | | Keep track of currentLoop. llvm-svn: 53005
* Add DeclCXX.[h.cpp] to clangAST.vcprojTed Kremenek2008-07-021-0/+8
| | | | llvm-svn: 53004
* Use the canonical form for getting an empty structure.Bill Wendling2008-07-021-10/+5
| | | | llvm-svn: 53003
* Migrated driver logic for running the CF retain/release checker over to the ↵Ted Kremenek2008-07-025-68/+62
| | | | | | new AnalysisConsumer interface. llvm-svn: 53002
* Sorry. I couldn't sleep at night knowing I put these ugly casts into the ↵Bill Wendling2008-07-023-8/+8
| | | | | | source tree. llvm-svn: 53001
* Added AnalysisConsumer.[cpp,h] to clangDriver.vcproj.Ted Kremenek2008-07-022-0/+12
| | | | | | Added CXXFieldCollector.h to clangSema.vcproj. llvm-svn: 52999
* Implemented operator!= for the ImmutableList iterator.Ted Kremenek2008-07-021-1/+2
| | | | llvm-svn: 52998
* Updated Xcode project with new files in the Driver: AnalysisConsumer.[h,cpp]Ted Kremenek2008-07-021-0/+6
| | | | llvm-svn: 52997
* Added AnalysisConsumer, a meta-level ASTConsumer class to drive variousTed Kremenek2008-07-026-72/+310
| | | | | | | | | | | | | | | | | | analyses. This potentially is the primordial origins of a Clang-equivalent "PassManager". The new AnalysisConsumer interface allows multiple analyses to be run from a single invocation of Clang. Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the new AnalysisConsumer interface. The new interface results in a significant code reduction to incorporate an analysis into the Driver. Updated a test case to (correctly) acknowledge that it contains a dead store (this check wasn't being performed because it was previously masked by -warn-uninit-values). llvm-svn: 52996
* Add a version of AddString that takes a const char* so we can avoid extraneousOwen Anderson2008-07-012-0/+39
| | | | | | conversions to std::string. llvm-svn: 52995
* Darwin doesn't need exception handling information for the "move" info whenBill Wendling2008-07-015-3/+13
| | | | | | debug information is being output, because it's leet! llvm-svn: 52994
* Added reference count checker test case.Ted Kremenek2008-07-011-0/+86
| | | | llvm-svn: 52993
* Avoid creating expensive comment string if it's not going to be printed.Evan Cheng2008-07-014-25/+42
| | | | llvm-svn: 52992
* Updated latest checker build.Ted Kremenek2008-07-011-1/+1
| | | | llvm-svn: 52991
* No need to use std::distance. We can just count the number of operandsOwen Anderson2008-07-011-1/+4
| | | | | | much more cheaply. llvm-svn: 52990
* Added partial specialization of FoldingSetTrait for pointers.Ted Kremenek2008-07-011-0/+12
| | | | llvm-svn: 52989
OpenPOWER on IntegriCloud