Resolve almost all clang tidy warnings in this file:
- Clean up string constants.
- Use consistent argument names across function declarations and definitions. Rename state - > result, which is consistent with the other dialects.
- Remove misleading function parameter name comments (argTypes). This did not match the actual function argument (bool enableNameShadowing).
- Simplify calls to is_splat.
I actually think result is not the proper naming; state should be better. This is really building up the full state of the op, including operands, results, and attributes. Results is really just part of it. But I understand the consistency concerns here. So this is also fine to me.