Instead of creating and destroying a SILProfiler per TopLevelCodeDecl, setup a single profiler for the top-level entry point function, and visit all the TopLevelCodeDecls when mapping regions.