Displaying 6 results from an estimated 6 matches for "termbox".
2011 Feb 24
2
[LLVMdev] Get Element Ptr inst
Given 2 GEPs as follows,
%tmp124 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0, i32 5,
!dbg !1051 ; <[2 x i16]*> [#uses=1]
%tmp125 = getelementptr inbounds [2 x i16]* %tmp124, i64 0, i64 0, !dbg
!1051 ; <i16*> [#uses=1]
can I replace the 2nd one with
%tmp126 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0, i32 5,
i64 0, i64 0 ; &...
2011 Feb 24
0
[LLVMdev] Get Element Ptr inst
On 2/24/11 10:39 AM, Arushi Aggarwal wrote:
> Given 2 GEPs as follows,
>
> %tmp124 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0,
> i32 5, !dbg !1051 ; <[2 x i16]*> [#uses=1]
> %tmp125 = getelementptr inbounds [2 x i16]* %tmp124, i64 0, i64 0,
> !dbg !1051 ; <i16*> [#uses=1]
>
> can I replace the 2nd one with
>
> %tmp126 = getelementptr inbounds %struct.termbox* %termpt...
2011 Feb 24
1
[LLVMdev] Get Element Ptr inst
...type? The language manual does not state so
explicitly.
Arushi
On Thu, Feb 24, 2011 at 10:47 AM, John Criswell <criswell at illinois.edu>wrote:
> On 2/24/11 10:39 AM, Arushi Aggarwal wrote:
>
>> Given 2 GEPs as follows,
>>
>> %tmp124 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0, i32
>> 5, !dbg !1051 ; <[2 x i16]*> [#uses=1]
>> %tmp125 = getelementptr inbounds [2 x i16]* %tmp124, i64 0, i64 0, !dbg
>> !1051 ; <i16*> [#uses=1]
>>
>> can I replace the 2nd one with
>>
>> %tmp126 = getelementptr inbounds...
2011 Feb 22
2
[LLVMdev] Clone a function and change signature
...32> [#uses=1]
%tmp11 = trunc i32 %tmp10 to i16, !dbg !1027 ; <i16> [#uses=1]
store i16 %tmp11, i16* %y, align 2, !dbg !1027
ret void
return: ; preds = %entry
ret void
}
define internal void @point_DIRECT_SPEC(i16* %x, i16* %y, %struct.termbox*
%arg) nounwind {
entry:
%xx = alloca i32 ; <i32*> [#uses=3]
%yy = alloca i32 ; <i32*> [#uses=3]
%tmp = load %struct.MT** @mt, align 8, !dbg !1018 ; <%struct.MT*>
[#uses=1]
%tmp1 = icmp eq %struct.MT* %tmp, null...
2011 Feb 22
0
[LLVMdev] Clone a function and change signature
...i16, !dbg !1027 ; <i16> [#uses=1]
> store i16 %tmp11, i16* %y, align 2, !dbg !1027
> ret void
>
> return: ; preds = %entry
> ret void
> }
>
>
> define internal void @point_DIRECT_SPEC(i16* %x, i16* %y,
> %struct.termbox* %arg) nounwind {
> entry:
> %xx = alloca i32 ; <i32*> [#uses=3]
> %yy = alloca i32 ; <i32*> [#uses=3]
> %tmp = load %struct.MT** @mt, align 8, !dbg !1018 ; <%struct.MT*>
> [#uses=1]
> %tmp1 =...
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
...32> [#uses=1]
%tmp11 = trunc i32 %tmp10 to i16, !dbg !1027 ; <i16> [#uses=1]
store i16 %tmp11, i16* %y, align 2, !dbg !1027
ret void
return: ; preds = %entry
ret void
}
define internal void @point_DIRECT_SPEC(i16* %x, i16* %y, %struct.termbox*
%arg) nounwind {
entry:
%xx = alloca i32 ; <i32*> [#uses=3]
%yy = alloca i32 ; <i32*> [#uses=3]
%tmp = load %struct.MT** @mt, align 8, !dbg !1018 ; <%struct.MT*>
[#uses=1]
%tmp1 = icmp eq %struct.MT* %tmp, null...