NAME
LLVM::GenericValue - LLVM generic value class
VERSION
version 0.10
DESCRIPTION
A LLVM::GenericValue
represents a value used by the LLVM::ExecutionEngine.
METHODS
int( $type, $val )
Create an integer value of LLVM::Type $type
and value $val
.
uint( $type, $val )
Create an unsigned integer value of LLVM::Type $type
and value $val
.
float( $type, $val )
Create a floating-point value of LLVM::Type $type
and value $val
.
to_int( )
Convert the given LLVM::GenericValue
back to an integer value.
to_uint( )
Convert the given LLVM::GenericValue
back to an usigned integer value.
to_float( $type )
Convert the given LLVM::GenericValue
back to a floating-point value of LLVM::Type $type
.
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.