NAME

LLVM::Builder - LLVM builder class

VERSION

version 0.01

DESCRIPTION

Some description here...

METHODS

new( $ctx, $blk )

Create a new LLVM::Builder object given a LLVM::Context and a LLVM::BasicBlock.

add( $lhs, $rhs, $name )

Append an add instruction to the block. This function takes two LLVM::Values representing the arguments and a string used to name the resulting variable. It also returns a LLVM::Value representing the result of the operation.

ret( $v )

Append a ret instruction to the block. This function takes a LLVM::Value representing the value to be returned and returns a LLVM::Value.

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.