LLVM::GenericValue - LLVM generic value class
version 0.10
A LLVM::GenericValue
represents a value used by the LLVM::ExecutionEngine.
Create an integer value of LLVM::Type $type
and value $val
.
Create an unsigned integer value of LLVM::Type $type
and value $val
.
Create a floating-point value of LLVM::Type $type
and value $val
.
Convert the given LLVM::GenericValue
back to an integer value.
Convert the given LLVM::GenericValue
back to an usigned integer value.
Convert the given LLVM::GenericValue
back to a floating-point value of LLVM::Type $type
.
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.