Displaying 4 results from an estimated 4 matches for "_frame_data".
Did you mean:
iframe_data
2012 Apr 17
2
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
...nctions use this buffer, by assiging to appropriate struct pointers (memory reusing probably).
frameDLt = (FRAME_DATA*) &Data[MAX_SIZE];
frameDRt = (FRAME_DATA*) &Data[3*MAX_SIZE];
Where frameDLt and frameDRt are struct pointers to
"FRAME_DATA *frameDLt;" and "SBR_FRAME_DATA *frameDRt;"
The struct is defined as:
%struct._FRAME_DATA = type { i16, %struct._FRAME_INFO, [5 x i16], [2 x i16], [5 x i32], i32, i16, [48 x i32], i16, [240 x i16], [10 x i16] }
%struct._FRAME_INFO = type { i16, i16, [6 x i16], [5 x i16], i16, i16, [3 x i16] }
The code generated, whe...
2012 Apr 17
2
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
With reference to the previous query,
I think, i miscalculated the offset, just recalculating.
1. without instruction combining
coupling member variable, is at:
%struct._FRAME_DATA* %2, i32 0, i32 5
where "%2" is defined as:
%arrayidx3 = getelementptr inbounds i16* %Data, i32 1024, !dbg !446
%2 = bitcast i16* %arrayidx3 to %struct._FRAME_DATA*, !dbg !446
i.e. at 5 offset in FRAME_DATA i.e. the 6th element, i.e. coupling member variable.
i16, i16, i16, [6 x i...
2012 Apr 18
0
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
...>
Sent: Tuesday, April 17, 2012 7:51 PM
Subject: Re: [LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
With reference to the previous query,
I think, i miscalculated the offset, just recalculating.
1. without instruction combining
coupling member variable, is at:
%struct._FRAME_DATA* %2, i32 0, i32 5
where "%2" is defined as:
%arrayidx3 = getelementptr inbounds i16* %Data, i32 1024, !dbg !446
%2 = bitcast i16* %arrayidx3 to %struct._FRAME_DATA*, !dbg !446
i.e. at 5 offset in FRAME_DATA i.e. the 6th element, i.e. coupling member variable.
i16, i16, i16, [6 x i...
2012 Apr 17
0
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
Hi Pankaj, your best bet is to send the entire bitcode before and after
instcombine runs.
Ciao, Duncan.