Here's a tutorial for implementing JIT in llvm: https://llvm.org/docs/tutorial/BuildingAJIT1.html
Also, there was a plan to AOT compile .NET not only for WASM targets but also for console.
Also, there was a plan to AOT compile .NET not only for WASM targets but also for console.