Skip to content

Releases: ApsarasX/llvm-bindings

v0.1.4

29 Mar 08:34
Compare
Choose a tag to compare

Features

  • IR: add IRBuilder.CreateSelect (33da3bf)

v0.1.3

29 Mar 07:47
Compare
Choose a tag to compare

Bug Fixes

  • IR: fix the parameter verification problem of IRBuilder.CreateLoad (df2b800)

v0.1.2

28 Mar 16:36
Compare
Choose a tag to compare

Features

  • IR: add IRBuilder.CreateGEP and IRBuilder.CreateInBoundsGEP (47f7c92)

v0.1.1

28 Mar 15:38
Compare
Choose a tag to compare

Features

  • IR: add class PHINode and IRBuilder.CreatePHI (3cf11fb)
  • IR: add more create methods of cast instruction in IRBuilder (14a1a70)

v0.1.0

28 Mar 10:16
Compare
Choose a tag to compare

Features

  • IR: add class Instruction and supplement several APIs of class BasicBlock (510973f)
  • IR: add IRBuilder.CreateGlobalString and IRBuilder.CreateGlobalStringPtr (02bb15c)
  • IR: add several instruction classes, include AllocaInst, BranchInst, CallInst, LoadInst, ReturnInst and StoreInst (8be97ad)
  • IR: make static 'New' functions of classes with subclasses more precise (b3bbb66)

Performance Improvements

  • use HandleScope in right places (9f6953d)

v0.0.4

27 Mar 06:16
Compare
Choose a tag to compare
release: release v0.0.4

v0.0.3

27 Mar 05:45
Compare
Choose a tag to compare

Bug Fixes

  • Bitcode: correct name of function WriteBitcodeToFile and make up its signature (3e7bfe5)

Features

  • IR: add Class ArrayType (4c2c174)
  • IR: add Class ConstantPointerNull (aedc714)
  • IR: add Class SMDiagnostic and Function parseIRFile (073e9f3)

v0.0.2

26 Mar 13:28
Compare
Choose a tag to compare

Features

  • add Class Argument
  • add ConstantFP.getNaN
  • add Function.arg_size and Function.getArg
  • delete Class FunctionCallee
  • supplement more APIs of Class IRBuilder
  • add more test cases
  • add type signature for new APIs

v0.0.1

26 Mar 04:39
Compare
Choose a tag to compare

This is the first release of llvm-bindings.

And in this version, llvm-bindings has supported some of high frequency used APIs of LLVM.

The specific classes and functions supported by the version are as follows:

  • ADT: APInt APFloat
  • Bitcode: writeBitcodeToFile
  • IR: LLVMContext Module Type IntegerType PointerType FunctionType StructType Value User Constant ConstantInt ConstantFP GlobalValue GlobalObject GlobalVariable Function BasicBlock FunctionCallee IRBuilder
  • Support: Target TargetRegistry.lookupTarget initializeAllTargetInfos initializeAllTargets initializeAllTargetMCs initializeAllAsmParsers initializeAllAsmPrinters
  • Target: TargetMachine