Displaying 7 results from an estimated 7 matches for "liucheng".
2012 May 24
0
[LLVMdev] data dependency and fully loop unrolling
...on loops (prior to unrolling) Preston and
Sanjoy have been working on this, see:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/049769.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-April/048812.html
(and other related threads)
-Hal
On Thu, 24 May 2012 19:07:33 +0800
Cheng Liu <st.liucheng at gmail.com> wrote:
> Hi, all
>
> When I have a loop unrolled, in the loop body, the same element of
> the array may be accessed multiple times.
> I see there are then load and store instructions and I can no longer
> trace the data dependency directly by comparing
> the...
2012 May 24
2
[LLVMdev] data dependency and fully loop unrolling
Hi, all
When I have a loop unrolled, in the loop body, the same element of the
array may be accessed multiple times.
I see there are then load and store instructions and I can no longer
trace the data dependency directly by comparing
the operands. So I am writing to see if anyone has done this or any
methods in llvm that may help?
Best regards,
--
Cheng Liu
PhD Candidate
Department of
2012 May 09
0
[LLVMdev] How can I get the destination operand of an instruction?
Launcher <st.liucheng at gmail.com> writes:
> I am able to access the source operands of an instruction using either
> getOperand() or op_iterator, However, I can't find any method available for
> destination operand. Someone suggests that instruction itself can represent
> the destination operand.
&...
2012 May 09
4
[LLVMdev] How can I get the destination operand of an instruction?
I am able to access the source operands of an instruction using either
getOperand() or op_iterator, However, I can't find any method available for
destination operand. Someone suggests that instruction itself can represent
the destination operand.
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037518.html
The getOperand() returns an unsigned value like 0x9063498, while I can't
2012 May 10
1
[LLVMdev] How to get the label field of PHI instruction?
Typical PHI instruction in LLVM goes like this:
%P = phi i32* [%A, %BB1], [%B, %BB2]
When I try to access all the source operands, only %A and %B are included. I
checked the methods in instruction.h, but I didn't find any methods
obtaining the label fields i.e. %BB1, %BB2.
I notice that each label of a basic block is related with a value which can
be referenced in 'br'
2012 May 09
2
[LLVMdev] How can I get the destination operand of an instruction?
Sorry, I have typo in my question.
I will be careful next time.
This is how I obtain the source operands of an instruction.
// -----------------------------------------------------------------
BasicBlock::iterator it;
...
for(int k=0; k<OpNum; k++){
errs()<<it->getOperand(k)<<" ";
}
...
// --------------------------------------------------------------------
Also I
2013 Jan 18
2
[LLVMdev] How to get more details from storeInst ?
I have a loop fully unrolled and got the following store instruction.
store i32 %add.3, i32* getelementptr inbounds ([20 x [20 x i32]]* @c, i32 0,
i32 0, i32 0), align 4
I want to know exactly which element of the array that is going to be
stored, which help me to transform the high level language to hardware. Take
the instruction above as an example, I know the data is stored into c[0][0].
It