fspl/llvm
2024-01-25 07:36:51 +00:00
..
constant.go Added nil (zero initializer) literals 2023-12-21 23:33:38 -05:00
constantexpression.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
convenience.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
encode.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
function.go Fix case where generator would assign ID to void function calls 2023-12-05 22:36:41 -05:00
gep.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
instruction.go Fix comparison predicates 2023-12-15 12:40:43 -05:00
module.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
README.md Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
terminator.go LLVM improvements 2023-11-26 04:00:20 -05:00
type.go Fix duplicated pointer types 2024-01-25 07:36:51 +00:00
value.go Various fixes 2023-11-23 00:02:00 -05:00

llvm

This package was created for the express purpose of generating LLVM IR. A good portion of this code was taken from the llir project.

This package supports:

  • Instructions and terminators
  • Constants
  • Modules
  • Functions
  • Types
  • Type defs
  • Blocks
  • Opaque pointers

This package does not support:

  • Constant expressions
  • Sanity checking
  • Typed pointers
  • Metadata and attributes