[PowerPC] NFC : Common up definitions of isIntS16Immediate and update parameter to int16_t

llvm-svn: 307442
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index ecc35d0..6a61285 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -1096,6 +1096,9 @@
                                            ISD::ArgFlagsTy &ArgFlags,
                                            CCState &State);
 
+    bool isIntS16Immediate(SDNode *N, int16_t &Imm);
+    bool isIntS16Immediate(SDValue Op, int16_t &Imm);
+
 } // end namespace llvm
 
 #endif // LLVM_TARGET_POWERPC_PPC32ISELLOWERING_H