- Feb 10, 2012
-
-
Jakob Stoklund Olesen authored
Provide API to get a list of register mask slots and bits in a basic block. llvm-svn: 150219
-
Jakob Stoklund Olesen authored
No looping and binary searches necessary. Return a pointer to the containing block instead of just a bool. llvm-svn: 150218
-
Sean Callanan authored
parser. Specifically: - ClangUserExpression now keeps weak pointers to the structures it needs and then locks them when needed. This ensures that they continue to be valid without leaking memory if the ClangUserExpression is long lived. - ClangExpressionDeclMap, instead of keeping a pointer to an ExecutionContext, now contains an ExecutionContext. This prevents bugs if the pointer or its contents somehow become stale. It also no longer requires that ExecutionContexts be passed into any function except its initialization function, since it can count on the ExecutionContext still being around. There's a lot of room for improvement (specifically, ClangExpressionDeclMap should also use weak pointers insetad of shared pointers) but this is an important first step that codifies assumptions that already existed in the code. llvm-svn: 150217
-
Anna Zaks authored
the checker over postgres and sqlite. llvm-svn: 150216
-
Anna Zaks authored
(use of return instead of continue), wording. llvm-svn: 150215
-
Benjamin Kramer authored
llvm-svn: 150214
-
Enrico Granata authored
fixing a macro name mismatch that was making our test case succeed for the wrong reason; plus a minor code change to the CPP side of the test which eases debugging efforts llvm-svn: 150213
-
Fariborz Jahanian authored
llvm-svn: 150212
-
- Feb 09, 2012
-
-
Sean Callanan authored
by GetClangDeclContextContainingDIE, for better debuggability. llvm-svn: 150211
-
Bill Wendling authored
llvm-svn: 150210
-
Aaron Ballman authored
llvm-svn: 150209
-
Bill Wendling authored
This looks like it had a small, but measurable performance improvement on -O0 compile time for our ObjC tests. llvm-svn: 150208
-
Ted Kremenek authored
llvm-svn: 150207
-
Fariborz Jahanian authored
has been declared in its primary class, superclass, or in one of their protocols, no need to issue unimplemented method. // rdar://10823023 llvm-svn: 150206
-
Johnny Chen authored
llvm-svn: 150205
-
Eli Friedman authored
Make sure a variable with a C++ direct initializer triggers jump scope checking. Fixes PR10620 / <rdar://problem/9958362> . llvm-svn: 150204
-
Greg Clayton authored
enable us to track the depth of parsing and what is being parsed. This helps when trying to track down difficult type parsing issues and is only enabled in non-production builds. llvm-svn: 150203
-
Dylan Noblesmith authored
It was never updated for API changes in r149311/r149336/r149339 and r147688. llvm-svn: 150202
-
Dylan Noblesmith authored
Hardcoding the location of the build directory seems like it would break at `make install`/packaging time. llvm-svn: 150201
-
Akira Hatanaka authored
Double fields of by-value class objects should be passed in floating point registers. llvm-svn: 150200
-
Benjamin Kramer authored
Kill the brief and full explanation fields from StaticDiagInfoRec. They were unused and wasted space for nothing. - per PR11952. llvm-svn: 150199
-
Johnny Chen authored
llvm-svn: 150198
-
David Blaikie authored
Unify default construction of error_code uses on this idiom so that users don't feel compelled to make static globals for naming convenience. (unfortunately I couldn't make the original ctor private as some APIs don't return their result, instead using an out parameter (that makes sense to default construct) - which is a bit of a pity. I did, however, find/fix some cases of unnecessary default construction of error_code before I hit the unfixable cases) llvm-svn: 150197
-
Akira Hatanaka authored
class objects follow the same rules as those returning struct objects. llvm-svn: 150196
-
Johnny Chen authored
Also fix a logic error for a missing return stmt. Oops. llvm-svn: 150195
-
Douglas Gregor authored
list; it is not an expression. llvm-svn: 150194
-
Argyrios Kyrtzidis authored
llvm-svn: 150193
-
Argyrios Kyrtzidis authored
llvm-svn: 150192
-
Jakob Stoklund Olesen authored
This only adds the interference checks required for correctness. We still need to take advantage of register masks for the interference driven live range splitting. llvm-svn: 150191
-
Douglas Gregor authored
semantics. llvm-svn: 150190
-
Devang Patel authored
Now subprogram descriptors are not collected by llvm.dbg.sp NamedMDNode. Update document to reflect this change. llvm-svn: 150187
-
-
Timur Iskhodzhanov authored
llvm-svn: 150184
-
Benjamin Kramer authored
llvm-svn: 150183
-
Benjamin Kramer authored
llvm-svn: 150181
-
Aaron Ballman authored
llvm-svn: 150180
-
Sirish Pande authored
llvm-svn: 150178
-
Benjamin Kramer authored
GlobalOpt runs early in the pipeline (before inlining) and complex class hierarchies often introduce bitcasts or GEPs which weren't optimized away. Teach it to ignore side-effect free instructions instead of depending on other passes to remove them. llvm-svn: 150174
-
Benjamin Kramer authored
Store just the SimpleValueType in the generated VT tables for each register class, eliminating static ctors. llvm-svn: 150173
-
Benjamin Kramer authored
llvm-svn: 150172
-