inline the global 'getInstrOperandRegClass' function into its callers