Displaying 5 results from an estimated 5 matches for "pi_addr1".
Did you mean:
pi_addr
2009 May 24
3
[LLVMdev] mixing static/dynamic code
...]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
> store i32 %pi, i32* %ptr32
> %ptr8 = bitcast i32* %ptr32 to i8* ; <i8*> [#uses=1]
> call void @roc( i8* %ptr8 )
store i32 %pi, i32* %pi_addr
%pi_addr1 = bitcast i32* %pi_addr to i8* ; <i8*>
[#uses=1]
call void @roc( i8* %pi_addr1 )
...
void roc(void*) is a function that only prints its argument as an integer.
I was expecting for the program to print the same thing twice (the address
of the myfunc argument) because t...
2009 May 24
0
[LLVMdev] mixing static/dynamic code
...bitcast i32 0 to i32 ; <i32> [#uses=0]
>
> > store i32 %pi, i32* %ptr32
> > %ptr8 = bitcast i32* %ptr32 to i8* ; <i8*> [#uses=1]
> > call void @roc( i8* %ptr8 )
>
> store i32 %pi, i32* %pi_addr
> %pi_addr1 = bitcast i32* %pi_addr to i8* ; <i8*>
> [#uses=1]
> call void @roc( i8* %pi_addr1 )
> ...
>
> void roc(void*) is a function that only prints its argument as an integer.
So it's printing the pointer.
> I was expecting for the program to print t...
2009 May 24
2
[LLVMdev] mixing static/dynamic code
...2> [#uses=0]
> >
> > > store i32 %pi, i32* %ptr32
> > > %ptr8 = bitcast i32* %ptr32 to i8* ; <i8*>
> [#uses=1]
> > > call void @roc( i8* %ptr8 )
> >
> > store i32 %pi, i32* %pi_addr
> > %pi_addr1 = bitcast i32* %pi_addr to i8* ; <i8*>
> > [#uses=1]
> > call void @roc( i8* %pi_addr1 )
> > ...
> >
> > void roc(void*) is a function that only prints its argument as an
> integer.
>
> So it's printing the pointer.
>
> &...
2009 May 24
0
[LLVMdev] mixing static/dynamic code
...> > store i32 %pi, i32* %ptr32
> > > %ptr8 = bitcast i32* %ptr32 to i8* ; <i8*>
> [#uses=1]
> > > call void @roc( i8* %ptr8 )
> >
> > store i32 %pi, i32* %pi_addr
> > %pi_addr1 = bitcast i32* %pi_addr to i8* ;
> <i8*>
> > [#uses=1]
> > call void @roc( i8* %pi_addr1 )
> > ...
> >
> > void roc(void*) is a function that only prints its argument as an
> integer.
>
> So...
2009 May 24
1
[LLVMdev] mixing static/dynamic code
...pi, i32* %ptr32
> > > > %ptr8 = bitcast i32* %ptr32 to i8* ; <i8*>
> > [#uses=1]
> > > > call void @roc( i8* %ptr8 )
> > >
> > > store i32 %pi, i32* %pi_addr
> > > %pi_addr1 = bitcast i32* %pi_addr to i8* ;
> > <i8*>
> > > [#uses=1]
> > > call void @roc( i8* %pi_addr1 )
> > > ...
> > >
> > > void roc(void*) is a function that only prints its argument as an
>...