summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-28 19:54:11 +0000
committerChris Lattner <sabre@nondot.org>2006-03-28 19:54:11 +0000
commit82e8658264c990f918707ac8a6d7995f9bd2a17d (patch)
tree251f50991f350a176c0ad5d54e2128d71f8f753c
parentb7163598f9e958029ce4338faa2d090db0f2bfc6 (diff)
downloadbcm5719-llvm-82e8658264c990f918707ac8a6d7995f9bd2a17d.tar.gz
bcm5719-llvm-82e8658264c990f918707ac8a6d7995f9bd2a17d.zip
Add a new node
llvm-svn: 27230
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 8e81b9f7c49..cf5955d6314 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -189,6 +189,15 @@ namespace ISD {
/// element number IDX.
EXTRACT_VECTOR_ELT,
+ /// VVECTOR_SHUFFLE(VEC1, VEC2, SHUFFLEVEC, COUNT,TYPE) - Returns a vector,
+ /// of the same type as VEC1/VEC2. SHUFFLEVEC is a VBUILD_VECTOR of
+ /// constant int values that indicate which value each result element will
+ /// get. The elements of VEC1/VEC2 are enumerated in order. This is quite
+ /// similar to the Altivec 'vperm' instruction, except that the indices must
+ /// be constants and are in terms of the element size of VEC1/VEC2, not in
+ /// terms of bytes.
+ VVECTOR_SHUFFLE,
+
/// VECTOR_SHUFFLE(VEC1, VEC2, SHUFFLEVEC) - Returns a vector, of the same
/// type as VEC1/VEC2. SHUFFLEVEC is a BUILD_VECTOR of constant int values
/// (regardless of whether its datatype is legal or not) that indicate
OpenPOWER on IntegriCloud