Permalink
Switch branches/tags
Nothing to show
Commits on Mar 12, 2012
  1. Add authors file

    garazdawi committed Mar 12, 2012
  2. Merge remote-tracking branch 'yiannist/review'

    garazdawi committed Mar 12, 2012
    * yiannist/review:
      Fixed some type-handling errors and enum-initializer bug
      Fixed typos and unused var warnings
      Removed files that caused unresolved symbols from doxygen
      Changed API to go with LLVM 3.1
      Added auto-generated files to .gitignore
    
    Conflicts:
    	api_gen/llvm_api_parser.erl
Commits on Mar 11, 2012
  1. Removed files that caused unresolved symbols from doxygen

    yiannist committed Mar 11, 2012
    EnhancedDisassembly, lto and LinkTimeOptimizer currently cause errors in loading
    NIFs. This should be further investigated... SIZEOF_LONG_LONG=8 is needed for
    correctly handling LLVMConstInt (otherwise it segfaults).
  2. Changed API to go with LLVM 3.1

    yiannist committed Mar 11, 2012
Commits on Feb 13, 2012
  1. Fix bug when using enum initializer

    garazdawi committed Feb 13, 2012
    The bug would make enums which looks like this:
    
    > typedef enum {
    >  LLVMIntEQ = 32, /**< equal */
    >  LLVMIntNE,      /**< not equal */
    >  LLVMIntUGT,     /**< unsigned greater than */
    >  LLVMIntUGE,     /**< unsigned greater or equal */
    >  LLVMIntULT,     /**< unsigned less than */
    >  LLVMIntULE,     /**< unsigned less or equal */
    >  LLVMIntSGT,     /**< signed greater than */
    >  LLVMIntSGE,     /**< signed greater or equal */
    >  LLVMIntSLT,     /**< signed less than */
    >  LLVMIntSLE      /**< signed less or equal */
    > } LLVMIntPredicate;
    
    to be generated as this:
    
    > %% enum LLVMIntPredicate
    > -define(LLVMIntEQ,{'LLVMIntPredicate',32}).
    > %% equal
    > -define(LLVMIntNE,{'LLVMIntPredicate',0}).
    > %% not equal
    > -define(LLVMIntUGT,{'LLVMIntPredicate',1}).
    > %% unsigned greater than
    > -define(LLVMIntUGE,{'LLVMIntPredicate',2}).
    > %% unsigned greater or equal
    > -define(LLVMIntULT,{'LLVMIntPredicate',3}).
    > %% unsigned less than
    > -define(LLVMIntULE,{'LLVMIntPredicate',4}).
    > %% unsigned less or equal
    > -define(LLVMIntSGT,{'LLVMIntPredicate',5}).
    > %% signed greater than
    > -define(LLVMIntSGE,{'LLVMIntPredicate',6}).
    > %% signed greater or equal
    > -define(LLVMIntSLT,{'LLVMIntPredicate',7}).
    > %% signed less than
    > -define(LLVMIntSLE,{'LLVMIntPredicate',8}).
    > %% signed less or equal
    
    which is obviously wrong.
    
    Thanks Yannis Tsiouris for the patch!
Commits on Jan 25, 2012
  1. Add NOTICE and LICENSE

    garazdawi committed Jan 25, 2012
Commits on Oct 2, 2011
  1. Add nfactorial performance tests.

    garazdawi committed Oct 2, 2011
    erlang is about 20 times faster than native JIT :(
  2. markify

    garazdawi committed Oct 2, 2011
  3. Add basic readme

    garazdawi committed Oct 2, 2011
  4. Add erlang SUITE

    garazdawi committed Oct 2, 2011
  5. Fix ConstInt operation

    garazdawi committed Oct 2, 2011
Commits on Oct 1, 2011
  1. Remove erlang parse and scan

    garazdawi committed Oct 1, 2011
  2. Add erlang scan and parse

    garazdawi committed Oct 1, 2011
Commits on Jul 2, 2011
  1. Added support for almost all function, to see which function do not w…

    garazdawi committed Jul 2, 2011
    …ork see api_gen/llvm_api.hrl::LIMIT
Commits on Jun 29, 2011
  1. Fix bug relating to malloc not returning pointers to NULL places.

    garazdawi committed Jun 29, 2011
    Make all tests compile and run.
Commits on Jun 26, 2011
  1. Got first run on of a program to work! Weee! See kaleidoscope_SUITE:c…

    garazdawi committed Jun 26, 2011
    …ompile for example.
    
    Inorder to get that to work I had to add out parameter support and clean up my pointer support alot.
Commits on Jun 25, 2011
  1. Add FunctionPass functions

    garazdawi committed Jun 25, 2011
Commits on Jun 21, 2011
Commits on Jun 20, 2011
  1. Add ConstNull function

    garazdawi committed Jun 20, 2011