- Feb 10, 2012
-
-
Andrew Trick authored
Creates a configurable regalloc pipeline. Ensure specific llc options do what they say and nothing more: -reglloc=... has no effect other than selecting the allocator pass itself. This patch introduces a new umbrella flag, "-optimize-regalloc", to enable/disable the optimizing regalloc "superpass". This allows for example testing coalscing and scheduling under -O0 or vice-versa. When a CodeGen pass requires the MachineFunction to have a particular property, we need to explicitly define that property so it can be directly queried rather than naming a specific Pass. For example, to check for SSA, use MRI->isSSA, not addRequired<PHIElimination>. CodeGen transformation passes are never "required" as an analysis ProcessImplicitDefs does not require LiveVariables. We have a plan to massively simplify some of the early passes within the regalloc superpass. llvm-svn: 150226
-
Andrew Trick authored
llvm-svn: 150225
-
Lang Hames authored
llvm-svn: 150224
-
Ted Kremenek authored
in many APIs and large codebases that this made the deprecated warning trigger happy to the point of not being useful. llvm-svn: 150223
-
Jim Grosbach authored
rdar://10838899 llvm-svn: 150222
-
Eli Friedman authored
Make sure we convert struct layout pragmas to attributes for class templates the same way we do for non-template classes. <rdar://problem/10791194>. llvm-svn: 150221
-
Jakob Stoklund Olesen authored
When checking a local live range for interference, restrict the binary search to the single block. llvm-svn: 150220
-
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
-