Displaying 3 results from an estimated 3 matches for "shulin".
Did you mean:
shuklin
2016 Mar 01
2
How to do some dataflow analysis via IR on a large project?
I am learning to do some basic dataflow analysis on C code projects,
such as Apache httpd. Now I am a newbie of LLVM IR, and there are some
problems in doing that.
In the official User Manual of how to write a LLVM PASS, they only
show the way to generate IR of a single ".c" source file. But in fact
there are so many examples that the usage and definition of a function
are not in the
2016 Jan 21
2
Could I do some control-flow and dataflow analysis cross files and functions via IR
As mentioned in the title, I want to do some control-flow and dataflow
analysis. I can only find the assignment statement in a function, but the
assigned variable is just a parameter of this function.
For example,
****************************************
int foo(struct A* a, int b, ...){
...
a->Int_field = b;
...
return 0;
}
*****************************************
in the code
2016 Mar 01
0
How to do some dataflow analysis via IR on a large project?
Dear Shulin,
Sounds like you'll need an inter-procedural analysis across different
source files. One
option I can think of is to manually update the Makefiles, make compiler
emit bitcode
files, merge them with llvm-link and run it through your optimization pass
as a big bitcode
file. This somehow could in...