When any compiler like GCC compiles a C Program it generates intermediate code. Just like we can get Assembly code by applying -s option to any .c file, similarly I want to get Register-Transfer-Language (RTL) for C and JAVA file . How to get it ?
The three adress code is called gimple, see e.g. https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html but this seems more frontend-backend communication, it can be dumped using
gcc -fdump-tree-gimple <file>
See http://www.cse.iitb.ac.in/~uday/courses/cs324-05/gccProjects/node4.html
from some more IR related dumping options from HLL to deep. Probably you want option 4.