- May 25, 2008
-
-
Eli Friedman authored
someone tries to make a bitfield volatile?). Not sure how to write a test; any suggestions? llvm-svn: 51558
-
Sanjiv Gupta authored
Also take care of freeing memory at the right places. llvm-svn: 51553
-
- 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 22, 2008
-
-
Eli Friedman authored
actually work (instead of crashing llc), and there's enough info emitted to get line number information in gdb. This should hopefully be helpful for debugging non-working programs. I got rid of the begin/endregion calls because the implementation wasn't working; someone who knows the debugging info a bit better might try to add it. I really have no clue how a compiler is supposed to emit them. This commit shouldn't have any effect without -g. llvm-svn: 51404
-
Eli Friedman authored
ret. llvm-svn: 51403
-
Eli Friedman authored
bit that wants to use CurFuncDecl as a FunctionDecl. llvm-svn: 51402
-
Dan Gohman authored
lib/CodeGen/CGExpr.cpp and to change include/clang/AST/Attr.h to use its own enum for visibility types instead of using llvm::GlobalValue::VisibilityTypes. These changes eliminate dependencies in the AST library on LLVM's VMCore library. llvm-svn: 51398
-
- May 21, 2008
-
-
Eli Friedman authored
changes in my tree, so I don't have a testcase which affects trunk. llvm-svn: 51371
-
- May 20, 2008
-
-
Eli Friedman authored
as far as I can tell, and it fixes code like test/CodeGen/functions.c. (Whatever performance effect it might have, crashing on a construct like this isn't really acceptable; I've run into this multiple times.) llvm-svn: 51312
-
Eli Friedman authored
llvm-svn: 51309
-
Eli Friedman authored
llvm-svn: 51304
-
Eli Friedman authored
implement bitfield codegen (although I don't envy the person who implements it). This also prevents a crash on code like that from PR2309 (it's still broken, but it fails more gracefully). llvm-svn: 51285
-
Eli Friedman authored
llvm-svn: 51284
-
Eli Friedman authored
llvm-svn: 51282
-
- May 19, 2008
-
-
Eli Friedman authored
they were causing bad code to be emitted. There are two fixes here: one makes sure we emit a string that is long enough, and one makes sure we properly handle string initialization in init lists. llvm-svn: 51259
-
- May 17, 2008
-
-
Eli Friedman authored
used for _Bool is not the same as the primitive width (which for _Bool is 1 bit). The load and store changes add some casts to make the types consistent. The EmitLValue changes make sure that the pointer is of an appropriate type for loading the bitfield. This isn't perfect, but it's an improvement, and getting everything right depends on actually laying out structs in an ABI-compliant way. llvm-svn: 51224
-
- May 16, 2008
-
-
Eli Friedman authored
at the Sema layer. llvm-svn: 51203
-
Nate Begeman authored
llvm-svn: 51199
-
Eli Friedman authored
llvm-svn: 51193
-
- May 15, 2008
-
-
Nate Begeman authored
intrin.h files are finished llvm-svn: 51137
-
- May 14, 2008
-
-
Eli Friedman authored
expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
-
Eli Friedman authored
llvm-svn: 51081
-
Eli Friedman authored
llvm-svn: 51080
-
- May 13, 2008
-
-
Nate Begeman authored
llvm-svn: 51068
-
Eli Friedman authored
llvm-svn: 51042
-
- May 12, 2008
-
-
Eli Friedman authored
llvm-svn: 50968
-
Eli Friedman authored
llvm-svn: 50966
-
- May 10, 2008
-
-
Mon P Wang authored
llvm-svn: 50919
-
- May 09, 2008
-
-
Nate Begeman authored
vector of the same element type and half the width, with the high, low, even, and odd elements respectively. Allow member references to member references, so that .hi.hi gives you the high quarter of a vector. This is fairly convenient syntax for some insert/extract operations. Remove some unnecessary methods/types in the ExtVectorElementExpr class. llvm-svn: 50892
-
- May 08, 2008
-
-
Sanjiv Gupta authored
Added -g command line options to clang for generating source level debug information. This patch currently enables generation of line number debug information (stoppoints) and region begin/end debug information. The new files CGDebugInfo.h and CGDebugInfo.cpp implements the debug info manager class CGDebugInfo. llvm-svn: 50848
-
Chris Lattner authored
targets that do not support recursion (and thus codegen stack variables as globals). Patch contributed by Alireza Moshtaghi! llvm-svn: 50844
-
Devang Patel authored
Note, this is just beginning. llvm-svn: 50835
-
- May 06, 2008
-
-
Devang Patel authored
llvm-svn: 50769
-
Chris Lattner authored
llvm-svn: 50694
-
Chris Lattner authored
llvm-svn: 50691
-
- May 04, 2008
-
-
Chris Lattner authored
llvm-svn: 50623
-
Chris Lattner authored
Fix 'swapping' of attributes to not insert null values into the DeclAttrs map. llvm-svn: 50612
-
Chris Lattner authored
type should be internal, not weak/linkonce. llvm-svn: 50611
-
- Apr 30, 2008
-
-
Chris Lattner authored
llvm-svn: 50485
-
- Apr 25, 2008
-
-
Chris Lattner authored
reimplemented in Sema someday. This is tracked in PR2236. Until then disabling it removes some bogus diagnostics (see 2236). llvm-svn: 50263
-