
LLVM::Module - LLVM module class

version 0.10

A LLVM::Module is the top-level container for all the LLVM IR objects.

Create a new LLVM::Module given a string representing its id (name).
Add a function named $func_name with LLVM::Type $func_type.
Retrieve the LLVM::Value corresponding to the given function.
Delete the given LLVM::Value representing a function.
Add a global variable named $global_name with LLVM::Type $global_type.
Retrieve the LLVM::Value corresponding to the given global variable.
Delete the given LLVM::Value representing a global variable.
Dump the compiled module to STDERR (useful for debug).

Alessandro Ghedini <alexbio@cpan.org>

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.