Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove a duplicative binding. Patch by Mahadevan R. | Gordon Henriksen | 2008-05-19 | 1 | -3/+0 | |
| | | | | llvm-svn: 51238 | |||||
* | Use (void) instead of () in C code. | Gordon Henriksen | 2008-05-04 | 1 | -15/+15 | |
| | | | | llvm-svn: 50620 | |||||
* | Correct parameter attributes encoding for C bindings. | Anton Korobeynikov | 2008-04-28 | 1 | -4/+4 | |
| | | | | | | Patch by Anders Johnsen! llvm-svn: 50375 | |||||
* | Expose parameter attributes via C bindings. | Gordon Henriksen | 2008-04-28 | 1 | -0/+22 | |
| | | | | | | Patch by Anders Johnsen! llvm-svn: 50360 | |||||
* | PR2245: Misleading parameter name in llvm-c/Core.h:LLVMConstArray | Gordon Henriksen | 2008-04-25 | 1 | -1/+1 | |
| | | | | | | Applying fix by Frits van Bommel. llvm-svn: 50250 | |||||
* | Merge LLVMBuilder and FoldingBuilder, calling | Duncan Sands | 2008-04-13 | 1 | -2/+2 | |
| | | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604 | |||||
* | Objective Caml bindings for basic block, function, global, and arg iterators. | Gordon Henriksen | 2008-03-23 | 1 | -2/+10 | |
| | | | | llvm-svn: 48711 | |||||
* | C bindings for Module-, Function-, and BasicBlock::iterator. | Gordon Henriksen | 2008-03-19 | 1 | -0/+14 | |
| | | | | llvm-svn: 48528 | |||||
* | C and Objective Caml bindings for the various getParent methods of the IR. | Gordon Henriksen | 2008-03-19 | 1 | -3/+12 | |
| | | | | | | Based on Erick Tryzelaar's patch. llvm-svn: 48523 | |||||
* | Remove unnecessary includes. | Gordon Henriksen | 2008-03-16 | 1 | -2/+1 | |
| | | | | llvm-svn: 48418 | |||||
* | C and Objective Caml bindings for PassManagers. | Gordon Henriksen | 2008-03-16 | 1 | -12/+69 | |
| | | | | llvm-svn: 48413 | |||||
* | Expose Module::dump via C and Ocaml. | Gordon Henriksen | 2008-03-14 | 1 | -0/+3 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48379 | |||||
* | Cleanup some comments in the OCaml bindings. | Gordon Henriksen | 2008-03-07 | 1 | -8/+14 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014 | |||||
* | Fixing a bug creating floating point constants of type other | Gordon Henriksen | 2008-02-02 | 1 | -0/+1 | |
| | | | | | | | than double through the C bindings. Thanks to Tomas Lindquist Olsen for reporting it. llvm-svn: 46656 | |||||
* | Adding C bindings for SwitchInst::addCase. | Gordon Henriksen | 2008-01-01 | 1 | -0/+4 | |
| | | | | | | Patch by Bryan O'Sullivan! llvm-svn: 45481 | |||||
* | Add some doxygen comments to llvm-c/Core.h. | Gordon Henriksen | 2007-12-30 | 1 | -52/+71 | |
| | | | | llvm-svn: 45450 | |||||
* | Bindings for instruction calling conventions. | Gordon Henriksen | 2007-12-29 | 1 | -0/+4 | |
| | | | | llvm-svn: 45422 | |||||
* | Don't attribute in file headers anymore. See llvmdev for the | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | | | discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411 | |||||
* | Adding bindings for target triple and data layout. | Gordon Henriksen | 2007-12-27 | 1 | -0/+8 | |
| | | | | llvm-svn: 45369 | |||||
* | Switch the bindings to use LLVMFoldingBuilder. | Gordon Henriksen | 2007-12-27 | 1 | -8/+8 | |
| | | | | llvm-svn: 45367 | |||||
* | Adding bindings for memory buffers and module providers. Switching | Gordon Henriksen | 2007-12-19 | 1 | -66/+46 | |
| | | | | | | to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226 | |||||
* | C and Ocaml bindings for address spaces, for that burgeoning market | Gordon Henriksen | 2007-12-17 | 1 | -1/+2 | |
| | | | | | | for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096 | |||||
* | Add (very basic) bindings for ModuleProvider. | Gordon Henriksen | 2007-12-12 | 1 | -0/+27 | |
| | | | | llvm-svn: 44899 | |||||
* | Adding a collector name attribute to Function in the IR. These | Gordon Henriksen | 2007-12-10 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | methods are new to Function: bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::string &); void clearCollector(); The assembly representation is as such: define void @f() gc "shadow-stack" { ... The implementation uses an on-the-side table to map Functions to collector names, such that there is no overhead. A StringPool is further used to unique collector names, which are extremely likely to be unique per process. llvm-svn: 44769 | |||||
* | C and Objective Caml bindings for PHINode::addIncoming etc. | Gordon Henriksen | 2007-10-08 | 1 | -0/+6 | |
| | | | | llvm-svn: 42760 | |||||
* | C and Objective Caml bindings for getFunction and getNamedGlobal. Also enhanced | Gordon Henriksen | 2007-10-08 | 1 | -0/+2 | |
| | | | | | | | the Objective Caml 'declare_*' functions to behave more or less like getOrInsertFunction. llvm-svn: 42740 | |||||
* | C and Objective Caml bindings for GlobalVariable::isConstant. | Gordon Henriksen | 2007-10-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 42736 | |||||
* | C and Objective Caml bindings for PATypeHolder. | Gordon Henriksen | 2007-10-07 | 1 | -0/+17 | |
| | | | | llvm-svn: 42713 | |||||
* | Adopting a uniform naming convention for type constructors in bindings. | Gordon Henriksen | 2007-10-06 | 1 | -10/+10 | |
| | | | | llvm-svn: 42698 | |||||
* | Adopting a uniform naming convention for constant constructors in bindings. | Gordon Henriksen | 2007-10-06 | 1 | -13/+12 | |
| | | | | llvm-svn: 42697 | |||||
* | Adding C and Ocaml bindings for ConstantExpr. | Gordon Henriksen | 2007-10-06 | 1 | -0/+49 | |
| | | | | llvm-svn: 42696 | |||||
* | Wrapping Value::dump. | Gordon Henriksen | 2007-10-06 | 1 | -0/+1 | |
| | | | | llvm-svn: 42668 | |||||
* | Removing the silly CHelpers header by rolling wrap and unwrap into the C | Gordon Henriksen | 2007-10-05 | 1 | -2/+101 | |
| | | | | | | bindings headers themselves, hidden behind #ifdef __cplusplus. llvm-svn: 42666 | |||||
* | Added C and Ocaml bindings for functions, basic blocks, and | Gordon Henriksen | 2007-09-26 | 1 | -14/+208 | |
| | | | | | | | | | instruction creation. No support yet for instruction introspection. Also eliminated allocas from the Ocaml bindings for portability, and avoided unnecessary casts. llvm-svn: 42367 | |||||
* | Tests of the ocaml (and thus C) bindings for constants. | Gordon Henriksen | 2007-09-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 42101 | |||||
* | C bindings for libLLVMCore.a and libLLVMBitWriter.a. | Gordon Henriksen | 2007-09-18 | 1 | -0/+221 | |
- The naming prefix is LLVM. - All types are represented using opaque references. - Functions are not named LLVM{Type}{Method}; the names became unreadable goop. Instead, they are named LLVM{ImperativeSentence}. - Where an attribute only appears once in the class hierarchy (e.g., linkage only applies to values; parameter types only apply to function types), the class is omitted from identifiers for brevity. Tastes like methods. - Strings are C strings or string/length tuples on a case-by-case basis. - APIs which give the caller ownership of an object are not mapped (removeFromParent, certain constructor overloads). This keeps keep memory management as simple as possible. For each library with bindings: llvm-c/<LIB>.h - Declares the bindings. lib/<LIB>/<LIB>.cpp - Implements the bindings. So just link with the library of your choice and use the C header instead of the C++ one. llvm-svn: 42077 |