Displaying 2 results from an estimated 2 matches for "cprasenj".
2009 Sep 02
1
[LLVMdev] Listing all loops in a function
Hi,
I am new to LLVM. I want to go through all loops in a function. I see
that there is a LoopPass manager that I can use. But that is not much of
help, as I want to get the order of loops in CallGraphSCC order, hence I
visit each function and then just want to go over the loops.
Regards,
Prasenjit Chakraborty
Performance Modeling and Analysis
IBM Systems & Technology Lab
2009 Oct 12
3
[LLVMdev] Accessing Loop Variables
Hi,
How do I access the loop variables in a loop.
for(i = 0; i < N; i++)
for(j = 0; j < M; j++)
A[i][j+k] = i + j;
Is there anyway for me to know that in A[i][j+k], i & j are loop variables
whereas k is not!
Regards,
Prasenjit Chakraborty
Performance Modeling and Analysis
IBM Systems & Technology Lab