summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
Commit message (Collapse)AuthorAgeFilesLines
* PR2731: C and Ocaml bindings for setTailCall and isTailCall.Gordon Henriksen2008-08-301-0/+4
| | | | | | Based on patch by Giorgos Korfiatis. llvm-svn: 55570
* Rename some GC classes so that their roll will hopefully be clearer.Gordon Henriksen2008-08-171-2/+2
| | | | | | | | | | | | | | | | | | 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
* Delete a redundant binding, LLVMHasInitializer.Gordon Henriksen2008-08-091-1/+0
| | | | | | Please use !LLVMIsDeclaration instead. llvm-svn: 54572
* Fix the LLVMCreateJITCompiler C binding.Gordon Henriksen2008-08-081-0/+1
| | | | | | | Evan broke it in r54523 by adding a parameter in the implementation without updating the header correspondingly. llvm-svn: 54555
* Have IRBuilder take a template argument on whether or not to preserveEric Christopher2008-08-081-1/+1
| | | | | | | names. This can save a lot of allocations if you aren't going to be looking at the output. llvm-svn: 54546
* Provide a hook to set the code generation debug options to investigate lto ↵Devang Patel2008-07-031-0/+5
| | | | | | failures. llvm-svn: 53119
* Add C binding for ExecutionEngine::addGlobalMapping.Gordon Henriksen2008-06-201-0/+3
| | | | llvm-svn: 52523
* Remove a duplicative binding. Patch by Mahadevan R.Gordon Henriksen2008-05-191-3/+0
| | | | llvm-svn: 51238
* Improve documentation.Gordon Henriksen2008-05-061-1/+2
| | | | llvm-svn: 50768
* Use (void) instead of () in C code.Gordon Henriksen2008-05-042-18/+18
| | | | 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
* Expose Function::viewCFG and Function::viewCFGOnly to bindings.Erick Tryzelaar2008-03-311-0/+4
| | | | llvm-svn: 48982
* Expose ExecutionEngine::getTargetData() to c and ocaml bindings.Erick Tryzelaar2008-03-271-0/+3
| | | | llvm-svn: 48851
* Objective Caml bindings for basic block, function, global, and arg iterators.Gordon Henriksen2008-03-231-2/+10
| | | | llvm-svn: 48711
* C and Objective Caml bindings for mem2reg and reg2mem.Gordon Henriksen2008-03-201-0/+6
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48602
* 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
* C and Objective Caml bindings for the TargetData class.Gordon Henriksen2008-03-161-0/+131
| | | | llvm-svn: 48422
* C and Objective Caml bindings for several scalar transforms.Gordon Henriksen2008-03-161-0/+47
| | | | | | Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419
* 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
* fixes from review of first commitNick Kledzik2008-02-271-3/+4
| | | | llvm-svn: 47695
* first commit of new LTO system. It is not hooked up in the ↵Nick Kledzik2008-02-261-0/+234
| | | | | | llvm/tools/Makefile, so no one will build it be default yet llvm-svn: 47621
* 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-296-12/+12
| | | | | | 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
* C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).Gordon Henriksen2007-12-231-0/+115
| | | | llvm-svn: 45335
* Adding bindings for memory buffers and module providers. SwitchingGordon Henriksen2007-12-193-85/+60
| | | | | | 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-122-0/+34
| | | | llvm-svn: 44899
* Adding Ocaml bindings for the bitreader as requested by SarahGordon Henriksen2007-12-111-0/+43
| | | | | | | | | | | | | | | | | | | Thompson. Usage should be something like this: open Llvm open Llvm_bitreader match read_bitcode_file fn with | Bitreader_failure msg -> prerr_endline msg | Bitreader_success m -> ...; dispose_module m Compile with: ocamlc llvm.cma llvm_bitreader.cma ocamlopt llvm.cmxa llvm_bitreader.cmxa llvm-svn: 44824
* 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
* Bindings for the verifier.Gordon Henriksen2007-10-061-0/+53
| | | | llvm-svn: 42707
* 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
OpenPOWER on IntegriCloud