summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* "In order to ease automatic bindings generation, it would be helpful if ↵Chris Lattner2010-01-095-70/+71
| | | | | | | | 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
* Remove dead debug info intrinsics.Devang Patel2010-01-051-4/+0
| | | | | | | | | | Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557
* improve compatibility with SWIG, patch by James Knight!Chris Lattner2009-12-211-1/+5
| | | | llvm-svn: 91822
* I forgot to update the prototype for LLVMBuildIntCast when correctingDuncan Sands2009-11-231-1/+1
| | | | | | | | | | | | 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
* remove the now dead condprop pass, PR3906.Chris Lattner2009-11-111-3/+0
| | | | llvm-svn: 86810
* Remove FreeInst.Victor Hernandez2009-10-261-1/+0
| | | | | | | Remove LowerAllocations pass. Update some more passes to treate free calls just like they were treating FreeInst. llvm-svn: 85176
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-261-1/+1
| | | | | | direct inclusion edge from System to Support. llvm-svn: 85086
* Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez2009-10-241-1/+1
| | | | | | | Update all analysis passes and transforms to treat free calls just like FreeInst. Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised. llvm-svn: 84987
* Remove AllocationInst. Since MallocInst went away, AllocaInst is the only ↵Victor Hernandez2009-10-231-2/+1
| | | | | | subclass of AllocationInst, so it no longer is necessary. llvm-svn: 84969
* Remove MallocInst from LLVM Instructions.Victor Hernandez2009-10-171-1/+0
| | | | llvm-svn: 84299
* add some more hooks to the C bindings, patch by Kenneth Uildriks!Chris Lattner2009-10-121-0/+78
| | | | llvm-svn: 83821
* Add C API calls for building FNeg operations. Patch by KS Sreeram!Dan Gohman2009-09-281-0/+1
| | | | llvm-svn: 83021
* Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman2009-09-031-0/+5
| | | | | | introduced regressions in the Ocaml bindings tests. llvm-svn: 80969
* Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman2009-09-031-5/+0
| | | | | | | | | | | | | | | 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
* Make sure we specify no arguments for context functions.Erick Tryzelaar2009-08-301-2/+2
| | | | llvm-svn: 80525
* Add an 'inline hint' attribute to represent sourceDale Johannesen2009-08-261-1/+2
| | | | | | | | 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
* Expose some extra functions to llvm-cErick Tryzelaar2009-08-191-1/+2
| | | | llvm-svn: 79413
* Add LLVMInitializeAllTargetInfos for C api, and updateDaniel Dunbar2009-08-181-1/+14
| | | | | | | LLVMInitializeNativeTarget to initialize target info. - Patch by Jose Fonseca. llvm-svn: 79307
* Expose creating constant ints and floats from strings in llvm-c.Erick Tryzelaar2009-08-161-0/+9
| | | | llvm-svn: 79213
* Add an llvm-c function that lets you insert an instruction with a name.Erick Tryzelaar2009-08-161-0/+2
| | | | llvm-svn: 79163
* Expose most of the Constant creation functions to llvm-c.Erick Tryzelaar2009-08-161-0/+20
| | | | llvm-svn: 79160
* Expose most of the rest of IRBuilder's functions to llvm-c.Erick Tryzelaar2009-08-161-0/+40
| | | | llvm-svn: 79159
* Expose LLVMContext to llvm-c.Erick Tryzelaar2009-08-141-2/+49
| | | | llvm-svn: 78964
OpenPOWER on IntegriCloud