Instead of generating C code you might be able to generate LLVM IR and have it execute immediately, saved to disk, or both. I don't know how it will perform for you or how high level your generated C is though, it may not be realistic.
Or use it to compile your C as it is pretty quick. It's not going to speed things up by orders of magnitude but every bit helps.