summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430ISelLowering.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-12-07 02:28:10 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-12-07 02:28:10 +0000
commit06ccca5f70ef5f9c3e4add60b6fc842916705029 (patch)
tree24377fc854d0da204a4f43455cf5e03259577205 /lib/Target/MSP430/MSP430ISelLowering.h
parente662f7a8b22e7d31fb55e6502af94d49b78bc942 (diff)
downloadllvm-06ccca5f70ef5f9c3e4add60b6fc842916705029.tar.gz
llvm-06ccca5f70ef5f9c3e4add60b6fc842916705029.tar.bz2
llvm-06ccca5f70ef5f9c3e4add60b6fc842916705029.tar.xz
Add lowering of returnaddr and frameaddr intrinsics. Shamelessly stolen from x86 :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430ISelLowering.h')
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.h b/lib/Target/MSP430/MSP430ISelLowering.h
index 6a1a73e91e..0eac093833 100644
--- a/lib/Target/MSP430/MSP430ISelLowering.h
+++ b/lib/Target/MSP430/MSP430ISelLowering.h
@@ -86,6 +86,9 @@ namespace llvm {
SDValue LowerBR_CC(SDValue Op, SelectionDAG &DAG);
SDValue LowerSELECT_CC(SDValue Op, SelectionDAG &DAG);
SDValue LowerSIGN_EXTEND(SDValue Op, SelectionDAG &DAG);
+ SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG);
+ SDValue LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG);
+ SDValue getReturnAddressFrameIndex(SelectionDAG &DAG);
TargetLowering::ConstraintType
getConstraintType(const std::string &Constraint) const;
@@ -147,6 +150,7 @@ namespace llvm {
const MSP430Subtarget &Subtarget;
const MSP430TargetMachine &TM;
+ const TargetData *TD;
};
} // namespace llvm