NAME

LLVM::Type - LLVM type class

VERSION

version 0.10

DESCRIPTION

A LLVM::Type represents the type of an individual LLVM::Value.

METHODS

void( )

Create a new LLVM::Type representing a void.

int( $bits )

Create a new LLVM::Type representing an integer with $bits bits (e.g. 16, 32, 64, ...).

float( )

Create a new LLVM::Type representing a float.

double( )

Create a new LLVM::Type representing a double.

func( $ret_type [, $arg_type ...] )

Create a new LLVM::Type representing a function with return type $ret_type. This functions also takes a variable number of arguments representing the arguments of the function. The return type and arguments types must be LLVM::Type objects.

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.