summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430ISelLowering.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 13:08:33 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 13:08:33 +0000
commit3513ca81c6beda087a281a66f1b0e612879c0aad (patch)
tree0bbec021994d8fb22acb207c3e3a9f82e314e2df /lib/Target/MSP430/MSP430ISelLowering.h
parent3c2684d13646a76a0dd9ca6a8da5bd7fc0de6e8a (diff)
downloadllvm-3513ca81c6beda087a281a66f1b0e612879c0aad.tar.gz
llvm-3513ca81c6beda087a281a66f1b0e612879c0aad.tar.bz2
llvm-3513ca81c6beda087a281a66f1b0e612879c0aad.tar.xz
Add lowering for global address nodes. Not pretty efficient though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430ISelLowering.h')
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.h b/lib/Target/MSP430/MSP430ISelLowering.h
index 9e18cb093d..a1f03ac963 100644
--- a/lib/Target/MSP430/MSP430ISelLowering.h
+++ b/lib/Target/MSP430/MSP430ISelLowering.h
@@ -32,7 +32,11 @@ namespace llvm {
/// CALL/TAILCALL - These operations represent an abstract call
/// instruction, which includes a bunch of information.
- CALL
+ CALL,
+
+ /// Wrapper - A wrapper node for TargetConstantPool, TargetExternalSymbol,
+ /// and TargetGlobalAddress.
+ Wrapper
};
}
@@ -55,6 +59,7 @@ namespace llvm {
SDValue LowerRET(SDValue Op, SelectionDAG &DAG);
SDValue LowerCCCArguments(SDValue Op, SelectionDAG &DAG);
SDValue LowerShifts(SDValue Op, SelectionDAG &DAG);
+ SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG);
SDValue LowerCCCCallTo(SDValue Op, SelectionDAG &DAG,
unsigned CC);