summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Core.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove a duplicative binding. Patch by Mahadevan R.Gordon Henriksen2008-05-191-3/+0
| | | | llvm-svn: 51238
* Use (void) instead of () in C code.Gordon Henriksen2008-05-041-15/+15
| | | | llvm-svn: 50620
* Correct parameter attributes encoding for C bindings.Anton Korobeynikov2008-04-281-4/+4
| | | | | | Patch by Anders Johnsen! llvm-svn: 50375
* Expose parameter attributes via C bindings.Gordon Henriksen2008-04-281-0/+22
| | | | | | Patch by Anders Johnsen! llvm-svn: 50360
* PR2245: Misleading parameter name in llvm-c/Core.h:LLVMConstArrayGordon Henriksen2008-04-251-1/+1
| | | | | | Applying fix by Frits van Bommel. llvm-svn: 50250
* Merge LLVMBuilder and FoldingBuilder, callingDuncan Sands2008-04-131-2/+2
| | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
* Objective Caml bindings for basic block, function, global, and arg iterators.Gordon Henriksen2008-03-231-2/+10
| | | | llvm-svn: 48711
* C bindings for Module-, Function-, and BasicBlock::iterator.Gordon Henriksen2008-03-191-0/+14
| | | | llvm-svn: 48528
* C and Objective Caml bindings for the various getParent methods of the IR.Gordon Henriksen2008-03-191-3/+12
| | | | | | Based on Erick Tryzelaar's patch. llvm-svn: 48523
* Remove unnecessary includes.Gordon Henriksen2008-03-161-2/+1
| | | | llvm-svn: 48418
* C and Objective Caml bindings for PassManagers.Gordon Henriksen2008-03-161-12/+69
| | | | llvm-svn: 48413
* Expose Module::dump via C and Ocaml.Gordon Henriksen2008-03-141-0/+3
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48379
* Cleanup some comments in the OCaml bindings.Gordon Henriksen2008-03-071-8/+14
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014
* Fixing a bug creating floating point constants of type otherGordon Henriksen2008-02-021-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 Henriksen2008-01-011-0/+4
| | | | | | Patch by Bryan O'Sullivan! llvm-svn: 45481
* Add some doxygen comments to llvm-c/Core.h.Gordon Henriksen2007-12-301-52/+71
| | | | llvm-svn: 45450
* Bindings for instruction calling conventions.Gordon Henriksen2007-12-291-0/+4
| | | | llvm-svn: 45422
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411
* Adding bindings for target triple and data layout.Gordon Henriksen2007-12-271-0/+8
| | | | llvm-svn: 45369
* Switch the bindings to use LLVMFoldingBuilder.Gordon Henriksen2007-12-271-8/+8
| | | | llvm-svn: 45367
* Adding bindings for memory buffers and module providers. SwitchingGordon Henriksen2007-12-191-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 marketGordon Henriksen2007-12-171-1/+2
| | | | | | for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096
* Add (very basic) bindings for ModuleProvider.Gordon Henriksen2007-12-121-0/+27
| | | | llvm-svn: 44899
* Adding a collector name attribute to Function in the IR. These Gordon Henriksen2007-12-101-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 Henriksen2007-10-081-0/+6
| | | | llvm-svn: 42760
* C and Objective Caml bindings for getFunction and getNamedGlobal. Also enhancedGordon Henriksen2007-10-081-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 Henriksen2007-10-071-0/+2
| | | | llvm-svn: 42736
* C and Objective Caml bindings for PATypeHolder.Gordon Henriksen2007-10-071-0/+17
| | | | llvm-svn: 42713
* Adopting a uniform naming convention for type constructors in bindings.Gordon Henriksen2007-10-061-10/+10
| | | | llvm-svn: 42698
* Adopting a uniform naming convention for constant constructors in bindings.Gordon Henriksen2007-10-061-13/+12
| | | | llvm-svn: 42697
* Adding C and Ocaml bindings for ConstantExpr.Gordon Henriksen2007-10-061-0/+49
| | | | llvm-svn: 42696
* Wrapping Value::dump.Gordon Henriksen2007-10-061-0/+1
| | | | llvm-svn: 42668
* Removing the silly CHelpers header by rolling wrap and unwrap into the CGordon Henriksen2007-10-051-2/+101
| | | | | | bindings headers themselves, hidden behind #ifdef __cplusplus. llvm-svn: 42666
* Added C and Ocaml bindings for functions, basic blocks, and Gordon Henriksen2007-09-261-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 Henriksen2007-09-181-0/+2
| | | | llvm-svn: 42101
* C bindings for libLLVMCore.a and libLLVMBitWriter.a.Gordon Henriksen2007-09-181-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
OpenPOWER on IntegriCloud