aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-22 19:56:46 +0000
committerChris Lattner <sabre@nondot.org>2006-03-22 19:56:46 +0000
commit762f2ae0c4c07a93fd2f830fb079692dbccef85c (patch)
tree554534b9529f4493df48fdddff9c437c58a77fe1 /include
parenta88973f8262d93f4902e220e34cb44444992b858 (diff)
downloadexternal_llvm-762f2ae0c4c07a93fd2f830fb079692dbccef85c.zip
external_llvm-762f2ae0c4c07a93fd2f830fb079692dbccef85c.tar.gz
external_llvm-762f2ae0c4c07a93fd2f830fb079692dbccef85c.tar.bz2
add a new node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index fd134aa..70e4f33 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -176,6 +176,18 @@ namespace ISD {
/// of the element size of VEC1/VEC2, not in terms of bytes.
VECTOR_SHUFFLE,
+ /// X = VBIT_CONVERT(Y) and X = VBIT_CONVERT(Y, COUNT,TYPE) - This node
+ /// represents a conversion from or to an ISD::Vector type.
+ ///
+ /// This is lowered to a BIT_CONVERT of the appropriate input/output types.
+ /// The input and output are required to have the same size and at least one
+ /// is required to be a vector.
+ ///
+ /// If the source is a vector, this takes three operands (like any other
+ /// vector consumer) which indicate the size and type of the vector input.
+ /// Otherwise it takes one input.
+ VBIT_CONVERT,
+
/// BINOP(LHS, RHS, COUNT,TYPE)
/// Simple abstract vector operators. Unlike the integer and floating point
/// binary operators, these nodes also take two additional operands: