- Jan 09, 2010
-
-
Chris Lattner authored
"In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." Patch by James Y Knight! llvm-svn: 93079
-
- Jan 05, 2010
-
-
Devang Patel authored
Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557
-
- Nov 23, 2009
-
-
Duncan Sands authored
the body to not pass the name for the isSigned parameter. However it seems that changing prototypes is a big-no-no, so here I revert the previous change and pass "true" for isSigned, meaning this always does a signed cast, which was the previous behaviour assuming the name was not NULL! Some other C function needs to be introduced for the general case of signed or unsigned casts. This hopefully unbreaks the ocaml binding. llvm-svn: 89648
-
- Oct 27, 2009
-
-
Victor Hernandez authored
Remove LowerAllocations pass. Update some more passes to treate free calls just like they were treating FreeInst. llvm-svn: 85176
-
- Oct 26, 2009
-
-
Chandler Carruth authored
direct inclusion edge from System to Support. llvm-svn: 85086
-
- Oct 23, 2009
-
-
Victor Hernandez authored
Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary. llvm-svn: 84969
-
- Oct 17, 2009
-
-
Victor Hernandez authored
llvm-svn: 84299
-
- Oct 12, 2009
-
-
Chris Lattner authored
llvm-svn: 83821
-
- Sep 28, 2009
-
-
Dan Gohman authored
llvm-svn: 83021
-
- Sep 04, 2009
-
-
Dan Gohman authored
introduced regressions in the Ocaml bindings tests. llvm-svn: 80969
-
Dan Gohman authored
and exact flags. Because ConstantExprs are uniqued, creating an expression with this flag causes all expressions with the same operands to have the same flag, which may not be safe. Add, sub, mul, and sdiv ConstantExprs are usually folded anyway, so the main interesting flag here is inbounds, and the constant folder already knows how to set the inbounds flag automatically in most cases, so there isn't an urgent need for the API support. This can be reconsidered in the future, but for now just removing these API bits eliminates a source of potential trouble with little downside. llvm-svn: 80959
-
- Aug 31, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 80525
-
- Aug 26, 2009
-
-
Dale Johannesen authored
code hints that it would be a good idea to inline a function ("inline" keyword). No functional change yet; FEs do not emit this and inliner does not use it. llvm-svn: 80063
-
- Aug 19, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 79413
-
- Aug 17, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 79213
-
- Aug 16, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 79163
-
Erick Tryzelaar authored
llvm-svn: 79160
-
Erick Tryzelaar authored
llvm-svn: 79159
-
- Aug 14, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 78964
-
- Jul 20, 2009
-
-
Bill Wendling authored
llvm-svn: 76447
-
Bill Wendling authored
"private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
-
- Jul 17, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 76216
-
Anton Korobeynikov authored
llvm-svn: 76214
-
Anton Korobeynikov authored
llvm-svn: 76198
-
- Jul 16, 2009
-
-
Chris Lattner authored
stuff. Patch by Zoltan Varga! llvm-svn: 75842
-
- Jul 10, 2009
-
-
Chris Lattner authored
llvm-svn: 75259
-
- 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
-