Displaying 2 results from an estimated 2 matches for "_z3fibi1".
2010 Jun 12
0
[LLVMdev] experimenting with partial evaluation
...all that ? (I guess I
> shouldn't compile it to x86-64 native but bitcode instead, but what
> options ?..)
I guess you will need a special version of lli.
mata ne, Takumi
-------------- next part --------------
fib(2)=1
GV:0x309e20
FN:0x309e20
RAW:0xb40070
a0=0x311868
Ffib8=0x31f1d8<_Z3fibi1>
define internal i32 @_Z3fibi1() nounwind readnone {
entry:
%0 = icmp sgt i32 2, 2 ; <i1> [#uses=1]
br i1 %0, label %entry.bb_crit_edge, label %entry.bb2_crit_edge
entry.bb2_crit_edge: ; preds = %entry
br label %bb2
entry.bb_cr...
2010 Jun 11
2
[LLVMdev] experimenting with partial evaluation
Hello !
I wanted to experiment with partial evaluation and llvm seems to be the
right tool for this, but since I'm new to it of course I'm a bit lost !
I'll try to explain what I want to do in the simplest possible way :
I have a C program.
In this program, there is a function f( a,b ).
I have a value A for a.
I want to specialise f() so I get a function fA( b ) which is the same as