search for: base_address_of_a

Displaying 3 results from an estimated 3 matches for "base_address_of_a".

2011 Jul 27
3
[LLVMdev] scalar evolution to determine access functions in arays
Hello, How can I compute the functions on the loop iterators used as array indices?  For example: for i = 0, N       for j = 0, M             A[2*i + j - 10] = ...  Can I obtain that this instruction A[2*i + j - 10]= .. always accesses memory using a function       f(i,j)   =   2*i + j - 10 + base_address_of_A If I run the scalar evolution pass on this code I obtain: %arrayidx = getelementptr inbounds [200 x i32]* @main.A, i32 0, i64 %idxprom   -->  ((4 * (sext i32 (-10 + (2 * %tmp6) + %tmp7) to i64)) + @main.A)         Could you please offer an insight on how can I obtain the function from the in...
2011 Aug 03
0
[LLVMdev] scalar evolution to determine access functions in arays
...I compute the functions on the loop iterators used as array > indices? > > For example: > > for i = 0, N > for j = 0, M > A[2*i + j - 10] = ... > > Can I obtain that this instruction A[2*i + j - 10]= .. always accesses > memory using a function f(i,j) = 2*i + j - 10 + base_address_of_A > > If I run the scalar evolution pass on this code I obtain: > > %arrayidx = getelementptr inbounds [200 x i32]* @main.A, i32 0, i64 %idxprom > > --> ((4 * (sext i32 (-10 + (2 * %tmp6) + %tmp7) to i64)) + @main.A) > > Could you please offer an insight on how can I obtain...
2011 Aug 03
2
[LLVMdev] scalar evolution to determine access functions in arays
...compute the functions on the loop iterators used as array > indices? > > For example: > > for i = 0, N > for j = 0, M > A[2*i + j - 10] = ... > > Can I obtain that this instruction A[2*i + j - 10]= .. always accesses > memory using a function f(i,j) = 2*i + j - 10 + base_address_of_A > > If I run the scalar evolution pass on this code I obtain: > > %arrayidx = getelementptr inbounds [200 x i32]* @main.A, i32 0, i64 %idxprom > > --> ((4 * (sext i32 (-10 + (2 * %tmp6) + %tmp7) to i64)) + @main.A) > > Could you please offer an insight on how can I ob...