summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix this test on 64-bit systems which seem to use i64 for gep indices sometimesNick Lewycky2009-11-301-3/+3
| | | | | | while 32-bit gcc uses i32. llvm-svn: 90106
* Minor cleanup (no functionality change).Eli Friedman2009-11-301-23/+12
| | | | llvm-svn: 90105
* Commit r90099 made LLVM simplify one of these constant expressions a littleNick Lewycky2009-11-301-6/+5
| | | | | | | | | more. Update the syntax we're checking for and filecheckize it too. This will fix the selfhost buildbots but will 'break' the others (sigh) because they're still linked against older LLVM which is emitting less optimized IR. llvm-svn: 90104
* clang -cc1: Use proper diagnostics for all parsing errors.Daniel Dunbar2009-11-292-64/+68
| | | | llvm-svn: 90100
* Teach ConstantFolding to do a better job when folding gep(bitcast).Nick Lewycky2009-11-292-1/+2
| | | | | | This permits the devirtualization of llvm.org/PR3100#c9 when compiled by clang. llvm-svn: 90099
* Don't pass false (default) for isVolatile parameter to CreateLoad.Daniel Dunbar2009-11-295-20/+22
| | | | llvm-svn: 90098
* Revert r90089 for now, it's breaking selfhost.Benjamin Kramer2009-11-291-3/+5
| | | | llvm-svn: 90097
* revert this patch for now, it causes failures of:Chris Lattner2009-11-291-12/+2
| | | | | | | LLVM::Transforms/GVN/2009-02-17-LoadPRECrash.ll LLVM::Transforms/GVN/2009-06-17-InvalidPRE.ll llvm-svn: 90096
* Explicitly use setVolatile instead of extra IRBuilder argument.Daniel Dunbar2009-11-291-1/+3
| | | | llvm-svn: 90095
* Don't pass false (default) for isVolatile parameter to CreateStore.Daniel Dunbar2009-11-291-8/+8
| | | | llvm-svn: 90094
* Fix a really nasty caching bug I introduced in memdep. An entryChris Lattner2009-11-291-2/+12
| | | | | | | | | | | | was being added to the Result vector, but not being put in the cache. This means that if the cache was reused wholesale for a later query that it would be missing this entry and we'd do an incorrect load elimination. Unfortunately, it's not really possible to write a useful testcase for this, but this unbreaks 255.vortex. llvm-svn: 90093
* Change CompilerInvocation::CreateFromArgs to report errors using a proper ↵Daniel Dunbar2009-11-293-6/+19
| | | | | | | | diagnostic engine. - Clients that care about having the diagnostics output honor the user-controllable diagnostic options can buffer the diagnostics and issue them later. llvm-svn: 90092
* Simplify.Daniel Dunbar2009-11-291-6/+5
| | | | llvm-svn: 90091
* Change CompilerInvocation::CreateFromArgs to take Argv0 and the address of ↵Daniel Dunbar2009-11-294-11/+46
| | | | | | main (or something in the main executable) so it can find the builtin compiler files. llvm-svn: 90090
* Fix two FIXMEs.Benjamin Kramer2009-11-291-5/+3
| | | | llvm-svn: 90089
* Remove useless c_str() calls in SemaCodeComplete.Benjamin Kramer2009-11-291-17/+17
| | | | llvm-svn: 90088
* Simplify code. No functionality change.Benjamin Kramer2009-11-291-22/+6
| | | | llvm-svn: 90087
* Port BugReporter and BugType to StringRef.Benjamin Kramer2009-11-2910-34/+32
| | | | llvm-svn: 90086
* Detabify.Nick Lewycky2009-11-291-1/+1
| | | | llvm-svn: 90085
* Kill some unnecessary calls to c_str().Benjamin Kramer2009-11-293-5/+4
| | | | llvm-svn: 90084
* Remove dead returns.Benjamin Kramer2009-11-291-2/+0
| | | | llvm-svn: 90083
* This patch ensures that Path::GetMainExecutable is able to handle theKovarththanan Rajaratnam2009-11-291-2/+6
| | | | | | | | | case where realpath() fails. When this occurs we segfault trying to create a std::string from a NULL pointer. Fixes PR5635. llvm-svn: 90082
* Kill off clang/win32 which contains the hand generated Visual Studio project ↵Kovarththanan Rajaratnam2009-11-2910-2665/+0
| | | | | | files. These files are severely out of date and have been superseded by the CMake build system. RIP. llvm-svn: 90081
* remove stall commentNuno Lopes2009-11-291-2/+1
| | | | llvm-svn: 90080
* Streamline Stmt::CollectingStats() and Decl::CollectingStats(). No ↵Kovarththanan Rajaratnam2009-11-293-5/+4
| | | | | | functionality change. llvm-svn: 90078
* Don't call Decl::CollectingStats(false) and Stmt::CollectingStats(false). ↵Kovarththanan Rajaratnam2009-11-291-3/+0
| | | | | | When called with false these functions return whether statistics are enabled. They don't change any state. Since we're not using the return value avoid calling them in the first place. llvm-svn: 90077
* Remove empty test directory. lit was moved to llvm/utils/lit in r82524Kovarththanan Rajaratnam2009-11-290-0/+0
| | | | llvm-svn: 90074
* This patch moves the frontend timer from clang-cc into CompilerInstance.Kovarththanan Rajaratnam2009-11-295-29/+30
| | | | | | | | | | | CompilerInstance already contains various objects that are used throughout the entire run. Also addresses Daniels review comments in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html llvm-svn: 90073
* Use '-FOO' 'BAR' instead of '-FOO=BAR' for FOO in -stack-protector, ↵Daniel Dunbar2009-11-295-9/+9
| | | | | | -fvisibility, and -fconstant-string-class. llvm-svn: 90072
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-2945-73/+73
| | | | llvm-svn: 90071
* Remove unnecessary -fblocks=0.Daniel Dunbar2009-11-292-2/+2
| | | | llvm-svn: 90070
* Use '-x' 'foo' instead of '-x=foo'.Daniel Dunbar2009-11-297-15/+15
| | | | llvm-svn: 90069
* clang -cc1: Allow -triple= as an alias for -triple, -code-compiletion-at= as ↵Daniel Dunbar2009-11-291-1/+4
| | | | | | an alias for -code-completion-at, and spell "-std=" option correctly. llvm-svn: 90068
* Use '-o' '-' instead of '-o=-' in tests.Daniel Dunbar2009-11-2925-25/+25
| | | | llvm-svn: 90067
* Remove unnecessary -fms-extensions=0 from tests (this command line syntax is ↵Daniel Dunbar2009-11-298-9/+9
| | | | | | going away). llvm-svn: 90066
* Fix FileCheck crash when fuzzy scanning starting at the end of the file.Daniel Dunbar2009-11-291-1/+1
| | | | llvm-svn: 90065
* Add DeclarationName support for C++0x operator literals. They should now work asAlexis Hunt2009-11-2913-14/+95
| | | | | | | function names outside of templates - they'll probably cause some damage there as they're largely untested. llvm-svn: 90064
* Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵Daniel Dunbar2009-11-298-39/+187
| | | | | | we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine. llvm-svn: 90063
* Update checker build.Ted Kremenek2009-11-291-1/+1
| | | | llvm-svn: 90062
* Fix null dereference in UndefResultChecker identified by running the ↵Ted Kremenek2009-11-291-2/+3
| | | | | | analyzer over Postgresql. llvm-svn: 90060
* Add clang -cc1 parsing for LangOptions.Daniel Dunbar2009-11-293-16/+171
| | | | | | - This is the last major parsing piece, main FIXMEs remain. llvm-svn: 90059
* clang-cc: Tweak LangOptions parsing to make it a bit more obvious what ↵Daniel Dunbar2009-11-291-15/+15
| | | | | | depends on what. llvm-svn: 90058
* Fix 80-cols violationsAlexis Hunt2009-11-291-3/+3
| | | | llvm-svn: 90057
* add testcases for the foo_with_overflow op xforms added recently andChris Lattner2009-11-292-15/+85
| | | | | | fix bugs exposed by the tests. Testcases from Alastair Lynn! llvm-svn: 90056
* mark all the 'foo with overflow' intrinsics as readnone.Chris Lattner2009-11-291-6/+12
| | | | llvm-svn: 90055
* clang-cc: Change -fsigned-char=0 to -fno-unsigned-char and pass -pic-level ↵Daniel Dunbar2009-11-294-18/+15
| | | | | | using separate args. llvm-svn: 90054
* Add missing accessors.Daniel Dunbar2009-11-291-0/+6
| | | | llvm-svn: 90053
* Change LangOptions::ObjCConstantStringClass to an std::string to avoid ↵Daniel Dunbar2009-11-293-17/+18
| | | | | | worrying about the lifetime. llvm-svn: 90052
* Move MainFileName option variable into CodeGenOptions instead of LangOptions.Daniel Dunbar2009-11-296-41/+38
| | | | llvm-svn: 90051
* update and consolidate the load pre notes.Chris Lattner2009-11-291-43/+42
| | | | llvm-svn: 90050
OpenPOWER on IntegriCloud