<div dir="ltr"><div>Hi,</div><div><br></div><div>I haven't touched LLVM codes for many years. I have a few questions related to LLVM JIT and PGO in JIT:  </div><div>1) Is LLVM JIT method-based or trace-based JIT?</div>
<div>2) How does LLVM do gear shift from the interpreter mode to the JIT mode?</div><div>3) Any profiling mechanism implemented in LLVM JIT?</div><div>4) Any profile-guided optimization implemented in LLVM JIT? </div><div>
<br></div><div>thanks</div><div>Qiong </div><div><br></div></div>