summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing X86 MMX declarations. Hopefully fixes buildbot?Dale Johannesen2010-09-101-0/+2
| | | | llvm-svn: 113643
* Add X86 MMX type to bitcode and Type.Dale Johannesen2010-09-101-1/+2
| | | | | | | (The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618
* Fix LLVM target initialization to deal with sociopathic outside projectsEric Christopher2010-08-301-8/+3
| | | | | | | | | | | that like to randomly define things like "X86", regenerate autoconf bits and update cmake. Fixes PR7852. Patch by Xerxes Rånby! llvm-svn: 112499
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-10/+1
| | | | | | being actively maintained, improved, or extended. llvm-svn: 112356
* Fix prototypes.Devang Patel2010-08-261-3/+4
| | | | llvm-svn: 112200
* lto_codegen_set_gcc_path was removed.Dan Gohman2010-08-251-8/+0
| | | | llvm-svn: 112069
* Create the new linker type "linker_private_weak_def_auto".Bill Wendling2010-08-201-1/+3
| | | | | | | | | | | It's similar to "linker_private_weak", but it's known that the address of the object is not taken. For instance, functions that had an inline definition, but the compiler decided not to inline it. Note, unlike linker_private and linker_private_weak, linker_private_weak_def_auto may have only default visibility. The symbols are removed by the linker from the final linked image (executable or dynamic library). llvm-svn: 111684
* Expose LLVMSetOperand and LLVMGetNumOperands to llvm-c and ocaml.Erick Tryzelaar2010-08-201-0/+2
| | | | llvm-svn: 111625
* Make it possible to set the cpu used for codegen.Rafael Espindola2010-08-111-0/+7
| | | | llvm-svn: 110759
* Make it possible to set the flags passed to the assembler.Rafael Espindola2010-08-101-0/+6
| | | | | | Nick, please review. llvm-svn: 110705
* Make it possible to set the target triple and expose that with an option in theRafael Espindola2010-08-091-0/+6
| | | | | | gold plugin. llvm-svn: 110604
* Fix PR7809 by creating a header for just llvm variables that can beEric Christopher2010-08-081-18/+18
| | | | | | included in exported interfaces. Update a couple of exported interfaces. llvm-svn: 110532
* start straightening out libedis's dependencies and make it fitChris Lattner2010-07-201-10/+7
| | | | | | | | | | | | | | | | better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. llvm-svn: 108869
* Expose BasicBlock::moveBefore and moveAfter in C API, patchDuncan Sands2010-07-191-0/+3
| | | | | | by Benjamin Saunders. llvm-svn: 108699
* Expose JIT::recompileAndRelinkFunction for use through the C API.Duncan Sands2010-07-191-0/+2
| | | | | | Patch by Benjamin Saunders. llvm-svn: 108690
* 80 columns.Eric Christopher2010-07-122-2/+3
| | | | llvm-svn: 108126
* Implement the "linker_private_weak" linkage type. This will be used forBill Wendling2010-07-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. However, this linkage isn't specific to Objective-C. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". Currently only supported on Darwin platforms. llvm-svn: 107433
* Revert r107205 and r107207.Bill Wendling2010-06-291-2/+1
| | | | llvm-svn: 107215
* Introducing the "linker_weak" linkage type. This will be used for Objective-CBill Wendling2010-06-291-1/+2
| | | | | | | | | | | | | | | | | | | metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
* add some more (void)'s to prototypes for PR6961Chris Lattner2010-04-291-3/+3
| | | | llvm-svn: 102667
* declare targets with (void) instead of () since this is a C header.Chris Lattner2010-04-281-2/+2
| | | | | | Patch by Lars R in PR6961. llvm-svn: 102523
* Bug fix: included System/Types.h instead ofSean Callanan2010-04-121-1/+1
| | | | | | inttypes.h to allow building on Windows. llvm-svn: 101062
* add attributes and module level asm to the ocaml bindings,Chris Lattner2010-04-101-0/+2
| | | | | | patch by Patrick Walton! llvm-svn: 100932
* Adding IPSCCP and Internalize passes to the C-bindingsWesley Peck2010-04-091-0/+6
| | | | llvm-svn: 100893
* Added support for ARM disassembly to edis.Sean Callanan2010-04-081-2/+3
| | | | | | | | | | | I also added a rule to the ARM target's Makefile to build the ARM-specific instruction information table for the enhanced disassembler. I will add the test harness for all this stuff in a separate commit. llvm-svn: 100735
* Whoops this already existed.Nate Begeman2010-03-111-3/+0
| | | | llvm-svn: 98297
* Add a handful of additional useful pass manager things to the C APINate Begeman2010-03-111-0/+10
| | | | llvm-svn: 98296
* Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options.Erick Tryzelaar2010-03-061-5/+8
| | | | llvm-svn: 97858
* Expose alignment and stack alignment attributes to llvm-c and ocaml.Erick Tryzelaar2010-03-031-1/+3
| | | | llvm-svn: 97682
* Add Module functions in place of module providers.Erick Tryzelaar2010-03-023-6/+42
| | | | llvm-svn: 97608
* Rename LLVMUseIteratorRef to LLVMUseRef since we don't refer to iterators in ↵Erick Tryzelaar2010-03-021-10/+7
| | | | | | llvm-c. llvm-svn: 97585
* Add support for global variables in an address space for llvm-c and ocaml.Erick Tryzelaar2010-02-281-0/+3
| | | | llvm-svn: 97377
* Add indirect br support to llvm-c and ocaml.Erick Tryzelaar2010-02-281-0/+6
| | | | llvm-svn: 97376
* Add metadata functions to llvm-c and ocaml.Erick Tryzelaar2010-02-281-1/+23
| | | | llvm-svn: 97375
* Add the new builder arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-281-0/+21
| | | | llvm-svn: 97372
* Add the new union arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-281-0/+1
| | | | llvm-svn: 97371
* Add generic binary op and cast builder functions.Erick Tryzelaar2010-02-281-0/+5
| | | | llvm-svn: 97370
* Fix a typo in an LLVMOpcode enum. LLVMTrunk -> LLVMTrunc.Erick Tryzelaar2010-02-161-1/+1
| | | | llvm-svn: 96324
* Remove c++ style comments from c header.Bill Wendling2010-02-151-8/+8
| | | | llvm-svn: 96266
* Renumber Instruction enums in llvm-c.Bill Wendling2010-02-151-50/+62
| | | | llvm-svn: 96264
* Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner2010-02-121-1/+9
| | | | llvm-svn: 96011
* Added header file declarations and .exports entriesSean Callanan2010-02-081-1/+46
| | | | | | | for the new APIs offered by the enhanced disassembler for inspecting operands. llvm-svn: 95606
* Reintroduce the InlineHint function attribute.Jakob Stoklund Olesen2010-02-061-1/+2
| | | | | | | | | | | | This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. llvm-svn: 95466
* Filled in a few new APIs for the enhancedSean Callanan2010-02-041-1/+1
| | | | | | | | disassembly library that provide access to instruction information, and fixed ambiguous wording in the comments for the header. llvm-svn: 95274
* Changed constants to an enum so as not to pollute theSean Callanan2010-01-271-4/+4
| | | | | | global namespace needlessly. llvm-svn: 94697
* Added a header file defining the externally-visible C APISean Callanan2010-01-271-0/+470
| | | | | | for the LLVM disassemblers. llvm-svn: 94696
* Kill ModuleProvider and ghost linkage by inverting the relationship betweenJeffrey Yasskin2010-01-271-12/+14
| | | | | | | | | | | | | | | | | | | | | Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-1/+1
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-151-2/+1
| | | | | | users. llvm-svn: 93558
* hopefully unbreak the ocaml bindings.Chris Lattner2010-01-091-1/+1
| | | | llvm-svn: 93082
OpenPOWER on IntegriCloud