summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* whitespaceJim Grosbach2009-12-151-26/+26
| | | | llvm-svn: 91442
* Add support to emit debug info for C++ namespaces.Devang Patel2009-12-155-23/+128
| | | | llvm-svn: 91440
* If a ParmVarDecl's default argument is a CXXExprWithTemporaries, return the ↵Anders Carlsson2009-12-153-27/+41
| | | | | | underlying expr instead. Add getNumDefaultArgTemporaries and getDefaultArgTemporary which returns the temporaries a default arg creates. llvm-svn: 91439
* optimize strstr, PR5783Chris Lattner2009-12-152-9/+123
| | | | llvm-svn: 91438
* Support OpenCL 1.1 odd-length vector component accessors.Nate Begeman2009-12-153-13/+6
| | | | | | | For hi/odd of an odd-length vector, the last component is undefined. Since we shuffle with an undef vector, no CodeGen needs to change to support this. llvm-svn: 91437
* Add testcase for recent checkin.Mike Stump2009-12-151-1/+6
| | | | | | Patch by Chip Davis. llvm-svn: 91436
* Implement conditional block invocation rewriteFariborz Jahanian2009-12-152-12/+108
| | | | | | and some clean up and a block rewriter test. llvm-svn: 91435
* Added encoding bits for the Thumb ISA. Initial checkin.Johnny Chen2009-12-153-348/+1219
| | | | llvm-svn: 91434
* Fix some diagnostic-related FIXMEs, from Nicola GiganteDouglas Gregor2009-12-154-18/+11
| | | | llvm-svn: 91433
* Delete an unused function.Dan Gohman2009-12-151-38/+0
| | | | llvm-svn: 91432
* Elaborated types are specifier types, based on a patch from CorneliusDouglas Gregor2009-12-151-0/+1
| | | | llvm-svn: 91431
* Add comments.Zhongxing Xu2009-12-151-1/+2
| | | | llvm-svn: 91430
* Remove displayProgress parameter.Zhongxing Xu2009-12-152-3/+1
| | | | llvm-svn: 91429
* add some other xforms that should be done as part of PR5783Chris Lattner2009-12-151-3/+4
| | | | llvm-svn: 91428
* a few improvements:Chris Lattner2009-12-151-10/+8
| | | | | | | | | 1. Use std::equal instead of reinventing it. 2. don't run dtors in destroy_range if element is pod-like. 3. Use isPodLike to decide between memcpy/uninitialized_copy instead of is_class. isPodLike is more generous in some cases. llvm-svn: 91427
* hoist the begin/end/capacity members and a few trivial methodsChris Lattner2009-12-151-145/+145
| | | | | | up into the non-templated SmallVectorBase class. llvm-svn: 91426
* improve isPodLike to know that all non-class types are pod.Chris Lattner2009-12-152-27/+24
| | | | llvm-svn: 91425
* move isPodLike<clang::QualType> out to Type.h. We don'tChris Lattner2009-12-152-5/+6
| | | | | | | want some clients of QualType to think it's a pod and some to not know it is. llvm-svn: 91424
* Lang verified that SlotIndex is "pod like" even though it isn't a pod.Chris Lattner2009-12-151-1/+3
| | | | llvm-svn: 91423
* update to match LLVM API change:Chris Lattner2009-12-1511-40/+36
| | | | | | | | | Remove isPod() from DenseMapInfo, splitting it out to its own isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. llvm-svn: 91422
* Remove isPod() from DenseMapInfo, splitting it out to its ownChris Lattner2009-12-1521-79/+115
| | | | | | | | isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. llvm-svn: 91421
* Convert llvmc tests to FileCheck.Mikhail Glushenkov2009-12-1514-25/+42
| | | | llvm-svn: 91420
* Support hook invocation from 'append_cmd'.Mikhail Glushenkov2009-12-153-37/+114
| | | | llvm-svn: 91419
* Fix an encoding bug.Evan Cheng2009-12-151-1/+1
| | | | llvm-svn: 91417
* add an ALWAYS_INLINE macro, which does the obvious thing.Chris Lattner2009-12-151-0/+10
| | | | llvm-svn: 91416
* Add -W[no-]variadic-macros support.Daniel Dunbar2009-12-152-2/+4
| | | | llvm-svn: 91415
* Forward -isysroot to clang -cc1.Daniel Dunbar2009-12-151-1/+1
| | | | llvm-svn: 91414
* Fix a COVTCTII (crash-on-valid-that-clang-thinks-is-invalid, duh),Daniel Dunbar2009-12-151-1/+1
| | | | | | | note_previous_decl was used where note_previous_declaration was intended. Better names or PR5785 might be nice. llvm-svn: 91413
* Until we can make the dead stores checker smarter, dont' emit dead store ↵Ted Kremenek2009-12-152-0/+24
| | | | | | warnings for C++ objects (whose constructors/destructors have possible side-effects). llvm-svn: 91412
* Fix a small bug in ComputeMethodVtableIndices.Eli Friedman2009-12-152-2/+18
| | | | llvm-svn: 91411
* For fastcc on x86, let ECX be used as a return register after EAX and EDXKenneth Uildriks2009-12-152-1/+23
| | | | llvm-svn: 91410
* Really fix this test.Eli Friedman2009-12-151-2/+2
| | | | llvm-svn: 91409
* This patch should fix PR2461. It allows clang to apply the noreturnMike Stump2009-12-152-6/+6
| | | | | | | | | attribute to function pointers. It also fixes Sema to check function pointers for the noreturn attribute when checking for fallthrough. Patch by Chip Davis, with a slight fix to pass the testsuite. llvm-svn: 91408
* Names from dependent base classes are not found by unqualified lookup.John McCall2009-12-151-1/+1
| | | | llvm-svn: 91407
* Disable 91381 for now. It's miscompiling ARMISelDAG2DAG.cpp.Evan Cheng2009-12-152-1/+4
| | | | llvm-svn: 91405
* Validate the generated C++ code in llvmc tests.Mikhail Glushenkov2009-12-1519-32/+49
| | | | | | | | | | Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional llvm-svn: 91404
* Pipe 'grep' output to 'count'.Mikhail Glushenkov2009-12-151-2/+2
| | | | llvm-svn: 91403
* Allow $CALL(Hook, '$INFILE') for non-join tools.Mikhail Glushenkov2009-12-152-37/+87
| | | | llvm-svn: 91402
* Small documentation update.Mikhail Glushenkov2009-12-151-4/+5
| | | | llvm-svn: 91401
* Make 91378 more conservative.Evan Cheng2009-12-152-14/+11
| | | | | | | 1. Only perform (zext (shl (zext x), y)) -> (shl (zext x), y) when y is a constant. This makes sure it remove at least one zest. 2. If the shift is a left shift, make sure the original shift cannot shift out bits. llvm-svn: 91399
* scan-build/ccc-analyzer: start analyzing C++ FTW.Ted Kremenek2009-12-152-30/+67
| | | | llvm-svn: 91398
* You can't use typedefs to declare template member specializations, andJohn McCall2009-12-151-35/+49
| | | | | | clang enforces it. llvm-svn: 91397
* Fix test broken by my last commit.Eli Friedman2009-12-151-2/+0
| | | | llvm-svn: 91396
* Diagnose the use of typedefs for template specialization types in the scopeJohn McCall2009-12-153-1/+35
| | | | | | | | specifiers for out-of-line declarations, e.g. typedef Temp<int> MyTemp; template <> MyTemp::foo; llvm-svn: 91395
* Don't force the emission of destructor definitions.Eli Friedman2009-12-151-3/+3
| | | | llvm-svn: 91394
* Initial work on disabling the scheduler. This is a work in progress, and thisBill Wendling2009-12-154-29/+205
| | | | | | | | | | | | | | | stuff isn't used just yet. We want to model the GCC `-fno-schedule-insns' and `-fno-schedule-insns2' flags. The hypothesis is that the people who use these flags know what they are doing, and have hand-optimized the C code to reduce latencies and other conflicts. The idea behind our scheme to turn off scheduling is to create a map "on the side" during DAG generation. It will order the nodes by how they appeared in the code. This map is then used during scheduling to get the ordering. llvm-svn: 91392
* set up the machinery for a MacroArgs cache hanging off Preprocessor.Chris Lattner2009-12-154-4/+37
| | | | | | | | | We creating and free thousands of MacroArgs objects (and the related std::vectors hanging off them) for the testcase in PR5610 even though there are only ~20 live at a time. This doesn't actually use the cache yet. llvm-svn: 91391
* Tail duplication should zap a copy it inserted for SSA update if the copy is ↵Evan Cheng2009-12-151-13/+37
| | | | | | the only use of its source. llvm-svn: 91390
* Start the ball rolling on C++ support in the static analyzer. ForTed Kremenek2009-12-152-0/+37
| | | | | | | | now, don't construct CFGs that contain C++ try/catch statements, and have GRExprEngine abort a path if it encounters a C++ construct it doesn't understand (which is mostly everything at this point). llvm-svn: 91389
* Fix spacing.Mike Stump2009-12-151-1/+1
| | | | llvm-svn: 91386
OpenPOWER on IntegriCloud