- Jun 10, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52162
-
- Jun 08, 2008
-
-
Eli Friedman authored
This fix just makes sure to construct the global with the appropriate type, and fixes up the one user this affects to compensate. llvm-svn: 52084
-
- Jun 05, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51993
-
- May 31, 2008
-
-
Eli Friedman authored
llvm-svn: 51826
-
- May 30, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51765
-
- May 23, 2008
-
-
Dan Gohman authored
llvm::Type::isSingleValueType. Currently these two functions have the same behavior, but soon isFirstClassType will return true for struct and array types. Clang may some day want to use of isFirstClassType for some of these some day as an optimization, but it'll require some consideration. llvm-svn: 51446
-
- May 08, 2008
-
-
Chris Lattner authored
targets that do not support recursion (and thus codegen stack variables as globals). Patch contributed by Alireza Moshtaghi! llvm-svn: 50844
-
- Apr 19, 2008
-
-
Nate Begeman authored
llvm-svn: 49951
-
- Apr 16, 2008
-
-
Steve Naroff authored
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it). llvm-svn: 49748
-
- Apr 07, 2008
-
-
Chris Lattner authored
llvm-svn: 49295
-
- Apr 04, 2008
-
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
Chris Lattner authored
llvm-svn: 49201
-
- Mar 16, 2008
-
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Feb 26, 2008
-
-
Lauro Ramos Venancio authored
void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627
-
- Feb 16, 2008
-
-
Lauro Ramos Venancio authored
llvm-svn: 47223
-
- Feb 15, 2008
-
-
Eli Friedman authored
llvm-svn: 47156
-
- Feb 06, 2008
-
-
Chris Lattner authored
static variables outside functions. llvm-svn: 46800
-
- Feb 04, 2008
-
-
Christopher Lamb authored
qualifiers use the __attribute__((address_space(id))) syntax. llvm-svn: 46691
-
- Jan 09, 2008
-
-
Chris Lattner authored
This fixes a crash reported by Seo Sanghyeon llvm-svn: 45778
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 02, 2007
-
-
Oliver Hunt authored
We now use the CodeGenModule logic for generating the constant initialiser expression, so happily further initialiser fixes should automatically work for statics as well. llvm-svn: 44495
-
- Oct 26, 2007
-
-
Devang Patel authored
Code gen static initializer. llvm-svn: 43386
-
- Oct 17, 2007
-
-
Anders Carlsson authored
Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant. llvm-svn: 43058
-
- Oct 08, 2007
-
-
Chris Lattner authored
likewise block and param. Reorder the layout of the Decl kind enum so that the inheritance tree is reflected in the ordering. This allows trivial range comparisons to determine whether something is an instance of some abstract class, making classof faster. llvm-svn: 42772
-
- Aug 26, 2007
-
-
Chris Lattner authored
llvm-svn: 41444
-
Chris Lattner authored
llvm-svn: 41442
-
Chris Lattner authored
llvm-svn: 41441
-
Chris Lattner authored
llvm-svn: 41426
-
- Aug 24, 2007
-
-
Chris Lattner authored
This patch temporarily breaks compound assignment operators, but greatly simplifies many things. llvm-svn: 41355
-
- Jul 16, 2007
-
-
Chris Lattner authored
llvm-svn: 39884
-
- Jul 13, 2007
-
-
Chris Lattner authored
llvm-svn: 39795
-
- Jul 12, 2007
-
-
Chris Lattner authored
llvm-svn: 39771
-
- Jun 22, 2007
-
-
Chris Lattner authored
of complex. We now produce optimal code for: void test(_Complex float *Y) { *Y = *Y + *Y; } $ clang -emit-llvm cg.c | llvm-as | opt -std-compile-opts | llc -march=x86-64 ... _test: movss (%rdi), %xmm0 addss %xmm0, %xmm0 movss 4(%rdi), %xmm1 movss %xmm0, (%rdi) addss %xmm1, %xmm1 movss %xmm1, 4(%rdi) ret llvm-svn: 39673
-
Chris Lattner authored
llvm-svn: 39671
-
Chris Lattner authored
llvm-svn: 39670
-
Chris Lattner authored
llvm-svn: 39667
-
- Jun 16, 2007
-
-
Chris Lattner authored
out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
-
- Jun 13, 2007
-
-
Chris Lattner authored
int test(int X, short Y, float Z) { return (int)(X*Y+Z); } to: define i32 @test(i32 %X, i16 %Y, float %Z) { entry: %promote = sext i16 %Y to i32 ; <i32> [#uses=1] %mul = mul i32 %promote, %X ; <i32> [#uses=1] %promote3 = sitofp i32 %mul to float ; <float> [#uses=1] %add = add float %promote3, %Z ; <float> [#uses=1] %conv = fptosi float %add to i32 ; <i32> [#uses=1] ret i32 %conv } with: $ clang -emit-llvm t.c | llvm-as | opt -std-compile-opts | llvm-dis llvm-svn: 39652
-
- Jun 09, 2007
-
-
Chris Lattner authored
stuff like: void test() { int *X, Y, *Z[14]; X[Y] = 4; } llvm-svn: 39624
-
- Jun 02, 2007
-
-
Chris Lattner authored
int func() { register int X; { int Y; into: define i32 @func() { entry: %X = alloca i32 ; <i32*> [#uses=0] %Y = alloca i32 ; <i32*> [#uses=0] %allocapt = bitcast i32 undef to i32 ; <i32> [#uses=0] ... llvm-svn: 39553
-