aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-07-26 07:34:40 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-07-26 07:34:40 +0000
commit557c3631d320c5731e55b6f818a1c7b2d4d97176 (patch)
tree090da8652cbe31564bd456dd9b7c54d3e36aeb43 /include/llvm
parentf0006127b3c4dd5e0e104ae0ef1d25d7540d57f0 (diff)
downloadexternal_llvm-557c3631d320c5731e55b6f818a1c7b2d4d97176.zip
external_llvm-557c3631d320c5731e55b6f818a1c7b2d4d97176.tar.gz
external_llvm-557c3631d320c5731e55b6f818a1c7b2d4d97176.tar.bz2
Add selection DAG nodes for subreg insert/extract. PR1350
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-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 c96d516..a74c048 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -289,6 +289,15 @@ namespace ISD {
/// elements of the vector are undefined.
SCALAR_TO_VECTOR,
+ // EXTRACT_SUBREG - This node is used to extract a sub-register value.
+ // This node takes a superreg and a constant sub-register index as operands.
+ EXTRACT_SUBREG,
+
+ // INSERT_SUBREG - This node is used to insert a sub-register value.
+ // This node takes a superreg, a subreg value, and a constant sub-register
+ // index as operands.
+ INSERT_SUBREG,
+
// MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing
// an unsigned/signed value of type i[2*n], then return the top part.
MULHU, MULHS,