If you are playing locally, you should try
gcc -c -fdump-tree-gimple hi.c
It will generate a temp file naming like hi.c.004t.gimple.
If you are playing in an online playground, like Godbolt.
You should try to add options -dump-tree-gimple in a compiler windows