summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename "loop aligner" pass to "code placement optimization" pass.Evan Cheng2009-05-074-15/+19
| | | | llvm-svn: 71150
* Eliminate compiler warnings.Evan Cheng2009-05-071-2/+2
| | | | llvm-svn: 71149
* Add support for LLLi -> int128 in builtins.defChris Lattner2009-05-071-21/+22
| | | | llvm-svn: 71148
* Add const modifiers.Jakob Stoklund Olesen2009-05-071-1/+1
| | | | llvm-svn: 71147
* Make this test portable to non-x86 hosts, patch by Mark Cianciosa!Chris Lattner2009-05-071-3/+3
| | | | llvm-svn: 71146
* Improve semantic checking for blocks. Radar 6441502Mike Stump2009-05-074-100/+138
| | | | llvm-svn: 71145
* THis doesn't fail.Bill Wendling2009-05-071-1/+0
| | | | llvm-svn: 71142
* Just turn aggressive stack coloring off at -O3.Bill Wendling2009-05-073-11/+24
| | | | llvm-svn: 71140
* Temporarily revert r71010. It was causing massive failures during self-hosting.Bill Wendling2009-05-075-23/+13
| | | | llvm-svn: 71138
* Add preliminary support for enhancing null-pointer dereference diagnostics.Ted Kremenek2009-05-073-62/+224
| | | | llvm-svn: 71135
* Bug fix: Not all ConstraintManagers always return a null state when settingTed Kremenek2009-05-071-3/+9
| | | | | | isFeasible to false. This is something we may wish to do further validation on. llvm-svn: 71134
* Make DwarfWriter::RecordInlinedFnStart more like the other DwarfWriter's ↵Argyrios Kyrtzidis2009-05-074-23/+24
| | | | | | | | | | | methods: -Have it return a label ID -Remove the unused Instruction parameter No functionality change. llvm-svn: 71132
* 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
OpenPOWER on IntegriCloud