- Jul 08, 2009
-
-
Nick Lewycky authored
these instructions, no autoupgrade or backwards compatibility support is provided. llvm-svn: 74991
-
- Jul 06, 2009
-
-
Chris Lattner authored
llvm-svn: 74836
-
- Jul 02, 2009
-
-
Owen Anderson authored
default global context, while new *InContext() APIs have been added that take a LLVMContextRef parameter. Apologies to anyone affected by this breakage. llvm-svn: 74694
-
Owen Anderson authored
llvm-svn: 74675
-
- Jul 01, 2009
-
-
Owen Anderson authored
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
-
- May 06, 2009
-
-
Duncan Sands authored
Incomplete, but better than nothing. llvm-svn: 71081
-
- Apr 13, 2009
-
-
Chris Lattner authored
llvm-svn: 68942
-
- Mar 11, 2009
-
-
Duncan Sands authored
linkage, so remove it. llvm-svn: 66690
-
Duncan Sands authored
linkage: this linkage type only applies to declarations, but ODR is only relevant to globals with definitions. llvm-svn: 66650
-
- Mar 07, 2009
-
-
Duncan Sands authored
and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
-
- Dec 19, 2008
-
-
Gordon Henriksen authored
llvm-svn: 61253
-
Gordon Henriksen authored
This operation can be used to build dyn_cast, isa, and cast. llvm-svn: 61252
-
- Dec 17, 2008
-
-
Chris Lattner authored
- ability to insert previously created instructions using a builder - creation of aliases - creation of inline asm constants Patch by Zoltan Varga! llvm-svn: 61153
-
- Nov 03, 2008
-
-
Dan Gohman authored
llvm-svn: 58650
-
- Sep 25, 2008
-
-
Devang Patel authored
s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622
-
- Aug 30, 2008
-
-
Gordon Henriksen authored
Based on patch by Giorgos Korfiatis. llvm-svn: 55570
-
- Aug 17, 2008
-
-
Gordon Henriksen authored
In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
-
- Aug 09, 2008
-
-
Gordon Henriksen authored
Please use !LLVMIsDeclaration instead. llvm-svn: 54572
-
- Aug 08, 2008
-
-
Eric Christopher authored
names. This can save a lot of allocations if you aren't going to be looking at the output. llvm-svn: 54546
-
- May 19, 2008
-
-
Gordon Henriksen authored
llvm-svn: 51238
-
- May 04, 2008
-
-
Gordon Henriksen authored
llvm-svn: 50620
-
- Apr 28, 2008
-
-
Anton Korobeynikov authored
Patch by Anders Johnsen! llvm-svn: 50375
-
Gordon Henriksen authored
Patch by Anders Johnsen! llvm-svn: 50360
-
- Apr 25, 2008
-
-
Gordon Henriksen authored
Applying fix by Frits van Bommel. llvm-svn: 50250
-
- Apr 13, 2008
-
-
Duncan Sands authored
the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
-
- Mar 23, 2008
-
-
Gordon Henriksen authored
llvm-svn: 48711
-
- Mar 19, 2008
-
-
Gordon Henriksen authored
llvm-svn: 48528
-
Gordon Henriksen authored
Based on Erick Tryzelaar's patch. llvm-svn: 48523
-
- Mar 16, 2008
-
-
Gordon Henriksen authored
llvm-svn: 48418
-
Gordon Henriksen authored
llvm-svn: 48413
-
- Mar 15, 2008
-
-
Gordon Henriksen authored
Patch by Erick Tryzelaar. llvm-svn: 48379
-
- Mar 07, 2008
-
-
Gordon Henriksen authored
Patch by Erick Tryzelaar. llvm-svn: 48014
-
- Feb 02, 2008
-
-
Gordon Henriksen authored
than double through the C bindings. Thanks to Tomas Lindquist Olsen for reporting it. llvm-svn: 46656
-
- Jan 01, 2008
-
-
Gordon Henriksen authored
Patch by Bryan O'Sullivan! llvm-svn: 45481
-
- Dec 30, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45450
-
- Dec 29, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45422
-
Chris Lattner authored
discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411
-
- Dec 27, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45369
-
Gordon Henriksen authored
llvm-svn: 45367
-
- Dec 19, 2007
-
-
Gordon Henriksen authored
to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226
-