- Feb 23, 2011
-
-
Jakob Stoklund Olesen authored
Use interval sizes instead of spill weights to determine if it is legal to evict interference. A smaller interval can evict interference if all interfering live ranges are larger. Allow multiple interferences to be evicted as along as they are all larger than the live range being allocated. Spill weights are still used to select the preferred eviction candidate. llvm-svn: 126276
-
Argyrios Kyrtzidis authored
NilArgChecker CFNumberCreateChecker ClassReleaseChecker llvm-svn: 126275
-
Argyrios Kyrtzidis authored
It would run PostObjCMessage checkers even for PreObjCMessage checking. llvm-svn: 126274
-
Argyrios Kyrtzidis authored
llvm-svn: 126273
-
Argyrios Kyrtzidis authored
-In general, don't have the BugReporter deleting BugTypes, BugTypes will eventually become owned by checkers and outlive the BugReporter. In the meantime, there will be some leaks since some checkers assume that the BugTypes they create will be destroyed by the BugReporter. -Have BugReporter::EmitBasicReport create BugTypes that are reused if the same name & category strings are passed to EmitBasicReport. These BugTypes are owned and destroyed by the BugReporter. This allows bugs reported through EmitBasicReport to be coalesced. -Remove the llvm::FoldingSet<BugReportEquivClass> from BugType and move it into the BugReporter. For uniquing BugReportEquivClass also use the BugType* so that we can iterate over all of them using only one set. llvm-svn: 126272
-
Johnny Chen authored
llvm-svn: 126271
-
Argyrios Kyrtzidis authored
llvm-svn: 126270
-
Fariborz Jahanian authored
errornously defined inside an objc class. // rdar://7029784 llvm-svn: 126269
-
Richard Smith authored
llvm-svn: 126268
-
Johnny Chen authored
llvm-svn: 126267
-
Matt Beaumont-Gay authored
mostly just shuffles various possibilities for recovery into a more straightforward order, but also unifies a couple of diagnostics. llvm-svn: 126266
-
Johnny Chen authored
Plus add missing break stmts for "case" blocks. llvm-svn: 126265
-
David Greene authored
[AVX] General VUNPCKL codegen support. llvm-svn: 126264
-
David Greene authored
Fix Builder::execute() to more properly pass the desired environment to tools. llvm-svn: 126263
-
Douglas Gregor authored
FunctionProtoTypeLoc with NULL function parameter types, which can occur in invalid code. Fixes PR9247 / <rdar://problem/9037911>. llvm-svn: 126262
-
Fariborz Jahanian authored
specifier in legacy code. Patch is reviewed offline by Doug. // rdar://9036633. llvm-svn: 126261
-
Greg Clayton authored
llvm-svn: 126260
-
Jakob Stoklund Olesen authored
This is based on the observation that long live ranges are more difficult to allocate, so there is a better chance of solving the puzzle by handling the big pieces first. The allocator will evict and split long alive ranges when they get in the way. RABasic is still using spill weights for its priority queue, so the interface to the queue has been virtualized. llvm-svn: 126259
-
Jakob Stoklund Olesen authored
llvm-svn: 126258
-
- Feb 22, 2011
-
-
Greg Clayton authored
llvm-svn: 126257
-
Nick Lewycky authored
template <class T1, class T2> pair<T1,T2> make_pair(const T1&, const T2&); to template <class T1, class T2> pair<V1, V2> make_pair(T1&&, T2&&); so explicitly specifying the template arguments to make_pair<> is going to break when C++0x rolls through. Replace them with equivalent std::pair<>. Patch by James Dennett! llvm-svn: 126256
-
John McCall authored
invocation function into the debug info. Rather than faking up a class, which is tricky because of the custom layout we do, we just emit a struct directly from the layout information we've already got. Also, don't emit an unnecessarily parameter alloca for this "variable". llvm-svn: 126255
-
John McCall authored
the stack. llvm-svn: 126254
-
Cameron Zwarich authored
values from all of the loop's exiting blocks are equal. Patch by Andrew Clinton. llvm-svn: 126253
-
John McCall authored
block and, eventually, C++ lambda) contexts. llvm-svn: 126252
-
Sean Callanan authored
Fixed a hang in the expression parser's result synthesizer that occurs when the function generated for the expression is completely empty except for a NULL_STMT. This happens sometimes when the parser returns errors. llvm-svn: 126251
-
Douglas Gregor authored
We need a longer long when testing this pathe Microsoft fixed-underlying-type extension for enumeration types llvm-svn: 126250
-
Johnny Chen authored
Use them within EmulateInstructionARM.cpp to save repetitive typing. llvm-svn: 126247
-
Devang Patel authored
llvm-svn: 126246
-
Chris Lattner authored
Patch by Csaba Raduly! llvm-svn: 126245
-
Joerg Sonnenberger authored
llvm-svn: 126244
-
Douglas Gregor authored
enum X : long { Value = 0x100000000 }; when in Microsoft-extension mode (-fms-extensions). This (now C++0x) feature has been supported since Microsoft Visual Studio .NET 2003. llvm-svn: 126243
-
Matt Beaumont-Gay authored
llvm-svn: 126240
-
Evan Cheng authored
llvm-svn: 126238
-
Johnny Chen authored
and implement EmulateCMNImm() and EMulateCMNReg() methods. llvm-svn: 126236
-
Greg Clayton authored
llvm-svn: 126235
-
Johnny Chen authored
Fix the 'variants' field of "CMN (immediate)" Encoding T1 entry, it should be ARMV6T2_ABOVE, not ARMvAll. llvm-svn: 126234
-
Devang Patel authored
llvm-svn: 126232
-
Devang Patel authored
clang uses DBuilder, so it requries corresponding change. llvm-svn: 126231
-
Douglas Gregor authored
array from a constant array compound literal. Fixes PR9261. llvm-svn: 126230
-