Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only test test/CodeGenObjC/synchronized.m as a i686-apple-darwin8 target | Douglas Gregor | 2008-11-17 | 1 | -1/+2 |
| | | | | llvm-svn: 59463 | ||||
* | Updated IdentifierResolver to deal with DeclarationNames. The names of | Douglas Gregor | 2008-11-17 | 16 | -70/+223 |
| | | | | | | | | | | | | | | | | | | | | | C++ constructors, destructors, and conversion functions now have a FETokenInfo field that IdentifierResolver can access, so that these special names are handled just like ordinary identifiers. A few other Sema routines now use DeclarationNames instead of IdentifierInfo*'s. To validate this design, this code also implements parsing and semantic analysis for id-expressions that name conversion functions, e.g., return operator bool(); The new parser action ActOnConversionFunctionExpr takes the result of parsing "operator type-id" and turning it into an expression, using the IdentifierResolver with the DeclarationName of the conversion function. ActOnDeclarator pushes those conversion function names into scope so that the IdentifierResolver can find them, of course. llvm-svn: 59462 | ||||
* | Don't bother doing latency calculations in the "fast" scheduler. | Dan Gohman | 2008-11-17 | 1 | -15/+5 |
| | | | | llvm-svn: 59461 | ||||
* | Implement rdar://6319320: give a good diagnostic for cases where people | Chris Lattner | 2008-11-17 | 6 | -2/+22 |
| | | | | | | | are trying to use the old GCC "casts as lvalue" extension. We don't and will hopefully never support this. llvm-svn: 59460 | ||||
* | Fix <rdar://problem/6316324> [sema] spurious warning on comparison of ↵ | Steve Naroff | 2008-11-17 | 2 | -2/+10 |
| | | | | | | qualified id. llvm-svn: 59459 | ||||
* | Use SUnit's CycleBound field instead of duplicating it in | Dan Gohman | 2008-11-17 | 1 | -8/+9 |
| | | | | | | a side-car datastructure llvm-svn: 59458 | ||||
* | Updated checker build. | Ted Kremenek | 2008-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 59457 | ||||
* | Remove these, which test for optimizations that | Dale Johannesen | 2008-11-17 | 2 | -45/+0 |
| | | | | | | are not currently done (cf PowerPC/README.txt). llvm-svn: 59456 | ||||
* | Move some former testcases (low-probability codegen | Dale Johannesen | 2008-11-17 | 1 | -0/+45 |
| | | | | | | optimizations) into this wishlist. llvm-svn: 59455 | ||||
* | Let AnalyzeAlloca() remove debug intrinsics. | Devang Patel | 2008-11-17 | 1 | -20/+11 |
| | | | | llvm-svn: 59454 | ||||
* | Test case for objective-c's @synchronized statement. | Fariborz Jahanian | 2008-11-17 | 1 | -0/+11 |
| | | | | llvm-svn: 59451 | ||||
* | Don't produce ADDC/ADDE when expanding SHL unless they are legal | Richard Osborne | 2008-11-17 | 2 | -1/+8 |
| | | | | | | for the target. This fixes PR3080. llvm-svn: 59450 | ||||
* | Support dependencies between plugins by priority-sorting. | Mikhail Glushenkov | 2008-11-17 | 4 | -5/+38 |
| | | | | llvm-svn: 59449 | ||||
* | Filter ToolPropertiesList to exclude all Tools not mentioned in the ↵ | Mikhail Glushenkov | 2008-11-17 | 1 | -49/+78 |
| | | | | | | compilation graph. llvm-svn: 59448 | ||||
* | Add a layer of indirection to make plugins more flexible. | Mikhail Glushenkov | 2008-11-17 | 7 | -109/+111 |
| | | | | | | | Use strings instead of TableGen defs in the compilation graph definition. Makes it easier for the plugins to modify an existing graph. llvm-svn: 59447 | ||||
* | Add TODO item for adding more source-range information to declarators | Douglas Gregor | 2008-11-17 | 1 | -0/+21 |
| | | | | llvm-svn: 59446 | ||||
* | Don't use the isPending flag to mean what the isAvailable flag means. | Dan Gohman | 2008-11-17 | 2 | -2/+2 |
| | | | | llvm-svn: 59445 | ||||
* | Fix <rdar://problem/6320086> parser rejects block capturing ivar. | Steve Naroff | 2008-11-17 | 2 | -1/+23 |
| | | | | llvm-svn: 59444 | ||||
* | Some cleanups for C++ operator overloading | Douglas Gregor | 2008-11-17 | 6 | -89/+68 |
| | | | | llvm-svn: 59443 | ||||
* | Simplify error messages for two-parameter overloaded increment/decrement ↵ | Douglas Gregor | 2008-11-17 | 3 | -17/+6 |
| | | | | | | operators llvm-svn: 59442 | ||||
* | Introduction the DeclarationName class, as a single, general method of | Douglas Gregor | 2008-11-17 | 29 | -202/+890 |
| | | | | | | | | representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441 | ||||
* | pad header out to 80 cols | Chris Lattner | 2008-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 59438 | ||||
* | add OperatorKinds.* to the project. | Chris Lattner | 2008-11-17 | 1 | -0/+4 |
| | | | | llvm-svn: 59437 | ||||
* | line up some columns, no functionality change. | Chris Lattner | 2008-11-17 | 1 | -4/+4 |
| | | | | llvm-svn: 59436 | ||||
* | A few corrections to the expr constant work. Not enabled at the | Eli Friedman | 2008-11-17 | 1 | -2/+3 |
| | | | | | | moment. llvm-svn: 59435 | ||||
* | move partial template specialization to FoldingSet.h. | Zhongxing Xu | 2008-11-17 | 2 | -5/+6 |
| | | | | llvm-svn: 59434 | ||||
* | More expr constant work. (Off by default). | Anders Carlsson | 2008-11-17 | 1 | -8/+25 |
| | | | | llvm-svn: 59433 | ||||
* | Fixed legalization of CONVERT_RNDSAT for integers. | Mon P Wang | 2008-11-17 | 2 | -24/+16 |
| | | | | llvm-svn: 59432 | ||||
* | Removed 2008-10-17-SpillerBug.ll as it does not provide an accurate test of ↵ | Lang Hames | 2008-11-16 | 1 | -130/+0 |
| | | | | | | PR2898. llvm-svn: 59431 | ||||
* | Address some comments Eli had. | Anders Carlsson | 2008-11-16 | 1 | -11/+6 |
| | | | | llvm-svn: 59430 | ||||
* | use HandleConversionToBool() to check if a given cond is foldable (per Eli's ↵ | Nuno Lopes | 2008-11-16 | 1 | -3/+3 |
| | | | | | | comment) llvm-svn: 59429 | ||||
* | More complex float evaluator support. | Anders Carlsson | 2008-11-16 | 1 | -0/+45 |
| | | | | llvm-svn: 59428 | ||||
* | Describe how constant folding and i-c-e diagnosing should work. | Chris Lattner | 2008-11-16 | 1 | -0/+115 |
| | | | | | | | Unfortunately, we're not here yet, but eventually Expr::isConstantExpr and friends should go away. llvm-svn: 59427 | ||||
* | rename Expr::tryEvaluate to Expr::Evaluate. | Chris Lattner | 2008-11-16 | 7 | -18/+18 |
| | | | | llvm-svn: 59426 | ||||
* | Add very limited support for evaluating complex floats. | Anders Carlsson | 2008-11-16 | 1 | -1/+46 |
| | | | | llvm-svn: 59425 | ||||
* | Trivial tidying | Chris Lattner | 2008-11-16 | 1 | -2/+0 |
| | | | | llvm-svn: 59424 | ||||
* | add PTHLexer.h to project | Chris Lattner | 2008-11-16 | 1 | -0/+2 |
| | | | | llvm-svn: 59423 | ||||
* | fix folding of comma if given a non-constant operand. | Nuno Lopes | 2008-11-16 | 2 | -3/+10 |
| | | | | | | Eli please take a look, as I'm not sure if this gets the extension warning in the right place llvm-svn: 59422 | ||||
* | make IntExprEvaluator fold the ?: operator | Nuno Lopes | 2008-11-16 | 1 | -0/+9 |
| | | | | llvm-svn: 59421 | ||||
* | More work on the constant evaluator. Eli, it would be great if you could ↵ | Anders Carlsson | 2008-11-16 | 1 | -1/+65 |
| | | | | | | have a look at this. llvm-svn: 59420 | ||||
* | Fix PR3075, __builtin_stdarg_start being misprototyped. This affects netbsd ↵ | Chris Lattner | 2008-11-16 | 2 | -1/+10 |
| | | | | | | headers. llvm-svn: 59419 | ||||
* | Fix PR3077: tokens that come from macro expansions whose macro was | Chris Lattner | 2008-11-16 | 1 | -1/+1 |
| | | | | | | | defined in a system header should be treated as system header tokens even if they are instantiated in a different place. llvm-svn: 59418 | ||||
* | punctuate, add wording about patches contributed by others. | Chris Lattner | 2008-11-16 | 1 | -3/+4 |
| | | | | llvm-svn: 59417 | ||||
* | If SI->size() is 0, we are not allowed to dereference ->begin(). | Torok Edwin | 2008-11-16 | 1 | -2/+4 |
| | | | | | | This fixed PR3078. llvm-svn: 59416 | ||||
* | 2008-10-17-SpillerBug.ll is currently failing, but this doesn't reflect an ↵ | Lang Hames | 2008-11-16 | 1 | -0/+1 |
| | | | | | | actual regression of PR2898. This test should probably be removed. I've XFAILed it for now to keep buildbot quiet while this is considered. llvm-svn: 59415 | ||||
* | Big PBQP allocator update. Adds coalescing support, stack slot coloring, ↵ | Lang Hames | 2008-11-16 | 1 | -139/+478 |
| | | | | | | several bug-fixes. llvm-svn: 59414 | ||||
* | add targe triple commandline option to fix test failure on Linux. | Zhongxing Xu | 2008-11-16 | 1 | -1/+1 |
| | | | | llvm-svn: 59412 | ||||
* | add dump and print methods, add operator<< for APValue. | Chris Lattner | 2008-11-16 | 2 | -0/+105 |
| | | | | llvm-svn: 59411 | ||||
* | move some APValue methods out of line. | Chris Lattner | 2008-11-16 | 2 | -39/+6 |
| | | | | llvm-svn: 59410 | ||||
* | eliminate some std::set's. | Chris Lattner | 2008-11-16 | 1 | -9/+10 |
| | | | | llvm-svn: 59409 |