diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-28 19:54:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-28 19:54:11 +0000 |
commit | eda6dfd5e46f2475eb1a9d79750bdd6be6b7e94a (patch) | |
tree | 0da24b0b592ea1a8e9bee9615062437c751ce971 /include/llvm/CodeGen | |
parent | 4fbdd59f4ff40122ddf5a7adb40e1344da4f5f2b (diff) | |
download | external_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.h | 9 |
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 |