Re: TCG IR extraction

2022-09-01 Thread Alex Bennée
Tom Clark writes: > Hello, > > Thanks so much for reading this and I appreciate any and all time you put > into this. > > I'm a dev working on a project that's using QEMU as its basis. I'm interested > in extracting the IR representation of > translation blocks, preferably at the instruction

Re: TCG IR extraction

2022-08-31 Thread Richard Henderson
On 8/31/22 19:11, Tom Clark wrote: I've done a lot of digging in the source and found the code_gen_buffer and determined that's where the IR generation is being written to That's not IR generation, but the JIT compiler output. There's no sequential "byte" format. There's struct TCGOp, which i

TCG IR extraction

2022-08-31 Thread Tom Clark
Hello, Thanks so much for reading this and I appreciate any and all time you put into this. I'm a dev working on a project that's using QEMU as its basis. I'm interested in extracting the IR representation of translation blocks, preferably at the instruction level, to do some analysis on it. In v