This commit adds utilities that facilitate code generation patterns used by the AOT engine. Closes gh-28028