[LLVMdev] Code analysis

kamals at iitk.ac.in kamals at iitk.ac.in
Mon Aug 27 23:04:13 PDT 2007


Hi All,

I think , I was unclear in my last post.

I am looking for source code analysis of a program, something similar to
what SUIF does.

Consider a simple example of Matrix addition
A[i][j]+=B[i][j];

I want to know how matrix A is accessed, like whether it is A[i][j] in
this case or A[j][i].

Is there anyway in llvm to write a pass to identify this? Can someone give
pointers to it?

Regards,
Kamal



More information about the llvm-dev mailing list