- Jan 11, 2011
-
-
Jakob Stoklund Olesen authored
llvm-svn: 123282
-
Venkatraman Govindaraju authored
llvm-svn: 123281
-
Rafael Espindola authored
llvm-svn: 123280
-
Douglas Gregor authored
and function templates that contain variadic templates. This involves three small-ish changes: (1) When transforming a pack expansion, if the transformed argument still contains unexpanded parameter packs, build a pack expansion. This can happen during the substitution that occurs into class template partial specialiation template arguments during partial ordering. (2) When performing template argument deduction where the argument is a pack expansion, match against the pattern of that pack expansion. (3) When performing template argument deduction against a non-pack parameter, or a non-expansion template argument, deduction fails if the argument itself is a pack expansion (C++0x [temp.deduct.type]p22). llvm-svn: 123279
-
Cameron Zwarich authored
once at the beginning of GVN instead of once per iteration. llvm-svn: 123278
-
Jakob Stoklund Olesen authored
For one, MachineBasicBlock::getFirstTerminator() doesn't understand what is happening, and it also makes sense to have all control flow run through the DBG_VALUE. llvm-svn: 123277
-
Evan Cheng authored
llvm-svn: 123276
-
Rafael Espindola authored
think it is safe to mark all type infos with unnamed_addr, but I am not sure. llvm-svn: 123275
-
Devang Patel authored
This is not yet completely enabled. llvm-svn: 123274
-
Jakob Stoklund Olesen authored
llvm-svn: 123273
-
Rafael Espindola authored
llvm-svn: 123272
-
Eric Christopher authored
llvm-svn: 123271
-
Cameron Zwarich authored
llvm-svn: 123270
-
Howard Hinnant authored
llvm-svn: 123269
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to verify that they assign 'self' to the result of an initialization call (e.g. [super init], or [self initWith..]) before using any instance variable or returning 'self'. llvm-svn: 123264
-
Argyrios Kyrtzidis authored
llvm-svn: 123263
-
Argyrios Kyrtzidis authored
the prefix should be ignored. E.g. if ignorePrefix is true, "_init" and "init" selectors will both be result in InitRule, but if ignorePrefix is false, only "init" will return InitRule. llvm-svn: 123262
-
Argyrios Kyrtzidis authored
[analyzer] Add 'isLoad' parameter in Checker::visitLocation() to conveniently distinguish between loads/stores. llvm-svn: 123261
-
Jakob Stoklund Olesen authored
Speculatively revert the recent improvements to Dominators.h in an attempt to track down the gcc bootstrap miscompare. llvm-svn: 123254
-
Daniel Dunbar authored
llvm-svn: 123253
-
Daniel Dunbar authored
generated ARM match table, which is substantially more efficient than dealing with tblgen. llvm-svn: 123252
-
Owen Anderson authored
llvm-svn: 123248
-
Chris Lattner authored
llvm-svn: 123247
-
Bob Wilson authored
llvm-svn: 123246
-
Douglas Gregor authored
from James Widman. llvm-svn: 123245
-
Douglas Gregor authored
number of explicit call arguments. This actually fixes an erroneous test for [temp.deduct.partial]p11, where we were considering parameters corresponding to arguments beyond those that were explicitly provided. llvm-svn: 123244
-
Chris Lattner authored
llvm-svn: 123243
-
Chris Lattner authored
llvm-svn: 123242
-
Bob Wilson authored
Clang does not wrap the vectors in structs anymore so this isn't needed. llvm-svn: 123241
-
Ted Kremenek authored
llvm-svn: 123240
-
Daniel Dunbar authored
McARM: Sketch some logic for determining when to add carry set and predication code operands based on the "canonical mnemonic". llvm-svn: 123239
-
Daniel Dunbar authored
carry setting flag from the mnemonic. Note that this currently involves me disabling a number of working cases in arm_instructions.s, this is a hopefully short term evil which will be rapidly fixed (and greatly surpassed), assuming my current approach flies. llvm-svn: 123238
-
Douglas Gregor authored
llvm-svn: 123237
-
Abramo Bagnara authored
llvm-svn: 123236
-
Jay Foad authored
"this" pointer for any subclass of User, you could static_cast it to User* and then reinterpret_cast that to Use* to get the end of the operand list. This isn't a safe assumption in general, because the static_cast might adjust the "this" pointer. Fixed by having these OperandTraits classes take an extra template parameter, which is the subclass of User. This is groundwork for PR889. llvm-svn: 123235
-
Frits van Bommel authored
Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a new helper function so it can be reused in e.g. an upcoming SimplifySwitchOnSelect. No functional change. llvm-svn: 123234
-
Oscar Fuentes authored
the traditional build. Patch by arrowdodger! llvm-svn: 123233
-
Oscar Fuentes authored
llvm_process_sources. llvm-svn: 123232
-
Francois Pichet authored
In Microsoft mode, force 64 bit hex integer constants to signed type if the LL or i64 suffix is used. This MSVC behavior. For example: void f(long long){ printf("long long"); } void f(unsigned long long) { printf("unsigned long long"); } int main() { f(0xffffffffffffffffLL); } Will print "long long" using MSVC. This patch also fixes 16 compile errors related to overloading issues when parsing the MSVC 2008 C++ standard lib. llvm-svn: 123231
-
Francois Pichet authored
i64 is like LL i32 is like L Also set isMicrosoftInteger to true only if the suffix is well formed. llvm-svn: 123230
-