A | |
abi_align [Llvm_target] |
Computes the ABI alignment of a type in bytes for a target.
|
abi_size [Llvm_target] |
Computes the ABI size of a type in bytes for a target.
|
add [Llvm_target.TargetData] | add_target_data td pm adds the target data td to the pass manager pm .
|
add_cfg_simplification [Llvm_scalar_opts] |
See the
llvm::createCFGSimplificationPass function.
|
add_constant_propagation [Llvm_scalar_opts] |
See the
llvm::createConstantPropogationPass function.
|
add_gvn [Llvm_scalar_opts] |
See the
llvm::createGVNPass function.
|
add_incoming [Llvm] | add_incoming (v, bb) pn adds the value v to the phi node pn for use
with branches from bb .
|
add_instruction_combining [Llvm_scalar_opts] |
See the
llvm::createInstructionCombiningPass function.
|
add_memory_to_register_demotion [Llvm_scalar_opts] |
See the
llvm::createDemoteMemoryToRegisterPass function.
|
add_memory_to_register_promotion [Llvm_scalar_opts] |
See the
llvm::createPromoteMemoryToRegisterPass function.
|
add_module_provider [Llvm_executionengine.ExecutionEngine] | add_module_provider mp ee adds the module provider mp to the execution
engine ee .
|
add_reassociation [Llvm_scalar_opts] |
See the
llvm::createReassociatePass function.
|
address_space [Llvm] | address_space pty returns the address space qualifier of the pointer type
pty .
|
alignment [Llvm] | alignment g returns the required alignment of the global value g .
|
append_block [Llvm] | append_block name f creates a new basic block named name at the end of
function f .
|
array_length [Llvm] | element_type aty returns the element count of the array type aty .
|
array_type [Llvm] | array_type ty n returns the array type containing n elements of type
ty .
|
as_float [Llvm_executionengine.GenericValue] | as_float fpty gv unboxes the floating point-valued generic value gv of
floating point type fpty .
|
as_int [Llvm_executionengine.GenericValue] | as_int gv unboxes the integer-valued generic value gv as an int .
|
as_int32 [Llvm_executionengine.GenericValue] | as_int32 gv unboxes the integer-valued generic value gv as an int32 .
|
as_int64 [Llvm_executionengine.GenericValue] | as_int64 gv returns the integer-valued generic value gv as an int64 .
|
as_nativeint [Llvm_executionengine.GenericValue] | as_natint gv unboxes the integer-valued generic value gv as a
nativeint .
|
as_pointer [Llvm_executionengine.GenericValue] | as_pointer gv unboxes the pointer-valued generic value gv .
|
as_string [Llvm_target.TargetData] | as_string td is the string representation of the target data td .
|
assert_valid_function [Llvm_analysis] | verify_function f returns if the function f is valid, but prints a
validation report to stderr and aborts the program if it is invalid.
|
assert_valid_module [Llvm_analysis] | verify_module m returns if the module m is valid, but prints a
validation report to stderr and aborts the program if it is invalid.
|
B | |
basic_blocks [Llvm] | basic_blocks fn returns the basic blocks of the function f .
|
block_begin [Llvm] | block_begin f returns the first position in the basic block list of the
function f .
|
block_end [Llvm] | block_end f returns the last position in the basic block list of
the function f .
|
block_of_value [Llvm] | block_of_value v losslessly casts v to an llbasicblock .
|
block_parent [Llvm] | block_parent bb returns the parent function that owns the basic block.
|
block_pred [Llvm] | block_pred gv returns the function list position preceding After gv .
|
block_succ [Llvm] | block_succ bb returns the basic block list position succeeding
Before bb .
|
build_add [Llvm] | build_add x y name b creates a
%name = add %x, %y
instruction at the position specified by the instruction builder b .
|
build_alloca [Llvm] | build_alloca ty name b creates a
%name = alloca %ty
instruction at the position specified by the instruction builder b .
|
build_and [Llvm] | build_and x y name b creates a
%name = and %x, %y
instruction at the position specified by the instruction builder b .
|
build_array_alloca [Llvm] | build_array_alloca ty n name b creates a
%name = alloca %ty, %n
instruction at the position specified by the instruction builder b .
|
build_array_malloc [Llvm] | build_array_malloc ty n name b creates a
%name = malloc %ty, %n
instruction at the position specified by the instruction builder b .
|
build_ashr [Llvm] | build_ashr x y name b creates a
%name = ashr %x, %y
instruction at the position specified by the instruction builder b .
|
build_bitcast [Llvm] | build_bitcast v ty name b creates a
%name = bitcast %p to %ty
instruction at the position specified by the instruction builder b .
|
build_br [Llvm] | build_br bb b creates a
b %bb
instruction at the position specified by the instruction builder b .
|
build_call [Llvm] | build_call fn args name b creates a
%name = call %fn(args...)
instruction at the position specified by the instruction builder b .
|
build_cond_br [Llvm] | build_cond_br cond tbb fbb b creates a
b %cond, %tbb, %fbb
instruction at the position specified by the instruction builder b .
|
build_extractelement [Llvm] | build_extractelement vec i name b creates a
%name = extractelement %vec, %i
instruction at the position specified by the instruction builder b .
|
build_fcmp [Llvm] | build_fcmp pred x y name b creates a
%name = fcmp %pred %x, %y
instruction at the position specified by the instruction builder b .
|
build_fdiv [Llvm] | build_fdiv x y name b creates a
%name = fdiv %x, %y
instruction at the position specified by the instruction builder b .
|
build_fpext [Llvm] | build_fpext v ty name b creates a
%name = fpext %p to %ty
instruction at the position specified by the instruction builder b .
|
build_fptosi [Llvm] | build_fptosi v ty name b creates a
%name = fptosi %p to %ty
instruction at the position specified by the instruction builder b .
|
build_fptoui [Llvm] | build_fptoui v ty name b creates a
%name = fptoui %p to %ty
instruction at the position specified by the instruction builder b .
|
build_fptrunc [Llvm] | build_fptrunc v ty name b creates a
%name = fptrunc %p to %ty
instruction at the position specified by the instruction builder b .
|
build_free [Llvm] | build_free v b creates a
free %v
instruction at the position specified by the instruction builder b .
|
build_frem [Llvm] | build_frem x y name b creates a
%name = frem %x, %y
instruction at the position specified by the instruction builder b .
|
build_gep [Llvm] | build_gep p indices name b creates a
%name = gep %p, indices...
instruction at the position specified by the instruction builder b .
|
build_icmp [Llvm] | build_icmp pred x y name b creates a
%name = icmp %pred %x, %y
instruction at the position specified by the instruction builder b .
|
build_insertelement [Llvm] | build_insertelement vec elt i name b creates a
%name = insertelement %vec, %elt, %i
instruction at the position specified by the instruction builder b .
|
build_inttoptr [Llvm] | build_inttoptr v ty name b creates a
%name = inttoptr %p to %ty
instruction at the position specified by the instruction builder b .
|
build_invoke [Llvm] | build_invoke fn args tobb unwindbb name b creates an
%name = invoke %fn(args) to %tobb unwind %unwindbb
instruction at the position specified by the instruction builder b .
|
build_load [Llvm] | build_load v name b creates a
%name = load %v
instruction at the position specified by the instruction builder b .
|
build_lshr [Llvm] | build_lshr x y name b creates a
%name = lshr %x, %y
instruction at the position specified by the instruction builder b .
|
build_malloc [Llvm] | build_malloc ty name b creates a
%name = malloc %ty
instruction at the position specified by the instruction builder b .
|
build_mul [Llvm] | build_mul x y name b creates a
%name = mul %x, %y
instruction at the position specified by the instruction builder b .
|
build_neg [Llvm] | build_neg x name b creates a
%name = sub 0, %x
instruction at the position specified by the instruction builder b .
|
build_not [Llvm] | build_xor x name b creates a
%name = xor %x, -1
instruction at the position specified by the instruction builder b .
|
build_or [Llvm] | build_or x y name b creates a
%name = or %x, %y
instruction at the position specified by the instruction builder b .
|
build_phi [Llvm] | build_phi incoming name b creates a
%name = phi %incoming
instruction at the position specified by the instruction builder b .
|
build_ptrtoint [Llvm] | build_ptrtoint v ty name b creates a
%name = prtotint %p to %ty
instruction at the position specified by the instruction builder b .
|
build_ret [Llvm] | build_ret v b creates a
ret %v
instruction at the position specified by the instruction builder b .
|
build_ret_void [Llvm] | build_ret_void b creates a
ret void
instruction at the position specified by the instruction builder b .
|
build_sdiv [Llvm] | build_sdiv x y name b creates a
%name = sdiv %x, %y
instruction at the position specified by the instruction builder b .
|
build_select [Llvm] | build_select cond thenv elsev name b creates a
%name = select %cond, %thenv, %elsev
instruction at the position specified by the instruction builder b .
|
build_sext [Llvm] | build_sext v ty name b creates a
%name = sext %p to %ty
instruction at the position specified by the instruction builder b .
|
build_shl [Llvm] | build_shl x y name b creates a
%name = shl %x, %y
instruction at the position specified by the instruction builder b .
|
build_shufflevector [Llvm] | build_shufflevector veca vecb mask name b creates a
%name = shufflevector %veca, %vecb, %mask
instruction at the position specified by the instruction builder b .
|
build_sitofp [Llvm] | build_sitofp v ty name b creates a
%name = sitofp %p to %ty
instruction at the position specified by the instruction builder b .
|
build_srem [Llvm] | build_SRem x y name b creates a
%name = srem %x, %y
instruction at the position specified by the instruction builder b .
|
build_store [Llvm] | build_store v p b creates a
store %v, %p
instruction at the position specified by the instruction builder b .
|
build_sub [Llvm] | build_sub x y name b creates a
%name = sub %x, %y
instruction at the position specified by the instruction builder b .
|
build_switch [Llvm] | build_switch case elsebb b creates an empty
switch %case, %elsebb
instruction at the position specified by the instruction builder b .
|
build_trunc [Llvm] | build_trunc v ty name b creates a
%name = trunc %p to %ty
instruction at the position specified by the instruction builder b .
|
build_udiv [Llvm] | build_udiv x y name b creates a
%name = udiv %x, %y
instruction at the position specified by the instruction builder b .
|
build_uitofp [Llvm] | build_uitofp v ty name b creates a
%name = uitofp %p to %ty
instruction at the position specified by the instruction builder b .
|
build_unreachable [Llvm] | build_unreachable b creates an
unreachable
instruction at the position specified by the instruction builder b .
|
build_unwind [Llvm] | build_unwind b creates an
unwind
instruction at the position specified by the instruction builder b .
|
build_urem [Llvm] | build_urem x y name b creates a
%name = urem %x, %y
instruction at the position specified by the instruction builder b .
|
build_va_arg [Llvm] | build_va_arg valist argty name b creates a
%name = va_arg %valist, %argty
instruction at the position specified by the instruction builder b .
|
build_xor [Llvm] | build_xor x y name b creates a
%name = xor %x, %y
instruction at the position specified by the instruction builder b .
|
build_zext [Llvm] | build_zext v ty name b creates a
%name = zext %p to %ty
instruction at the position specified by the instruction builder b .
|
builder [Llvm] | builder () creates an instruction builder with no position.
|
builder_at [Llvm] | builder_at ip creates an instruction builder positioned at ip .
|
builder_at_end [Llvm] | builder_at_end bb creates an instruction builder positioned at the end of
the basic block bb .
|
builder_before [Llvm] | builder_before ins creates an instruction builder positioned before the
instruction isn .
|
byte_order [Llvm_target] |
Returns the byte order of a target, either LLVMBigEndian or
LLVMLittleEndian.
|
C | |
c [Llvm.CallConv] | c is the C calling convention.
|
classify_type [Llvm] | |
cold [Llvm.CallConv] | cold is the calling convention for
callee-save.
|
collector [Llvm] | collector f returns Some name if the function f has a garbage
collection algorithm specified and None otherwise.
|
const_add [Llvm] | const_add c1 c2 returns the constant sum of two constants.
|
const_all_ones [Llvm] | const_all_ones ty returns the constant '-1' of the integer or vector type
ty .
|
const_and [Llvm] | const_and c1 c2 returns the constant bitwise AND of two integer
constants.
|
const_array [Llvm] | const_array ty elts returns the constant array of type
array_type ty (Array.length elts) and containing the values elts .
|
const_ashr [Llvm] | const_ashr c1 c2 returns the constant integer c1 right-shifted by the
constant integer c2 with sign extension.
|
const_bitcast [Llvm] | const_bitcast c ty returns the constant bitwise conversion of constant c
to type ty of equal size.
|
const_extractelement [Llvm] | const_extractelement vec i returns the constant i th element of
constant vector vec .
|
const_fcmp [Llvm] | const_fcmp pred c1 c2 returns the constant comparison of two floating
point constants, c1 pred c2 .
|
const_fdiv [Llvm] | const_fdiv c1 c2 returns the constant quotient c1 / c2 of two floating
point constants.
|
const_float [Llvm] | const_float ty n returns the floating point constant of type ty and
value n .
|
const_fpext [Llvm] | const_fpext c ty returns the constant extension of floating point constant
c to the larger floating point type ty .
|
const_fptosi [Llvm] | const_fptoui c ty returns the constant unsigned integer conversion of
floating point constant c to integer type ty .
|
const_fptoui [Llvm] | const_fptoui c ty returns the constant unsigned integer conversion of
floating point constant c to integer type ty .
|
const_fptrunc [Llvm] | const_fptrunc c ty returns the constant truncation of floating point
constant c to the smaller floating point type ty .
|
const_frem [Llvm] | const_frem c1 c2 returns the constant remainder c1 MOD c2 of two
signed floating point constants.
|
const_gep [Llvm] | const_gep pc indices returns the constant getElementPtr of p1 with the
constant integers indices from the array indices .
|
const_icmp [Llvm] | const_icmp pred c1 c2 returns the constant comparison of two integer
constants, c1 pred c2 .
|
const_insertelement [Llvm] | const_insertelement vec v i returns the constant vector with the same
elements as constant vector v but the i th element replaced by the
constant v .
|
const_int [Llvm] | const_int ty i returns the integer constant of type ty and value i .
|
const_inttoptr [Llvm] | const_inttoptr c ty returns the constant pointer conversion of
integer constant c to pointer type ty .
|
const_lshr [Llvm] | const_lshr c1 c2 returns the constant integer c1 right-shifted by the
constant integer c2 with zero extension.
|
const_mul [Llvm] | const_mul c1 c2 returns the constant product of two constants.
|
const_neg [Llvm] | const_neg c returns the arithmetic negation of the constant c .
|
const_not [Llvm] | const_not c returns the bitwise inverse of the constant c .
|
const_null [Llvm] | const_null ty returns the constant null (zero) of the type ty .
|
const_of_int64 [Llvm] | const_of_int64 ty i returns the integer constant of type ty and value
i .
|
const_or [Llvm] | const_or c1 c2 returns the constant bitwise OR of two integer
constants.
|
const_packed_struct [Llvm] | const_packed_struct elts returns the structured constant of type
Llvm.packed_struct_type (Array.map type_of elts) and containing the values
elts .
|
const_ptrtoint [Llvm] | const_ptrtoint c ty returns the constant integer conversion of
pointer constant c to integer type ty .
|
const_sdiv [Llvm] | const_sdiv c1 c2 returns the constant quotient c1 / c2 of two signed
integer constants.
|
const_select [Llvm] | const_select cond t f returns the constant conditional which returns value
t if the boolean constant cond is true and the value f otherwise.
|
const_sext [Llvm] | const_sext c ty returns the constant sign extension of integer constant
c to the larger integer type ty .
|
const_shl [Llvm] | const_shl c1 c2 returns the constant integer c1 left-shifted by the
constant integer c2 .
|
const_shufflevector [Llvm] | const_shufflevector a b mask returns a constant shufflevector .
|
const_sitofp [Llvm] | const_sitofp c ty returns the constant floating point conversion of
signed integer constant c to the floating point type ty .
|
const_srem [Llvm] | const_sdiv c1 c2 returns the constant remainder c1 MOD c2 of two
signed integer constants.
|
const_string [Llvm] | const_string s returns the constant i8 array with the values of the
characters in the string s .
|
const_stringz [Llvm] | const_stringz s returns the constant i8 array with the values of the
characters in the string s and a null terminator.
|
const_struct [Llvm] | const_struct elts returns the structured constant of type
struct_type (Array.map type_of elts) and containing the values elts .
|
const_sub [Llvm] | const_sub c1 c2 returns the constant difference, c1 - c2 , of two
constants.
|
const_trunc [Llvm] | const_trunc c ty returns the constant truncation of integer constant c
to the smaller integer type ty .
|
const_udiv [Llvm] | const_udiv c1 c2 returns the constant quotient c1 / c2 of two unsigned
integer constants.
|
const_uitofp [Llvm] | const_uitofp c ty returns the constant floating point conversion of
unsigned integer constant c to the floating point type ty .
|
const_urem [Llvm] | const_udiv c1 c2 returns the constant remainder c1 MOD c2 of two
unsigned integer constants.
|
const_vector [Llvm] | const_vector elts returns the vector constant of type
vector_type (type_of elts.(0)) (Array.length elts) and containing the
values elts .
|
const_xor [Llvm] | const_xor c1 c2 returns the constant bitwise XOR of two integer
constants.
|
const_zext [Llvm] | const_zext c ty returns the constant zero extension of integer constant
c to the larger integer type ty .
|
create [Llvm_target.TargetData] | TargetData.create rep parses the target data string representation rep .
|
create [Llvm_executionengine.ExecutionEngine] | create mp creates a new execution engine, taking ownership of the
module provider mp if successful.
|
create [Llvm.PassManager] | PassManager.create () constructs a new whole-module pass pipeline.
|
create [Llvm.ModuleProvider] | create_module_provider m encapsulates m in a module provider and takes
ownership of the module.
|
create_function [Llvm.PassManager] | PassManager.create_function mp constructs a new function-by-function
pass pipeline over the module provider mp .
|
create_interpreter [Llvm_executionengine.ExecutionEngine] | create_interpreter mp creates a new interpreter, taking ownership of the
module provider mp if successful.
|
create_jit [Llvm_executionengine.ExecutionEngine] | create_jit mp creates a new JIT (just-in-time compiler), taking
ownership of the module provider mp if successful.
|
create_module [Llvm] | create_module id creates a module with the supplied module ID.
|
D | |
data_layout [Llvm] | data_layout m is the data layout specifier for the module m , something
like e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-...-a0:0:64-f80:128:128 .
|
declare_function [Llvm] | declare_function name ty m returns a new function of type ty and
with name name in module m .
|
declare_global [Llvm] | declare_global ty name m returns a new global variable of type ty and
with name name in module m .
|
define_function [Llvm] | define_function name ty m creates a new function with name name and
type ty in module m .
|
define_global [Llvm] | define_global name init m returns a new global with name name and
initializer init in module m .
|
define_type_name [Llvm] | define_type_name name ty m adds a named type to the module's symbol table.
|
delete_block [Llvm] | delete_block bb deletes the basic block bb .
|
delete_function [Llvm] | delete_function f destroys the function f .
|
delete_global [Llvm] | delete_global gv destroys the global variable gv .
|
delete_type_name [Llvm] | delete_type_name name removes a type name from the module's symbol
table.
|
dispose [Llvm_target.TargetData] |
Deallocates a TargetData.
|
dispose [Llvm_executionengine.ExecutionEngine] | dispose ee releases the memory used by the execution engine and must be
invoked to avoid memory leaks.
|
dispose [Llvm.PassManager] |
Frees the memory of a pass pipeline.
|
dispose [Llvm.MemoryBuffer] |
Disposes of a memory buffer.
|
dispose [Llvm.ModuleProvider] | dispose_module_provider mp destroys the module provider mp as well as
the contained module.
|
dispose_module [Llvm] | dispose_module m destroys a module m and all of the IR objects it
contained.
|
double_type [Llvm] |
The IEEE 64-bit floating point type.
|
dump_module [Llvm] | dump_module m prints the .ll representation of the module m to standard
error.
|
dump_value [Llvm] | dump_value v prints the .ll representation of the value v to standard
error.
|
E | |
element_at_offset [Llvm_target] |
Computes the structure element that contains the byte offset for a target.
|
element_type [Llvm] | element_type ty returns the element type of the pointer, vector, or array
type ty .
|
element_types [Llvm] | element_types sty returns the constituent types of the struct type sty .
|
entry_block [Llvm] | entry_block fn returns the entry basic block of the function f .
|
F | |
fast [Llvm.CallConv] | fast is the calling convention to allow LLVM
maximum optimization opportunities.
|
finalize [Llvm.PassManager] | finalize fpm finalizes all of the function passes scheduled in in the
function pass manager fpm .
|
find_function [Llvm_executionengine.ExecutionEngine] | find_function n ee finds the function named n defined in any of the
modules owned by the execution engine ee .
|
float_type [Llvm] |
The IEEE 32-bit floating point type.
|
fold_left_blocks [Llvm] | fold_left_blocks f init fn is f (... (f init b1) ...) bN where
b1,...,bN are the basic blocks of function fn .
|
fold_left_functions [Llvm] | fold_left_function f init m is f (... (f init f1) ...) fN where
f1,...,fN are the functions of module m .
|
fold_left_globals [Llvm] | fold_left_globals f init m is f (... (f init g1) ...) gN where
g1,...,gN are the global variables of module m .
|
fold_left_instrs [Llvm] | fold_left_instrs f init bb is f (... (f init g1) ...) gN where
g1,...,gN are the instructions of basic block bb .
|
fold_left_params [Llvm] | fold_left_params f init fn is f (... (f init b1) ...) bN where
b1,...,bN are the parameters of function fn .
|
fold_right_blocks [Llvm] | fold_right_blocks f fn init is f (... (f init bN) ...) b1 where
b1,...,bN are the basic blocks of function fn .
|
fold_right_functions [Llvm] | fold_right_functions f m init is f (... (f init fN) ...) f1 where
f1,...,fN are the functions of module m .
|
fold_right_globals [Llvm] | fold_right_globals f m init is f g1 (... (f gN init) ...) where
g1,...,gN are the global variables of module m .
|
fold_right_instrs [Llvm] | fold_right_instrs f bb init is f (... (f init fN) ...) f1 where
f1,...,fN are the instructions of basic block bb .
|
fold_right_params [Llvm] | fold_right_params f fn init is f (... (f init bN) ...) b1 where
b1,...,bN are the parameters of function fn .
|
fp128_type [Llvm] |
The IEEE 128-bit floating point type.
|
free_machine_code [Llvm_executionengine.ExecutionEngine] | free_machine_code f ee releases the memory in the execution engine ee
used to store the machine code for the function f .
|
function_begin [Llvm] | function_begin m returns the first position in the function list of the
module m .
|
function_call_conv [Llvm] | function_call_conv f returns the calling convention of the function f .
|
function_end [Llvm] | function_end m returns the last position in the function list of
the module m .
|
function_pred [Llvm] | function_pred gv returns the function list position preceding After gv .
|
function_succ [Llvm] | function_succ gv returns the function list position succeeding
Before gv .
|
function_type [Llvm] | function_type ret_ty param_tys returns the function type returning
ret_ty and taking param_tys as parameters.
|
G | |
get_module_provider [Llvm_bitreader] | read_bitcode_file path reads the bitcode for a new module m from the
file at path .
|
global_begin [Llvm] | global_begin m returns the first position in the global variable list of
the module m .
|
global_end [Llvm] | global_end m returns the last position in the global variable list of the
module m .
|
global_initializer [Llvm] | global_initializer gv returns the initializer for the global variable
gv .
|
global_parent [Llvm] | global_parent g is the enclosing module of the global value g .
|
global_pred [Llvm] | global_pred gv returns the global variable list position preceding
After gv .
|
global_succ [Llvm] | global_succ gv returns the global variable list position succeeding
Before gv .
|
H | |
handle_to_type [Llvm] | handle_to_type ty creates a handle to the type ty .
|
has_initializer [Llvm] | has_initializer gv returns true if the global variable gv has an
initializer and false otherwise.
|
I | |
i16_type [Llvm] |
The 16-bit integer type.
|
i1_type [Llvm] |
The 1-bit integer type.
|
i32_type [Llvm] |
The 32-bit integer type.
|
i64_type [Llvm] |
The 64-bit integer type.
|
i8_type [Llvm] |
The 8-bit integer type.
|
incoming [Llvm] | incoming pn returns the list of value-block pairs for phi node pn .
|
initialize [Llvm.PassManager] | initialize fpm initializes all of the function passes scheduled in the
function pass manager fpm .
|
insert_block [Llvm] | insert_block name bb creates a new basic block named name before the
basic block bb .
|
insertion_block [Llvm] | insertion_block b returns the basic block that the builder b is
positioned to insert into.
|
instr_begin [Llvm] | instr_begin bb returns the first position in the instruction list of the
basic block bb .
|
instr_end [Llvm] | instr_end bb returns the last position in the instruction list of the
basic block bb .
|
instr_parent [Llvm] | instr_parent i is the enclosing basic block of the instruction i .
|
instr_pred [Llvm] | instr_pred i returns the instruction list position preceding After i .
|
instr_succ [Llvm] | instr_succ i returns the instruction list position succeeding Before i .
|
instruction_call_conv [Llvm] | instruction_call_conv ci is the calling convention for the call or invoke
instruction ci , which may be one of the values from the module
Llvm.CallConv .
|
integer_bitwidth [Llvm] | integer_bitwidth ty returns the number of bits in the integer type ty .
|
integer_type [Llvm] | integer_type n returns an integer type of bitwidth n .
|
intptr_type [Llvm_target] |
Returns the integer type that is the same size as a pointer on a target.
|
invalidate_struct_layout [Llvm_target.TargetData] |
Struct layouts are speculatively cached.
|
is_constant [Llvm] | is_constant v returns true if the value v is a constant, false
otherwise.
|
is_declaration [Llvm] | is_declaration g returns true if the global value g is a declaration
only.
|
is_global_constant [Llvm] | is_global_constant gv returns true if the global variabile gv is a
constant.
|
is_intrinsic [Llvm] | is_intrinsic f returns true if the function f is an intrinsic.
|
is_null [Llvm] | is_null v returns true if the value v is the null (zero) value.
|
is_packed [Llvm] | is_packed sty returns true if the structure type sty is packed,
false otherwise.
|
is_thread_local [Llvm] | is_thread_local gv returns true if the global variable gv is
thread-local and false otherwise.
|
is_undef [Llvm] | is_undef v returns true if the value v is an undefined value, false
otherwise.
|
is_var_arg [Llvm] | is_var_arg fty returns true if fty is a varargs function type, false
otherwise.
|
iter_blocks [Llvm] | iter_blocks f fn applies function f to each of the basic blocks
of function fn in order.
|
iter_functions [Llvm] | iter_functions f m applies function f to each of the functions of module
m in order.
|
iter_globals [Llvm] | iter_globals f m applies function f to each of the global variables of
module m in order.
|
iter_instrs [Llvm] | iter_instrs f bb applies function f to each of the instructions of basic
block bb in order.
|
iter_params [Llvm] | iter_params f fn applies function f to each of the parameters
of function fn in order.
|
L | |
label_type [Llvm] | label_type is the type of a basic block.
|
linkage [Llvm] | linkage g returns the linkage of the global value g .
|
lookup_function [Llvm] | lookup_function name m returns Some f if a function with name
name exists in module m .
|
lookup_global [Llvm] | lookup_global name m returns Some g if a global variable with name
name exists in module m .
|
O | |
of_file [Llvm.MemoryBuffer] | of_file p is the memory buffer containing the contents of the file at
path p .
|
of_float [Llvm_executionengine.GenericValue] | of_float fpty n boxes the float n in a float-valued generic value
according to the floating point type fpty .
|
of_int [Llvm_executionengine.GenericValue] | of_int n w boxes the int i in a generic value with the bitwidth
w .
|
of_int32 [Llvm_executionengine.GenericValue] | of_int32 n w boxes the int32 i in a generic value with the bitwidth
w .
|
of_int64 [Llvm_executionengine.GenericValue] | of_int64 n w boxes the int64 i in a generic value with the bitwidth
w .
|
of_nativeint [Llvm_executionengine.GenericValue] | of_natint n w boxes the native int i in a generic value with the
bitwidth w .
|
of_pointer [Llvm_executionengine.GenericValue] | of_pointer v boxes the pointer value v in a generic value.
|
of_stdin [Llvm.MemoryBuffer] | stdin () is the memory buffer containing the contents of standard input.
|
offset_of_element [Llvm_target] |
Computes the byte offset of the indexed struct element for a target.
|
opaque_type [Llvm] | opaque_type () creates a new opaque type distinct from any other.
|
P | |
packed_struct_type [Llvm] | struct_type tys returns the packed structure type containing in the types
in the array tys .
|
param [Llvm] | param f n returns the n th parameter of function f .
|
param_begin [Llvm] | param_begin f returns the first position in the parameter list of the
function f .
|
param_end [Llvm] | param_end f returns the last position in the parameter list of
the function f .
|
param_parent [Llvm] | param_parent p returns the parent function that owns the parameter.
|
param_pred [Llvm] | param_pred gv returns the function list position preceding After gv .
|
param_succ [Llvm] | param_succ bb returns the parameter list position succeeding
Before bb .
|
param_types [Llvm] | param_types fty gets the parameter types of the function type fty .
|
params [Llvm] | params f returns the parameters of function f .
|
parse_bitcode [Llvm_bitreader] | parse_bitcode mb parses the bitcode for a new module m from the memory
buffer mb .
|
pointer_size [Llvm_target] |
Returns the pointer size in bytes for a target.
|
pointer_type [Llvm] | pointer_type ty returns the pointer type referencing objects of type
ty in the default address space (0).
|
position_at_end [Llvm] | position_at_end bb b moves the instruction builder b to the end of the
basic block bb .
|
position_before [Llvm] | position_before ins b moves the instruction builder b to before the
instruction isn .
|
position_builder [Llvm] | position_builder ip bb moves the instruction builder bb to the position
ip .
|
ppc_fp128_type [Llvm] |
The PowerPC 128-bit floating point type.
|
preferred_align [Llvm_target] |
Computes the preferred alignment of a type in bytes for a target.
|
preferred_align_of_global [Llvm_target] |
Computes the preferred alignment of a global variable in bytes for a target.
|
Q | |
qualified_pointer_type [Llvm] | qualified_pointer_type ty as returns the pointer type referencing objects
of type ty in address space as .
|
R | |
refine_type [Llvm] | refine_type opaque_ty ty replaces the abstract type opaque_ty with the
concrete type ty in all users.
|
remove_initializer [Llvm] | remove_initializer gv unsets the initializer for the global variable
gv .
|
remove_module_provider [Llvm_executionengine.ExecutionEngine] | remove_module_provider mp ee removes the module provider mp from the
execution engine ee , disposing of mp and the module referenced by
mp .
|
return_type [Llvm] | return_type fty gets the return type of the function type fty .
|
rev_iter_blocks [Llvm] | rev_iter_blocks f fn applies function f to each of the basic blocks
of function fn in reverse order.
|
rev_iter_functions [Llvm] | rev_iter_functions f fn applies function f to each of the functions of
module m in reverse order.
|
rev_iter_globals [Llvm] | rev_iter_globals f m applies function f to each of the global variables
of module m in reverse order.
|
rev_iter_params [Llvm] | rev_iter_params f fn applies function f to each of the parameters
of function fn in reverse order.
|
run_function [Llvm_executionengine.ExecutionEngine] | run_function f args ee synchronously executes the function f with the
arguments args , which must be compatible with the parameter types.
|
run_function [Llvm.PassManager] | run_function f fpm executes all of the function passes scheduled in the
function pass manager fpm over the function f .
|
run_function_as_main [Llvm_executionengine.ExecutionEngine] | run_function_as_main f args env ee executes the function f as a main
function, passing it argv and argc according to the string array
args , and envp as specified by the array env .
|
run_module [Llvm.PassManager] | run_module m pm initializes, executes on the module m , and finalizes
all of the passes scheduled in the pass manager pm .
|
run_static_ctors [Llvm_executionengine.ExecutionEngine] | run_static_ctors ee executes the static constructors of each module in
the execution engine ee .
|
run_static_dtors [Llvm_executionengine.ExecutionEngine] | run_static_dtors ee executes the static destructors of each module in
the execution engine ee .
|
S | |
section [Llvm] | section g returns the linker section of the global value g .
|
set_alignment [Llvm] | set_alignment n g sets the required alignment of the global value g to
n bytes.
|
set_collector [Llvm] | set_collector gc f sets the collection algorithm for the function f to
gc .
|
set_data_layout [Llvm] | set_data_layout s m changes the data layout specifier for the module m
to the string s .
|
set_function_call_conv [Llvm] | set_function_call_conv cc f sets the calling convention of the function
f to the calling convention numbered cc .
|
set_global_constant [Llvm] | set_global_constant c gv sets the global variable gv to be a constant if
c is true and not if c is false .
|
set_initializer [Llvm] | set_initializer c gv sets the initializer for the global variable
gv to the constant c .
|
set_instruction_call_conv [Llvm] | set_instruction_call_conv cc ci sets the calling convention for the call
or invoke instruction ci to the integer cc , which can be one of the
values from the module Llvm.CallConv .
|
set_linkage [Llvm] | set_linkage l g sets the linkage of the global value g to l .
|
set_section [Llvm] | set_section s g sets the linker section of the global value g to s .
|
set_target_triple [Llvm] | target_triple triple m changes the target specifier for the module m to
the string triple .
|
set_thread_local [Llvm] | set_thread_local c gv sets the global variable gv to be thread local if
c is true and not otherwise.
|
set_value_name [Llvm] | set_value_name n v sets the name of the value v to n .
|
set_visibility [Llvm] | set_visibility v g sets the linker visibility of the global value g to
v .
|
size_in_bits [Llvm_target] |
Computes the size of a type in bytes for a target.
|
size_of [Llvm] | size_of ty returns the sizeof constant for the type ty .
|
stack_align [Llvm_target] |
Computes the call frame alignment of a type in bytes for a target.
|
store_size [Llvm_target] |
Computes the storage size of a type in bytes for a target.
|
string_of_lltype [Llvm] | string_of_lltype ty returns a string describing the type ty .
|
struct_type [Llvm] | struct_type tys returns the structure type containing in the types in the
array tys .
|
T | |
target_data [Llvm_executionengine.ExecutionEngine] | target_data ee is the target data owned by the execution engine
ee .
|
target_triple [Llvm] | target_triple m is the target specifier for the module m , something like
i686-apple-darwin8 .
|
type_of [Llvm] | type_of v returns the type of the value v .
|
type_of_handle [Llvm] | type_of_handle tyh resolves the type handle tyh .
|
U | |
undef [Llvm] | undef ty returns the undefined value of the type ty .
|
V | |
value_is_block [Llvm] | value_is_block v returns true if the value v is a basic block and
false otherwise.
|
value_name [Llvm] | value_name v returns the name of the value v .
|
value_of_block [Llvm] | value_of_block bb losslessly casts bb to an llvalue .
|
var_arg_function_type [Llvm] | va_arg_function_type ret_ty param_tys is just like
function_type ret_ty param_tys except that it returns the function type
which also takes a variable number of arguments.
|
vector_size [Llvm] | element_type ty returns the element count of the vector type ty .
|
vector_type [Llvm] | vector_type ty n returns the array type containing n elements of the
primitive type ty .
|
verify_function [Llvm_analysis] | verify_function f returns None if the function f is valid, and
Some reason if it is invalid.
|
verify_module [Llvm_analysis] | verify_module m returns None if the module m is valid, and
Some reason if it is invalid.
|
view_function_cfg [Llvm_analysis] | view_function_cfg f opens up a ghostscript window displaying the CFG of
the current function with the code for each basic block inside.
|
view_function_cfg_only [Llvm_analysis] | view_function_cfg_only f works just like view_function_cfg , but does not
include the contents of basic blocks into the nodes.
|
visibility [Llvm] | visibility g returns the linker visibility of the global value g .
|
void_type [Llvm] | void_type is the type of a function which does not return any value.
|
W | |
write_bitcode_file [Llvm_bitwriter] | write_bitcode_file m path writes the bitcode for module m to the file at
path .
|
X | |
x86_fastcall [Llvm.CallConv] | x86_fastcall is the familiar fastcall calling
convention from C.
|
x86_stdcall [Llvm.CallConv] | x86_stdcall is the familiar stdcall calling
convention from C.
|
x86fp80_type [Llvm] |
The x87 80-bit floating point type.
|