summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Back out r70506 (exception spec in AST) again. We won't have exception specs ↵Sebastian Redl2009-05-068-106/+26
| | | | | | until we've had a lot more discussion. llvm-svn: 71125
* Use stable_sort instead of plain sort to avoid the risk of generatingDan Gohman2009-05-061-1/+1
| | | | | | | trivially different code on different hosts (due to differing std::sort implementations). llvm-svn: 71124
* Handle -march for the LLVM recognized cpu names.Daniel Dunbar2009-05-062-10/+45
| | | | | | | - x86 target feature handling should not be feature complete, even if the code quality is lacking. llvm-svn: 71123
* Refactor BugReporter interface to have a new 'BugReporterContext' andTed Kremenek2009-05-063-98/+157
| | | | | | | | | | | 'BugReporterVisitor'. This simplifies callbacks from BugReporter to BugReports (via VisitNode). It also lays the foundation for arbitrary visitor "call backs" that can be registered to a BugReporterContext as a PathDiagnostic is constructed. These call backs can help operate as separate "experts" that can work on constructed pieces of a PathDiagnostic for which they possess special knowledge. llvm-svn: 71121
* If stderr isn't a terminal, don't try to guess the terminal width orDaniel Dunbar2009-05-062-7/+4
| | | | | | look at COLUMNS. llvm-svn: 71120
* - Move some debug fields to coincide with how GCC emits them. No functionalityBill Wendling2009-05-061-24/+53
| | | | | | | change. - Reformatting. llvm-svn: 71118
* More x86 target feature support.Daniel Dunbar2009-05-065-18/+99
| | | | | | | | | | | | | | | | | | - Apologies for the extremely gross code duplication, I want to get this working and then decide how to get this information out of the back end. - This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc doesn't distinguish them? - -msse, etc. now properly disable/enable related features. - Don't always define __SSE3__... - The main missing functionality bit here is that we don't initialize the features based on the CPU for all -march options. llvm-svn: 71117
* CMake: Use pthread library when requested and available.Oscar Fuentes2009-05-061-0/+3
| | | | llvm-svn: 71116
* CMake: Updated lib/Target/PIC16/CMakeLists.txt.Oscar Fuentes2009-05-061-0/+1
| | | | llvm-svn: 71115
* Update checker build.Ted Kremenek2009-05-061-1/+1
| | | | llvm-svn: 71112
* Document environment variables we handle, and don't mention -pipe (itDaniel Dunbar2009-05-061-8/+30
| | | | | | isn't yet supported... lazy developers). llvm-svn: 71109
* Use X86AddrNumOperands instead of magic constant oneDale Johannesen2009-05-061-1/+2
| | | | | | | | | | more place. This fixes a bunch of x86-64 JIT regressions. (Introduced when the value of the magic constant changed in 68645. At the time apparently nobody noticed; failures were hidden in 70343-70439 by an unrelated bug, so showed up again as "new" failures in 70440.) llvm-svn: 71106
* Do not use register as base ptr of pre- and post- inc/dec load / store nodes.Evan Cheng2009-05-062-1/+15
| | | | llvm-svn: 71098
* Fix analyzer regression reported in PR 4164:Ted Kremenek2009-05-063-13/+95
| | | | | | | | | | - Update the old StoreManager::CastRegion to strip off 'ElementRegions' when casting to void* (Zhongxing: please validate) - Pass-by-reference argument invalidation logic in CFRefCount.cpp: - Strip ElementRegions when the ElementRegion is just a 'raw data' view on top of the underlying typed region. llvm-svn: 71094
* Unbreak the build.Evan Cheng2009-05-061-1/+1
| | | | llvm-svn: 71091
* Make sure to use signed arithmetic in APInt to fix a regression.David Greene2009-05-061-2/+3
| | | | llvm-svn: 71090
* Simplify code by using SmallVector's pop_back_val() instead ofDan Gohman2009-05-064-12/+6
| | | | | | separate back() and pop_back() calls. llvm-svn: 71089
* More content.Chris Lattner2009-05-061-23/+82
| | | | llvm-svn: 71088
* Add simplify_type specializations to allow WeakVH, AssertingVH, andDan Gohman2009-05-061-2/+37
| | | | | | | CallbackVH to participate in dyn_cast, isa, etc. without needing an explicit conversion. llvm-svn: 71087
* CMake: Updated lib/CodeGen/CMakeLists.txt.Oscar Fuentes2009-05-061-1/+1
| | | | llvm-svn: 71085
* CMake: Detects libpthread and sets HAVE_LIBPTHREAD.Oscar Fuentes2009-05-062-1/+5
| | | | llvm-svn: 71084
* CMake: Added cmakedefine for HAVE_PTHREAD_H.Oscar Fuentes2009-05-061-0/+3
| | | | | | Patch by Robert Schuster! llvm-svn: 71083
* Nounwind is not valid for function return values.Duncan Sands2009-05-061-1/+0
| | | | llvm-svn: 71082
* OCaml parameter attribute bindings from PR2752.Duncan Sands2009-05-066-2/+148
| | | | | | Incomplete, but better than nothing. llvm-svn: 71081
* Improve RegionStoreManager::getSizeInElements()Zhongxing Xu2009-05-062-3/+54
| | | | | | | | - add a static function getTypeWidth(), which computes the width of a type with the help of TargetInfo. - no-outofbounds.c now passes for region store. llvm-svn: 71080
* add getTargetInfo() method to ASTContext.Zhongxing Xu2009-05-061-0/+2
| | | | llvm-svn: 71079
* Add generic expansion of SUB when ADD and XORDuncan Sands2009-05-061-8/+12
| | | | | | are legal. Based on a patch by Micah Villmow. llvm-svn: 71078
* Fix PR3754: don't mark functions that wrap MallocInst withDuncan Sands2009-05-062-0/+12
| | | | | | | | the readnone. Since MallocInst is scheduled for deletion it doesn't seem worth doing anything more subtle, such as having mayWriteToMemory return true for MallocInst. llvm-svn: 71077
* Add a GDM for recording the cast type of regions.Zhongxing Xu2009-05-061-2/+25
| | | | llvm-svn: 71076
* The super region of ElementRegion no longer needs to be TypedRegion. In theZhongxing Xu2009-05-062-2/+2
| | | | | | future we would create ElementRegion directly on top of typeless regions. llvm-svn: 71075
* Implement a heuristic type size comparison method for now.Zhongxing Xu2009-05-062-4/+22
| | | | llvm-svn: 71074
* Emit banksel and movlp instructions.Sanjiv Gupta2009-05-0612-142/+586
| | | | | | | Split large global data (both initialized and un-initialized) into multiple sections of <= 80 bytes. Provide routines to manage PIC16 ABI naming conventions. llvm-svn: 71073
* Allow readonly functions to unwind exceptions. TeachDuncan Sands2009-05-0613-39/+53
| | | | | | | | the optimizers about this. For example, a readonly function with no uses cannot be removed unless it is also marked nounwind. llvm-svn: 71071
* adjust this to bourne shell syntaxChris Lattner2009-05-061-1/+1
| | | | llvm-svn: 71070
* Tweak x86 -mcpu defaults.Daniel Dunbar2009-05-063-1/+9
| | | | | | | | | - Default to yonah on Darwin (to get SSE3). - Default to Pentium4 (32-bit) and x86-64 (64-bit) on non-Darwin. Welcome to the 21st century. llvm-svn: 71069
* A better error message.Mikhail Glushenkov2009-05-061-2/+2
| | | | llvm-svn: 71068
* Add parsing of friend specifiers.Anders Carlsson2009-05-064-0/+29
| | | | llvm-svn: 71067
* Eliminate extra vertical space in Clang diagnosticsDouglas Gregor2009-05-062-22/+3
| | | | llvm-svn: 71066
* daniel is buggy :)Chris Lattner2009-05-061-1/+1
| | | | llvm-svn: 71065
* Fix rdar://6860124 - invalid input constraint 'J' in asmChris Lattner2009-05-061-1/+9
| | | | | | | This recognizes all the target-independent constant constraints that have target-specific meanings. llvm-svn: 71064
* Add missing include.Daniel Dunbar2009-05-061-0/+1
| | | | llvm-svn: 71063
* Cleanup some FIXMEs.Daniel Dunbar2009-05-061-13/+4
| | | | llvm-svn: 71062
* Improve handling of (X86) target features.Daniel Dunbar2009-05-0614-181/+217
| | | | | | | | | | | | | | | | | | | | | - This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
* remove commented code.Zhongxing Xu2009-05-061-8/+0
| | | | llvm-svn: 71060
* add some contentChris Lattner2009-05-061-24/+97
| | | | llvm-svn: 71059
* Make StoreManager::CastRegion() virtual and implement a new CastRegion() forZhongxing Xu2009-05-064-5/+84
| | | | | | | | | RegionStore. This CastRegion() performs casts according to the kind of the region being cast instead of the type that is cast to. llvm-svn: 71058
* Renamed Spiller classes (plus uses and related files) to VirtRegRewriter.Lang Hames2009-05-067-2245/+2207
| | | | llvm-svn: 71057
* Add --analyze-auto.Daniel Dunbar2009-05-063-2/+7
| | | | | | | | - Currently just an alias for --analyze, eventually we want to refit --analyze so that it is less automatic (i.e., does not force plist output and does not hard code the list of checks). llvm-svn: 71056
* Regenerate documentation.Mikhail Glushenkov2009-05-063-70/+72
| | | | llvm-svn: 71055
* The 'forward_as' property did not use its second argument.Mikhail Glushenkov2009-05-063-2/+20
| | | | | | See PR4159 for details. Patch by Martin Nowack! llvm-svn: 71054
OpenPOWER on IntegriCloud