[AMDGPU] Refactor SIFoldOperands. NFC.
authorJay Foad <jay.foad@amd.com>
Wed, 7 Sep 2022 09:49:50 +0000 (10:49 +0100)
committerJay Foad <jay.foad@amd.com>
Wed, 7 Sep 2022 10:05:01 +0000 (11:05 +0100)
commit96dfa523c22c0d85c1d81fb9db86debe96e06a1d
treef017a9097fff8336a15a27e7ac6537d2c4c4d24d
parente047a4ab55e5899e159a0cf196b42cb34f6ad3f0
[AMDGPU] Refactor SIFoldOperands. NFC.

Refactor static functions into class methods so they have access to TII, MRI
etc.
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp