NAME
LLVM::Module - LLVM module class
VERSION
version 0.03
DESCRIPTION
A LLVM::Module
is the top-level container for all the LLVM IR objects.
METHODS
new( $ctx, $id )
Create a new LLVM::Module
given its LLVM::Context and a string representing its id (name).
add_func( $func_name, $func_type )
Add a function named $func_name
with LLVM::Type $func_type
to the module.
dump( )
Dump the compiled module to STDERR
(useful for debug).
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
LICENSE AND COPYRIGHT
Copyright 2012 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.