- Dec 02, 2010
-
-
Eric Christopher authored
llvm-svn: 120648
-
Eric Christopher authored
llvm-svn: 120647
-
John McCall authored
llvm-svn: 120646
-
Chris Lattner authored
a global is larger than 32 bytes and has fewer than 6 non-zero values in the initializer. Previously we'd turn something like this: char test8(int X) { char str[10000] = "abc"; into a 10K global variable which we then memcpy'd from. Now we generate: %str = alloca [10000 x i8], align 16 %tmp = getelementptr inbounds [10000 x i8]* %str, i64 0, i64 0 call void @llvm.memset.p0i8.i64(i8* %tmp, i8 0, i64 10000, i32 16, i1 false) store i8 97, i8* %tmp, align 16 %0 = getelementptr [10000 x i8]* %str, i64 0, i64 1 store i8 98, i8* %0, align 1 %1 = getelementptr [10000 x i8]* %str, i64 0, i64 2 store i8 99, i8* %1, align 2 Which is much smaller in space and also likely faster. This is part of PR279 llvm-svn: 120645
-
John McCall authored
into the latter. llvm-svn: 120643
-
Bob Wilson authored
llvm-svn: 120642
-
Bob Wilson authored
Make sure the -Wvector-conversions does not cause unnecessary warnings when using Neon intrinsics with the correct types. llvm-svn: 120634
-
Bob Wilson authored
Check for compatible gcc, Altivec and Neon vectors before handling the lax-vector-conversions case. Otherwise there is no way to avoid the warnings from -Wvector-conversions. llvm-svn: 120633
-
Douglas Gregor authored
to be available in debug vs. release builds. llvm-svn: 120629
-
Douglas Gregor authored
llvm-svn: 120628
-
Douglas Gregor authored
definition of an Objective-C class. Unlike with C/C++ classes, we don't have a well-defined point in Sema where Objective-C classes are checked for completeness, nor do we need to involve Sema when completing a class. Therefore, we take the appropriate of having the external AST source mark a particular Objective-C class as having an external declaration; when using one of the accessors of an Objective-C class that has an external declaration, we request that the external AST source fill in the Objective-C class definition. llvm-svn: 120627
-
- Dec 01, 2010
-
-
Fariborz Jahanian authored
to be used in copy helper synthesis of __block variables. wip. llvm-svn: 120617
-
Ted Kremenek authored
to 'assumeXXX'. llvm-svn: 120614
-
Eric Christopher authored
llvm-svn: 120613
-
Anton Yartsev authored
llvm-svn: 120610
-
Ted Kremenek authored
'evalXXX'. llvm-svn: 120609
-
Douglas Gregor authored
conversions. Previously, we would end up collapsing qualification conversions into the Objective-C pointer conversion step, including (possibly) stripping qualifiers that shouldn't be removed. This generalizes BuildSimilarlyQualifiedPointerType() to also work on Objective-C object pointers, then eliminates the (redundant, not totally correct) BuildSimilarlyQualifiedObjCObjectPointerType() function. Fixes <rdar://problem/8714395>. llvm-svn: 120607
-
Ted Kremenek authored
reflects what the class actually does. llvm-svn: 120605
-
Shantonu Sen authored
need any of the LLVM support libraries. Reviewed by Daniel Dunbar. llvm-svn: 120602
-
Douglas Gregor authored
instantiations, GCC also supports "inline" and "static" explicit template instantiations. Parse and warn about such constructs, but don't implement the semantics of either "inline" or "static". They don't seem to be widely used. llvm-svn: 120599
-
Bob Wilson authored
llvm-svn: 120598
-
Peter Collingbourne authored
llvm-svn: 120588
-
Douglas Gregor authored
disambiguate between an expression (for a bit-field width) and a type (for a fixed underlying type). Since the disambiguation can be expensive (due to tentative parsing), we perform a simplistic disambiguation based on one-token lookahead before going into the full-blown tentative parsing. Based on a patch by Daniel Wallin. llvm-svn: 120582
-
Douglas Gregor authored
redeclaration of an enum type differs from that of the original declaration, from Daniel Wallin llvm-svn: 120577
-
Douglas Gregor authored
AST printing for scoped enumerations and enumerations with a fixed underlying type, from Daniel Wallin llvm-svn: 120576
-
John McCall authored
llvm-svn: 120562
-
John McCall authored
llvm-svn: 120555
-
Nick Lewycky authored
llvm-svn: 120554
-
Peter Collingbourne authored
llvm-svn: 120553
-
Peter Collingbourne authored
llvm-svn: 120545
-
Peter Collingbourne authored
llvm-svn: 120544
-
Peter Collingbourne authored
llvm-svn: 120543
-
Dan Gohman authored
specified a syntactically invalid path, it's better to let the OS diagnose the problem than to silently skip it. llvm-svn: 120542
-
Chris Lattner authored
http://llvm.org/bugs/show_bug.cgi?id=279#c3 better. No functionality change yet. llvm-svn: 120530
-
Rafael Espindola authored
llvm-svn: 120528
-
Chris Lattner authored
using ConstantInt::get. llvm-svn: 120527
-
Douglas Gregor authored
llvm-svn: 120523
-
Fariborz Jahanian authored
'Class' type, disgnostic should refere to a class method. Fixes // rdar://8592156 llvm-svn: 120517
-
John McCall authored
refer to opaque types, they must be held via PATypeHolders. I'm not sure why this hasn't blown up before. llvm-svn: 120491
-
John McCall authored
llvm-svn: 120489
-