Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor DereferenceChecker to use only the new Checker API instead of | Ted Kremenek | 2009-11-11 | 10 | -300/+281 | |
| | | | | | | | | | | the old builder API. This percolated a bunch of changes up to the Checker class (where CheckLocation has been renamed VisitLocation) and GRExprEngine. ProgramPoint now has the notion of a "LocationCheck" point (with PreLoad and PreStore respectively), and a bunch of the old ProgramPoints that are no longer used have been removed. llvm-svn: 86798 | |||||
* | Show command-line args and features passed into backend in debug output. ↵ | Sandeep Patel | 2009-11-11 | 2 | -0/+10 | |
| | | | | | | Approved by Evan Cheng. llvm-svn: 86797 | |||||
* | Preserve source locations when building offsetof expressions featuring | John McCall | 2009-11-11 | 1 | -1/+1 | |
| | | | | | | anonymous members. Partial fix for PR 5390. llvm-svn: 86796 | |||||
* | Add missing run line. Devang, please check. | Daniel Dunbar | 2009-11-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 86795 | |||||
* | Fix -Asserts warning. | Daniel Dunbar | 2009-11-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 86794 | |||||
* | More VTT work. We now track offsets and use the ctor vtable builder | Mike Stump | 2009-11-11 | 2 | -11/+27 | |
| | | | | | | interface. WIP. llvm-svn: 86793 | |||||
* | Fixup spacing. | Mike Stump | 2009-11-11 | 1 | -2/+1 | |
| | | | | llvm-svn: 86792 | |||||
* | The TBB and TBH instructions for Thumb2 are really handy for jump tables, but | Jim Grosbach | 2009-11-11 | 1 | -3/+96 | |
| | | | | | | | | | | | can only branch forward. To best take advantage of them, we'd like to adjust the basic blocks around a bit when reasonable. This patch puts basics in place to do that, with a super-simple algorithm for backwards jump table targets that creates a new branch after the jump table which branches backwards. Real heuristics for reordering blocks or other modifications rather than inserting branches will follow. llvm-svn: 86791 | |||||
* | Apparently the following idiom is specifically encouraged: | John McCall | 2009-11-11 | 4 | -2/+30 | |
| | | | | | | | if (self = [super init]) Recognize it and only warn if -Wparentheses is explicitly enabled. llvm-svn: 86790 | |||||
* | stub out some LazyValueInfo interfaces, and have JumpThreading | Chris Lattner | 2009-11-11 | 3 | -26/+189 | |
| | | | | | | | | start using them in a trivial way when -enable-jump-threading-lvi is passed. enable-jump-threading-lvi will be my playground for awhile. llvm-svn: 86789 | |||||
* | Fix test to work on every platform. | Bill Wendling | 2009-11-11 | 1 | -3/+1 | |
| | | | | llvm-svn: 86786 | |||||
* | Fix test to work on every platform. | Bill Wendling | 2009-11-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 86785 | |||||
* | XFAIL for now. | Devang Patel | 2009-11-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 86784 | |||||
* | Make sure that the exception handling data has the same visibility as the | Bill Wendling | 2009-11-11 | 2 | -2/+37 | |
| | | | | | | function it's generated for. llvm-svn: 86779 | |||||
* | Avoid generating additional destructor(s) for initialized constructed | Fariborz Jahanian | 2009-11-11 | 1 | -0/+3 | |
| | | | | | | objects. llvm-svn: 86778 | |||||
* | Introduce a new representation for template template | Douglas Gregor | 2009-11-11 | 23 | -257/+502 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | parameters. Rather than storing them as either declarations (for the non-dependent case) or expressions (for the dependent case), we now (always) store them as TemplateNames. The primary change here is to add a new kind of TemplateArgument, which stores a TemplateName. However, making that change ripples to every switch on a TemplateArgument's kind, also affecting TemplateArgumentLocInfo/TemplateArgumentLoc, default template arguments for template template parameters, type-checking of template template arguments, etc. This change is light on testing. It should fix several pre-existing problems with template template parameters, such as: - the inability to use dependent template names as template template arguments - template template parameter default arguments cannot be instantiation However, there are enough pieces missing that more implementation is required before we can adequately test template template parameters. llvm-svn: 86777 | |||||
* | Recognize -fsyntax-only as a "consumer only" action. | Daniel Dunbar | 2009-11-11 | 1 | -10/+6 | |
| | | | | llvm-svn: 86776 | |||||
* | StringRefify some PCH interfaces. | Daniel Dunbar | 2009-11-11 | 3 | -40/+30 | |
| | | | | llvm-svn: 86775 | |||||
* | Replace startsWith functions with StringRef. | Daniel Dunbar | 2009-11-11 | 1 | -25/+4 | |
| | | | | llvm-svn: 86774 | |||||
* | Add Triple::str() which returns the contents of the Triple as a string, as a ↵ | Daniel Dunbar | 2009-11-11 | 1 | -0/+2 | |
| | | | | | | more readable alternative to getTriple(). llvm-svn: 86773 | |||||
* | Stub out most of the VTT building code. WIP. | Mike Stump | 2009-11-11 | 1 | -2/+83 | |
| | | | | llvm-svn: 86772 | |||||
* | Do not assume first function scope seen represents current function. | Devang Patel | 2009-11-11 | 2 | -2/+22 | |
| | | | | llvm-svn: 86771 | |||||
* | Add From arguments to StringRef search functions, and tweak doxyments. | Daniel Dunbar | 2009-11-11 | 3 | -20/+53 | |
| | | | | | | Also, add unittests for find_first_of and find_first_not_of. llvm-svn: 86770 | |||||
* | llvm-gcc/clang don't (won't?) need this hack. | Daniel Dunbar | 2009-11-11 | 1 | -1/+2 | |
| | | | | llvm-svn: 86769 | |||||
* | oops, didn't mean to commit this, no harm, but add a todoops, didn't mean to ↵ | Chris Lattner | 2009-11-11 | 1 | -0/+1 | |
| | | | | | | commit this, no harm, but add a todoo llvm-svn: 86768 | |||||
* | Stub out a new lazy value info pass, which will eventually | Chris Lattner | 2009-11-11 | 6 | -0/+108 | |
| | | | | | | vend value constraint information to the optimizer. llvm-svn: 86767 | |||||
* | add a fixme | Chris Lattner | 2009-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 86766 | |||||
* | remove redundant foward declaration. This function is already in | Chris Lattner | 2009-11-11 | 2 | -6/+4 | |
| | | | | | | Analysis/Passes.h llvm-svn: 86765 | |||||
* | Create a new Scope when parsing a declaration with a C++ scope specifier. | John McCall | 2009-11-11 | 3 | -4/+21 | |
| | | | | llvm-svn: 86764 | |||||
* | While creating DbgScopes, do not forget parent scope. | Devang Patel | 2009-11-11 | 2 | -0/+28 | |
| | | | | llvm-svn: 86763 | |||||
* | Block terminator may be a switch. | Evan Cheng | 2009-11-11 | 2 | -1/+131 | |
| | | | | llvm-svn: 86761 | |||||
* | Add Diagnostic::Report method for reporting diagnostics without a location. | Daniel Dunbar | 2009-11-10 | 5 | -26/+21 | |
| | | | | llvm-svn: 86760 | |||||
* | jump threading does everything that condprop does any more. This passes | Chris Lattner | 2009-11-10 | 1 | -3/+1 | |
| | | | | | | bootstrap on darwin i386. llvm-svn: 86758 | |||||
* | PreprocessorOptions: Get rid of unnecessary 'isPTH' flag for include entries. | Daniel Dunbar | 2009-11-10 | 3 | -13/+13 | |
| | | | | llvm-svn: 86757 | |||||
* | add a note | Chris Lattner | 2009-11-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 86756 | |||||
* | Diagnose illegally typed operator new/new[]. | Fariborz Jahanian | 2009-11-10 | 4 | -3/+54 | |
| | | | | llvm-svn: 86755 | |||||
* | I did this a week or two ago | Chris Lattner | 2009-11-10 | 1 | -6/+0 | |
| | | | | llvm-svn: 86754 | |||||
* | Ignore variable if scope info is not available. | Devang Patel | 2009-11-10 | 1 | -2/+5 | |
| | | | | llvm-svn: 86753 | |||||
* | Test this on Darwin only. | Bill Wendling | 2009-11-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 86752 | |||||
* | Emit correct code when making a ConstantPool entry for a vector | Dale Johannesen | 2009-11-10 | 2 | -2/+47 | |
| | | | | | | | | | constant whose component type is not a legal type for the target. (If the target ConstantPool cannot handle this type either, it has an opportunity to merge elements. In practice any target with 8-bit bytes must support i8 *as data*). 7320806 (partial). llvm-svn: 86751 | |||||
* | Attach location info with llvm.dbg.declare. | Devang Patel | 2009-11-10 | 1 | -1/+4 | |
| | | | | llvm-svn: 86750 | |||||
* | Implement support to debug inlined functions. | Devang Patel | 2009-11-10 | 14 | -588/+666 | |
| | | | | llvm-svn: 86748 | |||||
* | in -dot-cfg and -dot-cfg-only, when rendering switch instructions, | Chris Lattner | 2009-11-10 | 1 | -0/+12 | |
| | | | | | | put the switch value in the successor boxes like we put T/F for branches. llvm-svn: 86747 | |||||
* | Add FIXIT hint for -Wsemicolon-before-method-body | Ted Kremenek | 2009-11-10 | 1 | -2/+4 | |
| | | | | llvm-svn: 86746 | |||||
* | Revert r86741; it doesn't handle virtual bases correctly. | Eli Friedman | 2009-11-10 | 1 | -11/+9 | |
| | | | | llvm-svn: 86745 | |||||
* | Minor optimization to skip null check in generated code where it isn't | Eli Friedman | 2009-11-10 | 1 | -9/+11 | |
| | | | | | | necessary. llvm-svn: 86741 | |||||
* | implement a TODO by teaching jump threading about "xor x, 1". | Chris Lattner | 2009-11-10 | 2 | -2/+53 | |
| | | | | llvm-svn: 86739 | |||||
* | Fix for PR5454: make sure to use the right block as the predecessor in the | Eli Friedman | 2009-11-10 | 2 | -0/+11 | |
| | | | | | | generated PHI node for the null check of a new operator. llvm-svn: 86738 | |||||
* | move some generally useful functions out of jump threading | Chris Lattner | 2009-11-10 | 5 | -85/+106 | |
| | | | | | | into libanalysis and transformutils. llvm-svn: 86735 | |||||
* | Shuffle order of warning declarations (alphabetize). | Ted Kremenek | 2009-11-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 86733 |