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

NAME

LLVM::Value - LLVM value class

VERSION

version 0.10

DESCRIPTION

A LLVM::Value represents an individual value in the LLVM IR.

METHODS

type( )

Retrieve the LLVM::Type of the given LLVM::Value.

name( [ $val_name ] )

Get the name of the given LLVM::Value. If $val_name is set, the name of the value will be set to its value.

func_params( )

Retrieve the LLVM::Values of the paramenters of the given LLVM::Type representing a function.

func_append( $blk_name )

Append a LLVM::BasicBlock with name $blk_name to the given LLVM::Value representing a function.

global_is_constant( [ $is_constant ] )

Retrieve whether the given global LLVM::Value is constant. If the boolean value $is_constant is set, the global is set to constant.

global_is_threadlocal( [ $is_threadlocal ] )

Retrieve whether the given global LLVM::Value is thread local. If the boolean value $is_threadlocal is set, the global is set to constant.

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.