[HLSL][Matrix] Add all and any support (#243998)
fixes https://github.com/llvm/llvm-project/issues/184494
fixes https://github.com/llvm/llvm-project/issues/184493
Implemented matrix support for all and any using header-only helpers
that reuse vector reductions
This PR was assisted by copilot fusion