[MLIR][LLVM] Fix llvm.mlir.global mismatching print and parser order (#138986)

`GlobalOp` was parsing `thread_local` after `unnamed_addr`, but printing in the reverse order.

While here, make `AliasOp` match the same behavior and share common parts of global and alias printing.

GitOrigin-RevId: 7f98e5a5ea12b986b8637da22b46544b95f831cf
3 files changed
tree: e98ae372ae8349dd52cfc9983fef84ccb1f5f114
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.