<div dir="ltr"><div><div><div>Hello Graham,<br></div><br>We are also starting some work in the general direction of outlining/function splitting using profiling information.  In our case, we are focusing on splitting functions into smaller parts to allow for a better code layout and thus better Icache/ITLB utilization.  <br></div><br></div><div>It wasn't clear to me from your description what type of subgraphs those cold regions would generate, and whether you would need to extend the code in CodeExtractor.h/FunctionCloner  to support those.<br><br></div><div>Abdoul-kader keita,<br></div><div>Compiler Engineering @ Facebook, Inc<br></div><div><br></div><div>Thanks,<br></div><div><div><div><br></div><div><br></div></div></div></div>