summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Test some more.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109431
* Fix library build messages.Dan Gohman2010-07-261-2/+2
| | | | llvm-svn: 109430
* Add svn:ignore.Dan Gohman2010-07-260-0/+0
| | | | llvm-svn: 109429
* Hoist argument type checking into CheckFormatHandler. This is prep for ↵Ted Kremenek2010-07-264-44/+90
| | | | | | | | scanf format string argument type checking. llvm-svn: 109428
* Consolidate #args checking for scanf/printf format strings.Ted Kremenek2010-07-261-30/+31
| | | | llvm-svn: 109427
* Revert 109303.Devang Patel2010-07-262-40/+14
| | | | llvm-svn: 109426
* re-commit r109220, the compile error has already been fixedGabor Greif2010-07-262-24/+5
| | | | | | | | | | | | | | | Simplifying use_iterators by dereferencing is not a good idea. The codebase does not depend in this any more, and it may introduce hidden runtime cost. If you get compile errors, please dereference your iterator before passing to cast<> (and friends). Also: please consider caching the result of operator* and reusing that instead of dereferencing many times. llvm-svn: 109425
* Add an initial implementation of LazyValueInfo updating for JumpThreading. ↵Owen Anderson2010-07-263-4/+96
| | | | | | Disabled for now. llvm-svn: 109424
* Currently EH lowering code expects typeinfo to be global only.Anton Korobeynikov2010-07-262-2/+106
| | | | | | | | This assumption is not satisfied due to global mergeing. Workaround the issue by temporary disablinge mergeing of const globals. Also, ignore LLVM "special" globals. This fixes PR7716 llvm-svn: 109423
* Fix a test with malformed IR. Not sure why this didn't fail before.Owen Anderson2010-07-261-0/+3
| | | | llvm-svn: 109422
* ARM fastisel isn't ready.Evan Cheng2010-07-261-1/+2
| | | | llvm-svn: 109421
* One more test commit... Owen Anderson2010-07-261-2/+1
| | | | llvm-svn: 109420
* Fix SCEVExpander::visitAddRecExpr so that it remembers the induction variableDan Gohman2010-07-262-24/+57
| | | | | | | | it inserted rather than using LoopInfo::getCanonicalInductionVariable to rediscover it, since that doesn't work on non-canonical loops. This fixes infinite recurrsion on such loops; PR7562. llvm-svn: 109419
* Fix error in rep_clz on non-LP64 targets. Patch by Christoph GerumStephen Canon2010-07-261-2/+2
| | | | llvm-svn: 109416
* Handle Values with no value in getCopyFromRegs.Dan Gohman2010-07-261-0/+4
| | | | llvm-svn: 109415
* Hopefully the last test commit.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109414
* Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogusDan Gohman2010-07-265-19/+15
| | | | | | | | | | | | | | dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets scheduled at the right time. Declare that loop unrolling preserves ScalarEvolution, and shuffle some getAnalysisUsages. This eliminates one LoopSimplify and one LCCSA run in the standard compile opts sequence. llvm-svn: 109413
* Preserve ScalarEvolution in the loop unroller.Dan Gohman2010-07-261-0/+6
| | | | llvm-svn: 109412
* Another test commit.Owen Anderson2010-07-261-1/+0
| | | | llvm-svn: 109411
* Avoid depending on LCSSA implicitly pulling in LoopSimplify.Dan Gohman2010-07-261-2/+2
| | | | llvm-svn: 109410
* Test commit for new post-commit hooks.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109409
* Fix (at least) quadratic worst-case complexity in DominanceFrontier::splitBlock:Dan Gohman2010-07-261-52/+64
| | | | | | | | | | | | | | don't visit all blocks in the function, and don't iterate over the split blocks' predecessor lists for each block visited. Also, remove the special-case test for the entry block. Splitting the entry block isn't common enough to make this worthwhile. This fixes a major compile-time bottleneck which is exposed now that LoopSimplify isn't being redundantly run both before and after DominanceFrontier. llvm-svn: 109408
* 80-col.Eric Christopher2010-07-261-2/+4
| | | | llvm-svn: 109407
* Make sure that implicit qualification and derived-to-base conversions of ↵Sebastian Redl2010-07-261-4/+8
| | | | | | xvalues preserve xvalue-ness. Unfortunately I have no idea how to test this property; there doesn't seem to be a syntactical construct that triggers such a conversion and still allows the distinction between prvalues and xvalues to be made. llvm-svn: 109406
* Avoid copying and recopying a std::set.Dan Gohman2010-07-261-6/+2
| | | | llvm-svn: 109405
* Exit a search loop when the search goal is found.Dan Gohman2010-07-261-1/+3
| | | | llvm-svn: 109404
* Fix formatting.Dan Gohman2010-07-261-2/+2
| | | | llvm-svn: 109403
* A block dominates itself, by definition.Dan Gohman2010-07-261-1/+1
| | | | llvm-svn: 109402
* Use DominatorTree::properlyDominates instead of dominates with anDan Gohman2010-07-261-1/+1
| | | | | | explicit inequality check. llvm-svn: 109401
* A block dominates itself, by definition.Dan Gohman2010-07-261-1/+1
| | | | llvm-svn: 109400
* Use DominatorTree::properlyDominates instead of dominates with anDan Gohman2010-07-261-1/+1
| | | | | | explicit inequality check. llvm-svn: 109398
* Add source location information to C++ base specifiers.Nick Lewycky2010-07-2613-54/+66
| | | | llvm-svn: 109396
* When LIBCLANG_CODE_COMPLETION_LOGGING is set in the environment, log ↵Douglas Gregor2010-07-262-0/+18
| | | | | | code-completion command lines to stderr llvm-svn: 109395
* Add an svn:ignore.Dan Gohman2010-07-260-0/+0
| | | | llvm-svn: 109394
* Pacify gcc-4.5 which wrongly thinks that RExcess (passed as the Excess ↵Duncan Sands2010-07-261-1/+2
| | | | | | | | parameter) may be used uninitialized in the callers of HighRegPressure. llvm-svn: 109393
* Eliminate the "minimal" and printing parser actions, which only everDouglas Gregor2010-07-2627-1326/+158
| | | | | | | worked for C anyway. Also kills the -cc1 options -parse-noop and -parse-print-callbacks. llvm-svn: 109392
* Fix format-specifier warningDouglas Gregor2010-07-261-1/+1
| | | | llvm-svn: 109391
* MC: Fix whitespace error from last commit.Michael J. Spencer2010-07-261-1/+1
| | | | | | A Visual C++ extension that removes trailing new lines? Seriously? llvm-svn: 109390
* MC: Add WinCOFFObjectWriter implementation.Michael J. Spencer2010-07-262-15/+727
| | | | | | Origonal Windows COFF implementation by Nathan Jedffords. llvm-svn: 109389
* Factored out a bit of common code to mark VNInfos for deletion.Lang Hames2010-07-262-40/+23
| | | | llvm-svn: 109388
* Clone and restore the module being reduced inRafael Espindola2010-07-261-6/+27
| | | | | | | | | | | ReduceMiscompilingFunctions::TestFuncs. This makes the test functional (i.e., no side effects). Before we would end up using dead functions if a pass decided to remove them (inline for example) and we would also keep broken functions and conclude that that a single function was enough to reproduce the bug. llvm-svn: 109387
* Reduce string trashing.Benjamin Kramer2010-07-251-1/+1
| | | | llvm-svn: 109386
* Don't pass -export-dynamic to the linker on Cygwin and MinGW. These platformsNick Lewycky2010-07-251-1/+1
| | | | | | | accept the flag and do nothing but warn about it, cleverly bypassing our configure-based detection system. Patch by Takumi Nakamura! llvm-svn: 109385
* Wrap bit mangling logic for DiagMappings in its own class so it doesn't leakBenjamin Kramer2010-07-252-12/+21
| | | | | | into other code. Make it an array instead of a constant-length vector. llvm-svn: 109384
* Add comments.Evan Cheng2010-07-251-4/+16
| | | | llvm-svn: 109383
* Remove a bunch of trivial destructorsDouglas Gregor2010-07-253-15/+0
| | | | llvm-svn: 109382
* Move Type destructor out-of-lineDouglas Gregor2010-07-252-1/+3
| | | | llvm-svn: 109381
* Remove destructors from declaration nodesDouglas Gregor2010-07-258-70/+1
| | | | llvm-svn: 109380
* I lied. Kill off a few more Destroy methodsDouglas Gregor2010-07-254-36/+4
| | | | llvm-svn: 109379
* Kill off the last Destroy method in the AST libraryDouglas Gregor2010-07-253-13/+0
| | | | llvm-svn: 109378
OpenPOWER on IntegriCloud