Simple and Modular LLVM based Live Variable Analysis project done as part of B.Tech
To count no. of basic blocks in the source program and no. of instructions in each
To print details like no. of arguments, no. of call sites, etc. for every function
To print the source line number that generated the corresponding LLVM IR instruction
To perform algebraic optimizations:
X + 0 = X
X - 0 = X
0 + X = X
X - X = X
To perform Live Variable Analysis and print a histogram