Reduces time spent in this during glean texCombine by about 2/3.
This helps distinguish between lowering passes, optimization passes, and other compiler code.