fspl/llvm
2023-11-26 04:00:20 -05:00
..
constant.go Various fixes 2023-11-23 00:02:00 -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 LLVM improvements 2023-11-26 04:00:20 -05:00
gep.go Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
instruction.go LLVM improvements 2023-11-26 04:00:20 -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 Add custom LLVM code generation package 2023-11-22 20:37:16 -05: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