0.4.2 (2022-08-01)
- Type: wrong parameter verification (8180e9c)
- IR/GlobalVariable: add setInitializer method (a11ad4c)
0.4.1 (2022-07-22)
0.4.0 (2022-06-27)
- switch the version of llvm to 14 (c08080a)
0.3.8 (2022-06-06)
- ConstantArray: add class ConstantArray and some of its methods (3b609cb)
- ConstantDataArray: add class ConstantDataArray and some of its methods (2f360f2)
0.3.7 (2022-04-27)
0.3.6 (2022-03-16)
- IR: add duplicated getValueType for some subclasses of GlobalValue (ce7c666)
0.3.5 (2022-03-01)
- test: assertion error caused by test case (7961d42)
- add support for Windows (a85aa9a)
0.3.4 (2022-02-17)
- IR: change the signature of
Module.print
(9a68779)
- IR: return missing in Module.print (377b1d4)
- Config: add LLVM Config Macro (825dc3c)
- IR: add class GetElementPtrInst (cecd9fc)
- IR: add class SelectInst (8fa33b6)
- IR: add class VectorType and more instruction classes (30bcc1c)
- IR: add duplicated getType for all subclasses of Value (2e2bfe8)
- IR: add Module.getDataLayoutStr and DataLayout.getStringRepresentation (3cc8563)
0.3.3 (2021-12-20)
- Support: symbol not found error in TargetSelect (701c3b3)
- IR: add class DIDerivedType, class DICompositeType and class DINamespace (40e7471)
0.3.2 (2021-12-18)
- IR: the insertBB passed into DIBuilder.insertDeclare may be null (ea0760b)
- IR: add DILexicalBlock and DIBuilder.createLexicalBlock (38519e0)
- IR: add Module.ModFlagBehavior(enum) (2c4f1be)
- IR: add some classes and methods related to debug information (7531651)
- IR: supplement more classes and methods related to debug information (4314aaa)
- IR: supplement some enums related to debug information (c08e087)
0.3.1 (2021-11-09)
- IR: Intrinsic.getDeclaration function parameter handling (c23b779)
0.3.0 (2021-10-31)
- switch the version of llvm to 13 (9210506)
0.2.3 (2021-10-29)
- IR: add missing signature of IRBuilder.CreateResume (a1271cb)
- IR: address transmission of InsertPoint's temporary object (a07a1fe)
- IR: IRBuilder.SetInsertPoint typo (e2db57d)
- IR: add class ConstantExpr (fbe662f)
- IR: add ConstantExpr.getType (fb751eb)
- IR: add DataLayout.getTypeAllocSize (18044f0)
- IR: add Function.hasPersonalityFn, Function.setPersonalityFn and Function.setDoesNotThrow (6238bf6)
- IR: add Function.insertInto, Function.removeFromParent and Function.eraseFromParent (43fda5c)
- IR: add Intrinsic (403f747)
- IR: add InvokeInst and IRBuilder.CreateInvoke (520f7a3)
- IR: add IRBuilder.CreateInsertValue (6f60ded)
- IR: add IRBuilder.InsertPoint, IRBuilder.saveIP, IRBuilder.saveAndClearIP and IRBuilder.restoreIP (4303af6)
- IR: add LandingPadInst, IRBuilder.CreateExtractValue and IRBuilder.CreateLandingPad (2bd479a)
- IR: add Module.getOrInsertFunction and FunctionCallee (693fdd5)
- IR: add overloaded form of IRBuilder.CreateCall (1909cb8)
- IR: add overloaded form of IRBuilder.CreateCall (d150d2c)
- IR: add overloaded form of IRBuilder.CreateInvoke (815122d)
- IR: add ResumeInst and IRBuilder.CreateResume (95358ad)
- IR: add some duplicated methods of Type and Type.isSameType (0d6eabc)
- IR: add StructType.get (7e27eee)
0.2.2 (2021-10-15)
- IR: add ConstantFP.getType (7c788b4)
- IR: add ConstantFP.getType (8106c4e)
- IR: add Function.deleteBody, Function.removeFromParent and Function.eraseFromParent (e7ad3bf)
- IR: add Function.getNumUses and Function.removeDeadConstantUsers (a770a28)
- IR: add GlobalVariable.removeFromParent and GlobalVariable.eraseFromParent (b625e09)
- IR: add IntegerType.isIntegerTy (3effe47)
- IR: add IRBuilder.CreateUnreachable (9d91aa6)
- IR: add PointerType.isIntegerTy (75edd4f)
- IR: add StructType.isIntegerTy (086e647)
- IR: add SwitchInst (042c942)
- IR: add UnreachableInst (ec9666a)
- IR: add Value.user_empty, Function.use_empty and Function.user_empty (34ccfd7)
- Linker: add Linker (71437ba)
0.2.1 (2021-09-29)
- IR: update the parameter list format when using llvm::Function::Create (5f0802f)
0.2.0 (2021-05-24)
- switch the version of llvm to 12 (ff505cc)
0.1.8 (2021-05-24)
- allow undefined or null for middle arguments of BasicBlock.Create and close #5 (84bf31f)
- error message typo (4f5a356)
- prevent phi node addIncoming from always throwing and close #4 (9068055)
- add several duplicated method for #1 (5af02bc)
- IR: add some duplicated methods due to missing inheritance of node-api (8da2f66)
0.1.7 (2021-04-20)
- IR: fix the problem about verification of ConstantPointerNull.get (f1fcd6f)
- IR: add some unary operations of IRBuilder (85361c6)
0.1.6 (2021-04-13)
- IR: change the return type of IRBuilder.Create to the corresponding instruction type (45be7ed)
- IR: add Argument.setName (671a70f)
- IR: add class ConstantStruct (c1033c6)
- IR: add Function.getExitBlock (93b55fb)
- IR: add PointerType.getUnqual (3c4ccbc)
- IR: add StructType.create and StructType.setBody (b814313)
0.1.5 (2021-03-30)
- IR: add more methods for BasicBlock, Function, IRBuilder (b1266c2)
- IR: add overloading function of Module.print (f5fe230)
- IR: class Value supports receiving null (a1fadd5)
0.1.4 (2021-03-29)
- IR: add IRBuilder.CreateSelect (33da3bf)
0.1.3 (2021-03-29)
- IR: fix the parameter verification problem of IRBuilder.CreateLoad (df2b800)
0.1.2 (2021-03-28)
- IR: add IRBuilder.CreateGEP and IRBuilder.CreateInBoundsGEP (47f7c92)
0.1.1 (2021-03-28)
- IR: add class PHINode and IRBuilder.CreatePHI (3cf11fb)
- IR: add more create methods of cast instruction in IRBuilder (14a1a70)
0.1.0 (2021-03-28)
- 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)
- use HandleScope in right places (9f6953d)
0.0.4 (2021-03-27)
0.0.3 (2021-03-27)
- Bitcode: correct name of function WriteBitcodeToFile and make up its signature (3e7bfe5)
- IR: add Class ArrayType (4c2c174)
- IR: add Class ConstantPointerNull (aedc714)
- IR: add Class SMDiagnostic and Function parseIRFile (073e9f3)
- 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
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