Displaying 1 result from an estimated 1 matches for "fold_left_block".
Did you mean:
fold_left_blocks
2012 Apr 24
1
[LLVMdev] OCaml binding and basic blocks
Hello everyone,
I am using the OCaml binding to read and manipulate llvm bitcode and I have trouble to read the basic blocks of functions. The OCaml functions iter_blocks and fold_left_blocks are always behaving as if the list of blocks is empty, whatever the input file.
Also, if I dump the following function:
define i32 @add(i32 %x, i32 %y) nounwind uwtable ssp {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%z = alloca i32, align 4
....
%6 = load i32* %z, al...