The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

LLVM::Type - LLVM type class

VERSION

version 0.05

DESCRIPTION

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

METHODS

void( $ctx )

Create a new LLVM::Type representing a void given a LLVM::Context.

int( $ctx, $bits )

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

float( $ctx )

Create a new LLVM::Type representing a float given a LLVM::Context.

double( $ctx )

Create a new LLVM::Type representing a double given a LLVM::Context.

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.