summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-06 22:28:36 +0000
committerChris Lattner <sabre@nondot.org>2006-04-06 22:28:36 +0000
commitf24380e78ecc8a2db1b2116867d878b1e7c6f6ed (patch)
tree4e4d2f4da8b5564fe8828e87ca2bbd09ba197a1b /lib/Target/PowerPC/PPCISelLowering.h
parent64fa7a72964f7ddb53ef160d05e5da48dc2ad56f (diff)
downloadllvm-f24380e78ecc8a2db1b2116867d878b1e7c6f6ed.tar.gz
llvm-f24380e78ecc8a2db1b2116867d878b1e7c6f6ed.tar.bz2
llvm-f24380e78ecc8a2db1b2116867d878b1e7c6f6ed.tar.xz
Match vpku[hw]um(x,x).
Convert vsldoi(x,x) to work the same way other (x,x) cases work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h
index 559256b4d1..c6c91af724 100644
--- a/lib/Target/PowerPC/PPCISelLowering.h
+++ b/lib/Target/PowerPC/PPCISelLowering.h
@@ -104,11 +104,11 @@ namespace llvm {
namespace PPC {
/// isVPKUHUMShuffleMask - Return true if this is the shuffle mask for a
/// VPKUHUM instruction.
- bool isVPKUHUMShuffleMask(SDNode *N);
+ bool isVPKUHUMShuffleMask(SDNode *N, bool isUnary);
/// isVPKUWUMShuffleMask - Return true if this is the shuffle mask for a
/// VPKUWUM instruction.
- bool isVPKUWUMShuffleMask(SDNode *N);
+ bool isVPKUWUMShuffleMask(SDNode *N, bool isUnary);
/// isVMRGLShuffleMask - Return true if this is a shuffle mask suitable for
/// a VRGL* instruction with the specified unit size (1,2 or 4 bytes).
@@ -120,11 +120,7 @@ namespace llvm {
/// isVSLDOIShuffleMask - If this is a vsldoi shuffle mask, return the shift
/// amount, otherwise return -1.
- int isVSLDOIShuffleMask(SDNode *N);
-
- /// isVSLDOIRotateShuffleMask - If this is a vsldoi rotate shuffle mask,
- /// return the shift amount, otherwise return -1. This matches vsldoi(x,x).
- int isVSLDOIRotateShuffleMask(SDNode *N);
+ int isVSLDOIShuffleMask(SDNode *N, bool isUnary);
/// isSplatShuffleMask - Return true if the specified VECTOR_SHUFFLE operand
/// specifies a splat of a single element that is suitable for input to