<div dir="ltr">Hello all,<div><br></div><div>I need to modify llvm bytecode / native code just before it is emitted i.e. after all the regular operations and optimizations are done. I was told that this can be achieved by implementing a MachineFunctionPass. </div><div>I searched the internet for some tutorials or some example MachineFunctionPass but found nothing. Kindly point some links, or anything that may help. Thank you.</div><div><br></div><div>Regards,</div><div>Sachin</div></div>