summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to fix the MSVC build.Anders Carlsson2009-12-031-4/+4
| | | | llvm-svn: 90427
* clang-cc: Move to CompilerInvocation based command line parsing.Daniel Dunbar2009-12-034-1437/+3
| | | | llvm-svn: 90426
* Fix layering violation by moving Analysis/CallGraph to IndexDaniel Dunbar2009-12-033-3/+3
| | | | llvm-svn: 90424
* Don't pull vector sext through both hands of a logical operation, since ↵Nate Begeman2009-12-032-2/+37
| | | | | | | | | doing so prevents the fusion of vector sext and setcc into vsetcc. Add a testcase for the above transformation. Fix a bogus use of APInt noticed while tracking this down. llvm-svn: 90423
* clang-cc: Honor -help and -version when using new style option parsing.Daniel Dunbar2009-12-034-0/+32
| | | | llvm-svn: 90422
* CC1Options: Normalize meta var spellings, and fix a few help texts.Daniel Dunbar2009-12-031-27/+27
| | | | llvm-svn: 90421
* Add OptTable::PrintHelp.Daniel Dunbar2009-12-033-0/+89
| | | | llvm-svn: 90420
* fix a build problem with VC++, PR5664, patch by Alp Toker!Chris Lattner2009-12-031-2/+4
| | | | llvm-svn: 90419
* Recognize canonical forms of vector shuffles where the same vector is used forBob Wilson2009-12-032-1/+106
| | | | | | | | both source operands. In the canonical form, the 2nd operand is changed to an undef and the shuffle mask is adjusted to only reference elements from the 1st operand. Radar 7434842. llvm-svn: 90417
* Update test and CIndex to use -FOO BAR form for ↵Daniel Dunbar2009-12-032-6/+8
| | | | | | -{remap-file,code-completion-at}. llvm-svn: 90416
* Don't call getValueType() on a null SDValueJakob Stoklund Olesen2009-12-031-1/+2
| | | | llvm-svn: 90415
* Add clang -cc1 support for -remap-file.Daniel Dunbar2009-12-033-2/+26
| | | | llvm-svn: 90414
* Add clang -cc1 -load option.Daniel Dunbar2009-12-035-1/+24
| | | | llvm-svn: 90413
* Fix thunk generation for thunks with a parameter with reference type.Eli Friedman2009-12-032-1/+9
| | | | llvm-svn: 90412
* Minor cleanup.Eli Friedman2009-12-033-12/+7
| | | | llvm-svn: 90411
* Honor using declarations in overload resolution. Most of the code forJohn McCall2009-12-035-68/+171
| | | | | | | | | | | overloaded-operator resolution is wildly untested, but the parallel code for methods seems to satisfy some trivial tests. Also change some overload-resolution APIs to take a type instead of an expression, which lets us avoid creating a spurious CXXThisExpr when resolving implicit member accesses. llvm-svn: 90410
* Add support for thunking dtors. Oh why does this make my head hurt?Mike Stump2009-12-034-15/+27
| | | | llvm-svn: 90409
* Fix this crasher, and add a FIXME for a missed optimization.Owen Anderson2009-12-032-1/+10
| | | | llvm-svn: 90408
* Reflow.Mike Stump2009-12-031-1/+3
| | | | llvm-svn: 90407
* Revert r90402 for now, virt.cpp is failing.Anders Carlsson2009-12-031-11/+9
| | | | llvm-svn: 90406
* Add batch version of 'StoreManager::InvalidateRegion()' for invalidating ↵Ted Kremenek2009-12-034-28/+70
| | | | | | multiple regions as once. After adopting this in the CFRefCount::EvalCall(), we see a reduction in analysis time of 1.5% when analyzing all of SQLite3. llvm-svn: 90405
* Use Eli's ComputeThunkAdjustment for calculating the return adjustment.Anders Carlsson2009-12-031-9/+11
| | | | llvm-svn: 90402
* Add CodeGenModule::ComputeThunkAdjustment, which Eli wrote.Anders Carlsson2009-12-032-1/+42
| | | | llvm-svn: 90401
* Remove the index from the Thunk struct.Anders Carlsson2009-12-031-14/+10
| | | | llvm-svn: 90400
* Change the Thunks map to use the vtable index as the key.Anders Carlsson2009-12-031-7/+9
| | | | llvm-svn: 90399
* Add the global decl to the Thunk struct.Anders Carlsson2009-12-031-5/+7
| | | | llvm-svn: 90398
* Remove unused struct fields.Anders Carlsson2009-12-031-7/+2
| | | | llvm-svn: 90397
* Delay computing the return adjustments for covariant thunks until when they ↵Anders Carlsson2009-12-031-98/+113
| | | | | | are added to the vtable. llvm-svn: 90396
* Fill out codegen SSA updater. It's not yet tested.Evan Cheng2009-12-034-15/+270
| | | | llvm-svn: 90395
* No need to create the covariant thunk in both places now.Anders Carlsson2009-12-031-12/+5
| | | | llvm-svn: 90394
* Whoops, forgot to save :)Anders Carlsson2009-12-031-2/+4
| | | | llvm-svn: 90393
* Remove the index field from the CovariantThunk structure.Anders Carlsson2009-12-031-14/+6
| | | | llvm-svn: 90392
* Change the CovariantThunk map to use the vtable index as its key.Anders Carlsson2009-12-031-9/+9
| | | | llvm-svn: 90391
* Fix typo.Ted Kremenek2009-12-031-1/+1
| | | | llvm-svn: 90390
* Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of ↵Ted Kremenek2009-12-031-6/+10
| | | | | | contents. llvm-svn: 90389
* Add section on what language features __has_feature() supports for querying ↵Ted Kremenek2009-12-031-0/+18
| | | | | | if they are enabled. llvm-svn: 90388
* Store a GlobalDecl in the return adjustment.Anders Carlsson2009-12-031-4/+7
| | | | llvm-svn: 90387
* Do not include the 'this' pointer adjustment in the covariant return type. ↵Anders Carlsson2009-12-031-26/+39
| | | | | | Instead, store it in the (now oddly named) Thunks map. llvm-svn: 90386
* Switch clang_createTranslationUnitFromSourceFile to use ↵Daniel Dunbar2009-12-034-20/+87
| | | | | | | | | | | | | | | | | | | ASTUnit::LoadFromCommandLine. - This is much faster, as it avoids the overhead of dumping an AST file to disk and reloading it. - For debugging purposes, there is a clang_setUseExternalASTGeneration hook which can be used to disable this. On the Sketch Cocoa app, the speedup is pretty nice, especially when using a PCH file while scanning the source: Wall time to c-index-test all files (no PCH): Old: 23.4221 New: 12.3884 Wall time to c-index-test all files (with a PCH, and "local" mode): Old: 10.9233 New: 1.9038 llvm-svn: 90385
* Revert r90371. It was causing build failures.Bill Wendling2009-12-031-23/+42
| | | | llvm-svn: 90383
* Move VtableBuilder::OverrideMethod out of line in preparation of other ↵Anders Carlsson2009-12-031-112/+117
| | | | | | changes to it. No functionality change. llvm-svn: 90382
* Don't hang on to pointers or references after vector::push_back.Jakob Stoklund Olesen2009-12-031-6/+3
| | | | | | | The MO reference to a MachineOperand can be invalidated by MachineInstr::addOperand. Don't even use it for debugging. llvm-svn: 90381
* add a failing testcase.Chris Lattner2009-12-031-0/+44
| | | | llvm-svn: 90380
* Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵Daniel Dunbar2009-12-037-83/+53
| | | | | | propogate and simplify. llvm-svn: 90379
* Add 'has_feature(cxx_exceptions)' to allow code to determine via ↵Ted Kremenek2009-12-032-0/+14
| | | | | | preprocessor logic if C++ exceptions are enabled. llvm-svn: 90378
* Remove untrue statement.Mike Stump2009-12-031-3/+0
| | | | llvm-svn: 90377
* Rename has_feature(rtti) to has_feature(cxx_rtti) for clarity.Ted Kremenek2009-12-032-4/+4
| | | | llvm-svn: 90376
* Emit method definition DIE at module level (even for methods with inlined ↵Devang Patel2009-12-032-28/+90
| | | | | | functino body at soure level) so that the debugger can invoke it. This fixes many test failures in gdb test suite. llvm-svn: 90375
* Note a failure I saw from the g++ testsuite:Mike Stump2009-12-031-0/+1
| | | | | | FAIL: g++.old-deja/g++.mike/eh23.C (test for excess errors) llvm-svn: 90374
* Add FileCheck test for '__has_feature(rtti)'.Ted Kremenek2009-12-031-0/+11
| | | | llvm-svn: 90373
OpenPOWER on IntegriCloud