summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't print "Command output (stdout):" when the command has no output,Dan Gohman2010-08-041-8/+10
| | | | | | and same for stderr, to avoid clutter in the output. llvm-svn: 110169
* Use the regular conditional operator syntax instead of a clever hack.Dan Gohman2010-08-041-4/+4
| | | | llvm-svn: 110168
* Remove PointerAccessInfo, which nothing was using.Dan Gohman2010-08-033-29/+10
| | | | llvm-svn: 110167
* Make the makefiles go much faster by using the realpathChris Lattner2010-08-031-7/+11
| | | | | | | | | | builtin instead of shell. On my 8 core mac pro, this speeds up a 'make -j8' null build of the lib directory from 1.11s to 0.77s wall time. Patch by NAKAMURA Takumi! llvm-svn: 110166
* Fix a warning on a test.John McCall2010-08-031-0/+1
| | | | llvm-svn: 110165
* fix a win64 encoding problem, patch by Cameron Esfahani!Chris Lattner2010-08-031-1/+1
| | | | llvm-svn: 110164
* Do a very simple pass over every function we emit to infer whether we canJohn McCall2010-08-033-5/+33
| | | | | | | mark it nounwind based on whether it contains any non-nounwind calls. <rdar://problem/8087431> llvm-svn: 110163
* add a hack for visual studio, fixing PR7796Chris Lattner2010-08-031-0/+1
| | | | llvm-svn: 110161
* Added README file for the test suite.Johnny Chen2010-08-031-0/+58
| | | | llvm-svn: 110160
* Incomplete promotion of selector info to per-file data.Sebastian Redl2010-08-034-70/+58
| | | | | | Store all selectors in the selector hash table instead of only those from the method pool. llvm-svn: 110158
* Thread const correctness through a bunch of AliasAnalysis interfaces andDan Gohman2010-08-0313-103/+133
| | | | | | | | | | | | eliminate several const_casts. Make CallSite implicitly convertible to ImmutableCallSite. Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool. llvm-svn: 110155
* Add support for VFP status & control operations for ARM.Nate Begeman2010-08-033-3/+28
| | | | llvm-svn: 110153
* Add support for getting & setting the FPSCR application register on ARM when ↵Nate Begeman2010-08-035-20/+53
| | | | | | | | | VFP is enabled. Add support for using the FPSCR in conjunction with the vcvtr instruction, for controlling fp to int rounding. Add support for the FLT_ROUNDS_ node now that the FPSCR is exposed. llvm-svn: 110152
* Improved false positive detection and numerous small issues in ↵Tom Care2010-08-031-77/+60
| | | | | | | | | | | | | UnreachableCodeChecker - Reporting now uses getUnreachableStmt which returns the Stmt* we should report - Indexing of reachable and visited blocks now use CFGBlock ID's instead of pointers - The CFG used in the unreachable search is now the unoptimized CFG - Added 'Dead code' category to warnings - Removed obsolete function getCondition - Simplified false positive detection based on properties of FindUnreachableEntryPoints llvm-svn: 110148
* Remove DoneEvaluating field (unused since r90296)Jordy Rose2010-08-031-1/+0
| | | | llvm-svn: 110141
* Makes GRState::makeWithStore private, to encourage clients to make store ↵Jordy Rose2010-08-037-34/+65
| | | | | | | | changes through GRState instead of directly accessing the StoreManager. Also adds cover methods for InvalidateRegion(s) and EnterStackFrame to GRState. This is in preparation for proposed region change notifications. No functionality change. llvm-svn: 110137
* The singular of "indices" is "index".Dan Gohman2010-08-031-3/+3
| | | | llvm-svn: 110135
* Delete an unused function.Dan Gohman2010-08-031-5/+0
| | | | llvm-svn: 110134
* When using a precompiled preamble, keep track of the top-levelDouglas Gregor2010-08-035-31/+113
| | | | | | | | | | declarations that we saw when creating the precompiled preamble, and provide those declarations in addition to the declarations parsed in the main source file when traversing top-level declarations. This makes the use of precompiled preambles a pure optimization, rather than changing the semantics of the parsed translation unit. llvm-svn: 110131
* Make instcombine set explicit alignments on load or storeDan Gohman2010-08-033-20/+45
| | | | | | | instructions with alignment 0, so that subsequent passes don't need to bother checking the TargetData ABI size manually. llvm-svn: 110128
* CMake: Change somme target library names:Oscar Fuentes2010-08-033-7/+7
| | | | | | | | | | | XCore->XCoreGen PIC16->PIC16CodeGen After updating your working copy, the first build will fail because it is using the old library dependencies. Start the build again and it will work fine. llvm-svn: 110127
* PR7795: Fix the definition of __WCHAR_MAX__ with -fshort-wchar.Eli Friedman2010-08-032-1/+8
| | | | llvm-svn: 110126
* Apart from storing/retrieving the previous redeclaration from PCH, also ↵Argyrios Kyrtzidis2010-08-0310-22/+181
| | | | | | | | | | | | store/retrieve the most recent redeclaration. That way we are sure that the full redeclarations chain is loaded. When using chained PCHs, first declarations point to the most recent redeclarations in the same PCH. To address this use a REDECLS_UPDATE_LATEST record block to keep track of which first declarations need to point to a most recent redeclaration in another PCH. llvm-svn: 110125
* Introduce getMostRecentDeclaration() and getFirstDeclaration() for ↵Argyrios Kyrtzidis2010-08-031-0/+26
| | | | | | RedeclarableTemplateDecl. llvm-svn: 110124
* Send AST dumping/printing to stdout instead of stderr.Argyrios Kyrtzidis2010-08-033-10/+10
| | | | llvm-svn: 110123
* Avoid writing a VTABLE_USES record in PCH if there are no entries.Argyrios Kyrtzidis2010-08-032-12/+16
| | | | llvm-svn: 110122
* CMake: add version control info to PACKAGE_VERSION, if available.Oscar Fuentes2010-08-032-8/+31
| | | | | | | Adds "svn" or "git", depending on the VCS used. If svn, adds the revision number as well. llvm-svn: 110121
* Make AliasAnalysis::getModRefInfo conservative in the face of volatility.Dan Gohman2010-08-031-3/+20
| | | | llvm-svn: 110120
* Oops. Don't normalize spill weights twice.Jakob Stoklund Olesen2010-08-031-1/+0
| | | | | | | | | When the normalizeSpillWeights function was introduced, I forgot to remove this normalization. This change could affect register allocation. Hopefully for the better. llvm-svn: 110119
* OK, that's it. This test is going away now. But don't worry, I am taking it to aJakob Stoklund Olesen2010-08-031-361/+0
| | | | | | | | | | nice farm in the country where it can play with other tests. And bunnies. It is not clear what is being tested, and the revision history shows a bunch of random changes to the expected instruction count. Clearly, we are just fudging it to pass whenever it fails. llvm-svn: 110118
* avoid undefined behavior negating minint.Chris Lattner2010-08-031-2/+2
| | | | llvm-svn: 110117
* fix some undefined behavior, PR7779.Chris Lattner2010-08-031-3/+4
| | | | llvm-svn: 110116
* Fix a typo Devang noticed.Dan Gohman2010-08-031-1/+1
| | | | llvm-svn: 110115
* avoid undef behavior on minint, fixing PR7783.Chris Lattner2010-08-031-2/+3
| | | | llvm-svn: 110114
* Add an atomic lowering passPeter Collingbourne2010-08-039-0/+266
| | | | llvm-svn: 110113
* Use unary + instead of a separate local variable for workingDan Gohman2010-08-031-2/+1
| | | | | | around std::min vs static const friction. llvm-svn: 110112
* Driver: Don't forward any -g options to GCC, when using it to drive theDaniel Dunbar2010-08-031-0/+5
| | | | | | | assembler. - Fixes PR6218, hopefully. llvm-svn: 110111
* Bump cmake_minimum_required to version 2.8Oscar Fuentes2010-08-031-1/+1
| | | | llvm-svn: 110110
* build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar2010-08-036-10/+17
| | | | | | appended. llvm-svn: 110109
* Reshuffle the PCH generator action and consumer, so that we can re-useDouglas Gregor2010-08-036-49/+111
| | | | | | it while generating precompiled preambles. No functionality change. llvm-svn: 110108
* Emit weak vtables of non-template classes with hidden visibility.John McCall2010-08-035-7/+33
| | | | llvm-svn: 110107
* Allow offsets to be negative. Out-of-bound cases are checked elsewhere. We Zhongxing Xu2010-08-033-9/+8
| | | | | | shouldn't put restrictions in store manager. llvm-svn: 110106
* Remove the test/mc directory that I accidently added.Michael J. Spencer2010-08-030-0/+0
| | | | | | This directory conflicts with test/MC on Windows machines. llvm-svn: 110105
* MC: Fix symbol fragment offsets in COFF.Michael J. Spencer2010-08-032-1/+184
| | | | | | Patch by Cameron Esfahani! llvm-svn: 110104
* Revert "MC: Fix symbol fragment offsets in COFF."Michael J. Spencer2010-08-032-184/+1
| | | | | | | | This reverts commit r110100 Wrong path caps. llvm-svn: 110103
* Pull the region offset computation logic into a single method.Zhongxing Xu2010-08-033-95/+79
| | | | llvm-svn: 110102
* MC: Add time travel support to COFF.Michael J. Spencer2010-08-031-0/+4
| | | | llvm-svn: 110101
* MC: Fix symbol fragment offsets in COFF.Michael J. Spencer2010-08-032-1/+184
| | | | | | Patch by Cameron Esfahani! llvm-svn: 110100
* Fix CMake buildMichael J. Spencer2010-08-031-0/+1
| | | | llvm-svn: 110097
* Support x86 AVX 256-bit instructions built-ins. Right now support all of ↵Bruno Cardoso Lopes2010-08-032-2/+213
| | | | | | | | | | them, but as soon as we properly codegen the simple vector operations, remove the unnecessary built-ins/intrinsics from clang and llvm. Also add tests for the new built-ins llvm-svn: 110096
OpenPOWER on IntegriCloud