aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
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
commiteda6dfd5e46f2475eb1a9d79750bdd6be6b7e94a (patch)
tree0da24b0b592ea1a8e9bee9615062437c751ce971 /include/llvm/CodeGen
parent4fbdd59f4ff40122ddf5a7adb40e1344da4f5f2b (diff)
downloadexternal_llvm-eda6dfd5e46f2475eb1a9d79750bdd6be6b7e94a.zip
external_llvm-eda6dfd5e46f2475eb1a9d79750bdd6be6b7e94a.tar.gz
external_llvm-eda6dfd5e46f2475eb1a9d79750bdd6be6b7e94a.tar.bz2
Add a new node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 8e81b9f..cf5955d 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/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