| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add TargetLowering::isLegalICmpImmediate. It tells LSR what immediate can be ↵ | Evan Cheng | 2009-11-11 | 3 | -0/+26 |
| | | | | | | | folded into target icmp instructions. llvm-svn: 86858 | ||||
| * | Do jump table adjustment before constant island allocation | Jim Grosbach | 2009-11-11 | 1 | -4/+7 |
| | | | | | llvm-svn: 86857 | ||||
| * | Fix indentation level. | Dan Gohman | 2009-11-11 | 1 | -8/+8 |
| | | | | | llvm-svn: 86856 | ||||
| * | Whitespace cleanups. | Dan Gohman | 2009-11-11 | 1 | -93/+92 |
| | | | | | llvm-svn: 86855 | ||||
| * | Prefix MBB numbers with "BB#" in debug output to make it clear what | Dan Gohman | 2009-11-11 | 1 | -3/+3 |
| | | | | | | | the numbers mean. llvm-svn: 86854 | ||||
| * | Minor code simplification. | Dan Gohman | 2009-11-11 | 1 | -9/+8 |
| | | | | | llvm-svn: 86853 | ||||
| * | Fix a copy+pasto in a comment. | Dan Gohman | 2009-11-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 86852 | ||||
| * | Set isBarrier = 1 on return instructions, as they are control barriers. | Dan Gohman | 2009-11-11 | 5 | -4/+5 |
| | | | | | llvm-svn: 86851 | ||||
| * | Use a tab in INT3's asm string, for consistency. | Dan Gohman | 2009-11-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 86850 | ||||
| * | Value initialize non-class array members in ctor's | Fariborz Jahanian | 2009-11-11 | 2 | -1/+36 |
| | | | | | | | initializer list. Fixes PR5463. llvm-svn: 86849 | ||||
| * | another const prop failure. | Chris Lattner | 2009-11-11 | 1 | -0/+9 |
| | | | | | llvm-svn: 86848 | ||||
| * | add a note | Chris Lattner | 2009-11-11 | 1 | -0/+28 |
| | | | | | llvm-svn: 86847 | ||||
| * | Reject duplicate case values in a switch, PR5450. | Chris Lattner | 2009-11-11 | 1 | -1/+5 |
| | | | | | llvm-svn: 86846 | ||||
| * | Split buffer overflow test case into two test cases, removing out logic that ↵ | Ted Kremenek | 2009-11-11 | 1 | -4/+9 |
| | | | | | | | was commented out. llvm-svn: 86845 | ||||
| * | Instantiation of template template parameters for nested templates, e.g., | Douglas Gregor | 2009-11-11 | 2 | -0/+48 |
| | | | | | | | | | | template<typename T> struct X { template<template<T Value> class Y> struct Inner; }; llvm-svn: 86844 | ||||
| * | Fix speculative parsing of dependent template names in | Douglas Gregor | 2009-11-11 | 4 | -44/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | nested-name-specifiers so that they don't gobble the template name (or operator-function-id) unless there is also a template-argument-list. For example, given T::template apply we would previously consume both "template" and "apply" as part of parsing the nested-name-specifier, then error when we see that there is no "<" starting a template argument list. Now, we parse such constructs tentatively, and back off if the "<" is not present. This allows us to parse dependent template names as one would use them for, e.g., template template parameters: template<typename T, template<class> class X = T::template apply> struct MetaSomething; Also, test default arguments for template template parameters. llvm-svn: 86841 | ||||
| * | Don't trivially delete unused calls to llvm.invariant.start. This allows | Duncan Sands | 2009-11-11 | 3 | -0/+41 |
| | | | | | | | | | | | | | | llvm.invariant.start to be used without necessarily being paired with a call to llvm.invariant.end. If you run the entire optimization pipeline then such calls are in fact deleted (adce does it), but that's actually a good thing since we probably do want them to be zapped late in the game. There should really be an integration test that checks that the llvm.invariant.start call lasts long enough that all passes that do interesting things with it get to do their stuff before it is deleted. But since no passes do anything interesting with it yet this will have to wait for later. llvm-svn: 86840 | ||||
| * | Add undefined array subscript checker. | Zhongxing Xu | 2009-11-11 | 7 | -1/+69 |
| | | | | | llvm-svn: 86837 | ||||
| * | Remove the old out-of-bound checking code. | Zhongxing Xu | 2009-11-11 | 1 | -42/+0 |
| | | | | | llvm-svn: 86836 | ||||
| * | Reimplement out-of-bound array access checker with the new checker interface. | Zhongxing Xu | 2009-11-11 | 7 | -4/+94 |
| | | | | | | | Now only one test case is XFAIL'ed. llvm-svn: 86834 | ||||
| * | ReturnPointerRangeChecker: use StripCasts() instead of checking for zero index | Zhongxing Xu | 2009-11-11 | 1 | -12/+15 |
| | | | | | | | | | explicitly. Fix 80-col violations. llvm-svn: 86833 | ||||
| * | Simplify. | Daniel Dunbar | 2009-11-11 | 1 | -13/+6 |
| | | | | | llvm-svn: 86830 | ||||
| * | Fix unsafe use of StringRef I introduced. | Daniel Dunbar | 2009-11-11 | 1 | -2/+3 |
| | | | | | llvm-svn: 86829 | ||||
| * | Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to | Daniel Dunbar | 2009-11-11 | 6 | -35/+60 |
| | | | | | | | clang-cc/Options.cpp llvm-svn: 86828 | ||||
| * | Add PreprocessorOutputOptions, for things like -dM, -C, -CC which control -E | Daniel Dunbar | 2009-11-11 | 4 | -39/+82 |
| | | | | | | | mode. llvm-svn: 86827 | ||||
| * | Simplifiy target feature handling by coalescing all the logic into | Daniel Dunbar | 2009-11-11 | 5 | -69/+56 |
| | | | | | | | InitializeCompileOptions. llvm-svn: 86826 | ||||
| * | Minor formatting tweaks. | Daniel Dunbar | 2009-11-11 | 1 | -10/+8 |
| | | | | | llvm-svn: 86825 | ||||
| * | clang-cc: Refactor some -fixit-at handling. | Daniel Dunbar | 2009-11-11 | 1 | -32/+24 |
| | | | | | llvm-svn: 86824 | ||||
| * | Allow TextDiagnosticPrinter to have optional ownership of its output stream. | Daniel Dunbar | 2009-11-11 | 3 | -17/+22 |
| | | | | | llvm-svn: 86823 | ||||
| * | Update CMake. | Daniel Dunbar | 2009-11-11 | 1 | -1/+0 |
| | | | | | llvm-svn: 86822 | ||||
| * | clang-cc: Move InitializeAnalyzerOptions into Options.cpp | Daniel Dunbar | 2009-11-11 | 3 | -100/+112 |
| | | | | | llvm-svn: 86821 | ||||
| * | clang-cc: Start coalescing "frontend" options. | Daniel Dunbar | 2009-11-11 | 1 | -22/+14 |
| | | | | | llvm-svn: 86820 | ||||
| * | clang-cc: Move InitializeDiagnosticOptions to Options.cpp | Daniel Dunbar | 2009-11-11 | 3 | -61/+68 |
| | | | | | llvm-svn: 86819 | ||||
| * | clang-cc: Move HeaderSearchOptions to Options.cpp | Daniel Dunbar | 2009-11-11 | 3 | -161/+176 |
| | | | | | llvm-svn: 86818 | ||||
| * | Turn LoggingDiagnosticClient into a more general ChainedDiagnosticClient and | Daniel Dunbar | 2009-11-11 | 2 | -42/+60 |
| | | | | | | | move to libFrontend. llvm-svn: 86817 | ||||
| * | clang-cc: Move InitializeLangOptions to Options.cpp. | Daniel Dunbar | 2009-11-11 | 3 | -477/+487 |
| | | | | | | | | Also, inline InitializeLanguageStandard into InitializeLangOptions; this code needs to be refactored but the current division doesn't make any sense. llvm-svn: 86816 | ||||
| * | Inline some trivial functions. | Daniel Dunbar | 2009-11-11 | 1 | -11/+2 |
| | | | | | llvm-svn: 86815 | ||||
| * | Add nounwind. | Evan Cheng | 2009-11-11 | 4 | -4/+4 |
| | | | | | llvm-svn: 86814 | ||||
| * | CastToStructChecker: use 'isStructureType()' instead of 'isRecordType()' to ↵ | Ted Kremenek | 2009-11-11 | 2 | -3/+24 |
| | | | | | | | determine if a pointer is casted to a struct pointer. This fixes an observed false positive when a value is casted to a union. llvm-svn: 86813 | ||||
| * | Fix display of "ANALYZE" statements in AnalysisConsumer by correctly ↵ | Ted Kremenek | 2009-11-11 | 3 | -153/+147 |
| | | | | | | | resetting the flag indicating that the current Decl* has not yet been displayed. Also move this out of AnalysisManager, since AnalysisManager should not handle text output to the user. llvm-svn: 86812 | ||||
| * | clang-cc: Move InitializePreprocessorOptions to Options.cpp | Daniel Dunbar | 2009-11-11 | 4 | -79/+94 |
| | | | | | llvm-svn: 86811 | ||||
| * | remove the now dead condprop pass, PR3906. | Chris Lattner | 2009-11-11 | 6 | -306/+0 |
| | | | | | llvm-svn: 86810 | ||||
| * | Remove public headers for UndefinedArgChecker, AttrNonNullChecker, and ↵ | Ted Kremenek | 2009-11-11 | 8 | -111/+60 |
| | | | | | | | BadCallChecker, making their implementations completely private. llvm-svn: 86809 | ||||
| * | clang-cc: Simplify this code, now that predefines handling is uniform in the | Daniel Dunbar | 2009-11-11 | 1 | -22/+10 |
| | | | | | | | PCH/-E and PCH/not--E cases. llvm-svn: 86808 | ||||
| * | Fix JITTest.ModuleDeletion in -Asserts mode (which turns off JITEmitDebugInfo | Jeffrey Yasskin | 2009-11-11 | 1 | -1/+7 |
| | | | | | | | by default). llvm-svn: 86807 | ||||
| * | Redo how PCH handles its implicit include. Instead of treating this specially in | Daniel Dunbar | 2009-11-11 | 4 | -16/+40 |
| | | | | | | | | | | | | | | | | the front-end (as far as the preprocessor goes), follow the usual logic of inserting the (original include path) name into the predefines buffer. This pushes the responsibility for handling this to PCH instead of the front-end. In PCH this requires being a little more clever when we diff the predefines buffers. Neither of these solutions are particularly great, I think what we eventually should do is something like gcc where we insert a special marker to indicate the PCH file, but then run the preprocessor as usual. This would be clearer and would allow us to drop the overly clever predefines handling. llvm-svn: 86806 | ||||
| * | More StringRef simplification to PCHValidator::ReadPredefinesBuffer. | Daniel Dunbar | 2009-11-11 | 2 | -33/+30 |
| | | | | | llvm-svn: 86805 | ||||
| * | remove condprop testcases. | Chris Lattner | 2009-11-11 | 10 | -2588/+0 |
| | | | | | llvm-svn: 86804 | ||||
| * | Add StringRef::split(StringRef), to complement StringRef::split(char). | Daniel Dunbar | 2009-11-11 | 1 | -0/+17 |
| | | | | | llvm-svn: 86803 | ||||
| * | Remove dead code. | Rafael Espindola | 2009-11-11 | 1 | -5/+0 |
| | | | | | llvm-svn: 86802 | ||||

