llvm-6502/include/llvm
Gordon Henriksen 8b94a14a78 C bindings for libLLVMCore.a and libLLVMBitWriter.a.
- 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42077 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-18 03:18:57 +00:00
..
ADT Do not hide APInt::dump() inside #ifndef NDEBUG. 2007-09-17 22:24:00 +00:00
Analysis No need to hardcode SmallVector size. 2007-08-21 16:39:43 +00:00
Assembly Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
Bitcode Fix minor doxygen nits. 2007-08-05 20:06:04 +00:00
CodeGen Objective-C was generating EH frame info like this: 2007-09-18 01:47:22 +00:00
Config Fix PR1606: 2007-08-17 05:44:59 +00:00
Debugger
ExecutionEngine Implement x86 long double in jit (not really 2007-09-17 18:44:13 +00:00
Support Add support for appending a suffix to the end of a mangled name. 2007-09-17 22:39:32 +00:00
System Fix minor doxygen nits. 2007-08-05 20:06:04 +00:00
Target Added getNumDefs(). 2007-09-13 00:16:29 +00:00
Transforms Remove RLE from the headers, since the pass itself is gone now. 2007-09-14 22:54:46 +00:00
AbstractTypeUser.h Here is the bulk of the sanitizing. 2007-07-05 17:07:56 +00:00
Argument.h make these accessors private. 2007-05-23 05:46:04 +00:00
AutoUpgrade.h This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. 2007-08-04 01:51:18 +00:00
BasicBlock.h better portability for intptr_t. 2007-05-18 07:07:05 +00:00
CallGraphSCCPass.h Add explicit keywords. 2007-07-02 14:53:37 +00:00
CallingConv.h Fix 80 col violations. 2007-04-16 21:24:12 +00:00
CHelpers.h C bindings for libLLVMCore.a and libLLVMBitWriter.a. 2007-09-18 03:18:57 +00:00
Constant.h add a Constant::getAllOnesValue helper function, which works on integers 2007-06-15 06:10:53 +00:00
Constants.h Remove the assumption that FP's are either float or 2007-09-14 22:26:36 +00:00
DerivedTypes.h Fix comments about vectors to use the current wording. 2007-07-16 14:29:03 +00:00
Function.h clarify precedence, no functionality change. 2007-08-20 21:31:08 +00:00
GlobalAlias.h Implement review feedback 2007-04-29 18:02:48 +00:00
GlobalValue.h Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
GlobalVariable.h Implement review feedback. Aliasees can be either GlobalValue's or 2007-04-28 13:45:00 +00:00
InlineAsm.h represent indirect operands explicitly in inline asm strings. 2007-04-28 01:02:58 +00:00
InstrTypes.h sink clone() down the class hierarchy from CmpInst into ICmpInst/FCmpInst. 2007-08-24 20:48:18 +00:00
Instruction.def Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00
Instruction.h Instruction:: Next/Prev accessors are now private 2007-04-17 18:03:55 +00:00
Instructions.h Fix PR1666, SPASS with the CBE and 254.gap with the CBE. 2007-09-15 06:51:03 +00:00
IntrinsicInst.h
Intrinsics.h For PR1297: 2007-04-01 07:26:35 +00:00
Intrinsics.td Fold the adjust_trampoline intrinsic into 2007-09-11 14:10:23 +00:00
IntrinsicsPowerPC.td Convert the intrinsic function definitions to use llvm_i32_ty instead of 2006-12-31 22:24:55 +00:00
IntrinsicsX86.td Adding SSSE3 intrinsics. 2007-08-10 06:22:27 +00:00
LinkAllPasses.h Remove RLE from the headers, since the pass itself is gone now. 2007-09-14 22:54:46 +00:00
LinkAllVMCore.h
Linker.h Fix minor doxygen nits. 2007-08-05 20:06:04 +00:00
LinkTimeOptimizer.h Add printVersion(). Linker can use it to print LLVM version number. 2007-02-01 01:46:06 +00:00
Module.h Fixing an comment in Module.h that refers to a nonexistent parameter. 2007-09-18 02:09:34 +00:00
ModuleProvider.h add a hook to demat functions. 2007-03-29 18:30:26 +00:00
ParameterAttributes.h Support for trampolines, except for X86 codegen which is 2007-07-27 12:58:54 +00:00
Pass.h Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
PassAnalysisSupport.h Add a addRequiredTransitiveID member function, which is to 2007-05-14 14:21:46 +00:00
PassManager.h Fix pastos in comments for doFinalization functions. 2007-07-30 14:51:13 +00:00
PassManagers.h Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
PassSupport.h Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
SymbolTableListTraits.h Change casts from old style to new style. This helps document the details 2007-08-12 08:12:35 +00:00
Type.h remove dead enum value. 2007-09-13 06:18:04 +00:00
TypeSymbolTable.h Properly initialize value :) 2007-07-19 15:32:47 +00:00
Use.h
User.h Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*> 2007-02-12 05:18:08 +00:00
Value.h add Value::getNameStart/getNameLen() accessors. 2007-08-10 15:34:35 +00:00
ValueSymbolTable.h better portability for intptr_t. 2007-05-18 07:07:05 +00:00