sorry, my english is not good,
Umm...
my project is that Connect to Gcc's front-end and My back-end
first gcc parse sorce code
next gcc make a GENERIC
next gcc change GENERIC to GIMPLE
next gcc change GIMPLE to RTL
next gcc change RTL to assemblely code
next ...
is it correct?
Umm
i want to connect gcc's front-end to my'back-end
how to connect it?
first i want to connect gcc's tree IR and my back-end's IR
but i can't
then i try to connect gcc's RTL that was made -dr option
but that is impossible
so, i try to use gcc 4.0
i want to use gcc's gimple tree (that is gcc's
i am studing RTL that is gcc front-end
insn RTX has seven elements
ex) (insn id prev next pattern code log_links reg_notes)
(insn 12 10 14 (set (reg:QI 12 A0) (reg:QI 1 R1) -1 (nil) (nil))
where i get the impormation about code, log_links,
reg_notes---
can i convert RTL to original sorce ?
I am making a back-end compiler to use a gcc front-end
I want to translate gcc intermediate representation to our IR
gcc's IR is tree
so i want to view gcc IR
but i can't find view gcc IR option
-fdump-translation-unit-all make a .tu file , Is this gcc's IR?
but .tu file doesn't have date to