- Aug 15, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 111091
-
Argyrios Kyrtzidis authored
llvm-svn: 111090
-
Argyrios Kyrtzidis authored
llvm-svn: 111089
-
Argyrios Kyrtzidis authored
llvm-svn: 111088
-
Argyrios Kyrtzidis authored
llvm-svn: 111087
-
Argyrios Kyrtzidis authored
Unused warnings for functions: -static functions -functions in anonymous namespace -class methods in anonymous namespace -class method specializations in anonymous namespace -function specializations in anonymous namespace Unused warnings for variables: -static variables -variables in anonymous namespace -static data members in anonymous namespace -static data members specializations in anonymous namespace Reveals lots of opportunities for dead code removal in llvm codebase that will interest my esteemed colleagues. llvm-svn: 111086
-
Eli Friedman authored
llvm-svn: 111085
-
Nick Lewycky authored
llvm-svn: 111084
-
- Aug 14, 2010
-
-
Eric Christopher authored
encoding is correct for the built-in assembler. Based on a patch from Chris. llvm-svn: 111083
-
Argyrios Kyrtzidis authored
llvm-svn: 111082
-
Jordy Rose authored
Update CStringChecker to take advantage of the new metadata symbols and region change callback. Now does basic tracking of string length for general regions. Currently this is still only used for modeling strlen(). llvm-svn: 111081
-
Eli Friedman authored
llvm-svn: 111080
-
Jordy Rose authored
llvm-svn: 111079
-
Jordy Rose authored
Add a callback for when region changes occur. Still somewhat of a work-in-progress, but working! Effect on clients: all changes to a store now go through GRState. llvm-svn: 111078
-
Jordy Rose authored
llvm-svn: 111077
-
Jordy Rose authored
Add a new metadata symbol type for checkers to use. Metadata symbols must be associated with a region and will be collected if the region dies or its checker fails to mark it as in use. llvm-svn: 111076
-
Howard Hinnant authored
llvm-svn: 111075
-
Howard Hinnant authored
llvm-svn: 111074
-
Chris Lattner authored
llvm-svn: 111073
-
John McCall authored
llvm-svn: 111070
-
Bob Wilson authored
llvm-svn: 111068
-
Eli Friedman authored
llvm-svn: 111067
-
Ted Kremenek authored
Always recurse into sub-cursors when annotating tokens, as this information is used for annotating macro arguments. This finishes up <rdar://problem/8044584>. llvm-svn: 111066
-
Daniel Dunbar authored
llvm-svn: 111065
-
Ted Kremenek authored
llvm-svn: 111063
-
Ted Kremenek authored
As a heuristic, annotate tokens (via clang_annotateTokens) that are the arguments of a macro instantiation using the closest cursor with the same spelling location. Because macro arguments can get token pasted in any arbitrary order, we use the annotation map to paper over the token -> cursor annotations during our post-processing stage. This fixes most of <rdar://problem/8044584>, but still doesn't work for assert(). llvm-svn: 111062
-
Dan Gohman authored
llvm-svn: 111061
-
Dan Gohman authored
- Eliminate redundant successors. - Convert an indirectbr with one successor into a direct branch. Also, generalize SimplifyCFG to be able to be run on a function entry block. It knows quite a few simplifications which are applicable to the entry block, and it only needs a few checks to avoid trouble with the entry block. llvm-svn: 111060
-
Jim Grosbach authored
experimental pass that allocates locals relative to one another before register allocation and then assigns them to actual stack slots as a block later in PEI. This will eventually allow targets with limited index offset range to allocate additional base registers (not just FP and SP) to more efficiently reference locals, as well as handle situations where locals cannot be referenced via SP or FP at all (dynamic stack realignment together with variable sized objects, for example). It's currently incomplete and almost certainly buggy. Work in progress. Disabled by default and gated via the -enable-local-stack-alloc command line option. rdar://8277890 llvm-svn: 111059
-
Dan Gohman authored
had its address taken. llvm-svn: 111058
-
Bob Wilson authored
This fixes another part of PR7792. llvm-svn: 111057
-
Johnny Chen authored
LLDB_TESTSUITE_FORCE_FINISH and, if defined, kill the test suite. llvm-svn: 111056
-
Jakob Stoklund Olesen authored
The earliestStart argument is entirely specific to linear scan allocation, and can be easily calculated by RegAllocLinearScan. Replace std::vector with SmallVector. llvm-svn: 111055
-
Sean Callanan authored
cleaned up its API slightly. llvm-svn: 111053
-
Douglas Gregor authored
when the CXTranslationUnit_CacheCompletionResults option is given to clang_parseTranslationUnit(). Essentially, we compute code-completion results for macro definitions after we have parsed the file, then store an ASTContext-agnostic version of those results (completion string, cursor kind, priority, and active contexts) in the ASTUnit. When performing code completion in that ASTUnit, we splice the macro definition results into the results provided by the actual code-completion (which has had macros turned off) before libclang gets those results. We use completion context information to only splice in those results that make sense for that context. With a completion involving all of the macros from Cocoa.h and a few other system libraries (totally ~8500 macro definitions) living in a precompiled header, we get about a 9% performance improvement from code completion, since we no longer have to deserialize all of the macro definitions from the precompiled header. Note that macro definitions are merely the canary; the cache is designed to also support other top-level declarations, which should be a bigger performance win. That optimization will be next. Note also that there is no mechanism for determining when to throw away the cache and recompute its contents. llvm-svn: 111051
-
Bob Wilson authored
llvm-svn: 111050
-
Sean Callanan authored
Also cleaned up its API a tiny bit (but not the extensive amount that is actually needed. That's still coming.) llvm-svn: 111049
-
- Aug 13, 2010
-
-
Bob Wilson authored
instruction opcode. This fixes part of PR7792. llvm-svn: 111047
-
Dan Gohman authored
when they are the same loop. Don't compare two instructions' loop depths when they are in the same block. llvm-svn: 111045
-
John McCall authored
Not yet complete or used. llvm-svn: 111044
-