Cost model support for lowered math builtins.