diff options
author | Robert Lytton <robert@xmos.com> | 2014-01-06 14:21:00 +0000 |
---|---|---|
committer | Robert Lytton <robert@xmos.com> | 2014-01-06 14:21:00 +0000 |
commit | af74cbf553073b701fc570c7ef9b1446111ac9b6 (patch) | |
tree | 80c553a5b9d705896aad7a5d32133cc14eafd16f /lib/Target/XCore/XCore.h | |
parent | 12ad7cd730cb0575a6d03cccd6073af8e9486f3f (diff) | |
download | llvm-af74cbf553073b701fc570c7ef9b1446111ac9b6.tar.gz llvm-af74cbf553073b701fc570c7ef9b1446111ac9b6.tar.bz2 llvm-af74cbf553073b701fc570c7ef9b1446111ac9b6.tar.xz |
XCore target: Lower FRAME_TO_ARGS_OFFSET
This requires a knowledge of the stack size which is not known until
the frame is complete, hence the need for the XCoreFTAOElim pass
which lowers the XCoreISD::FRAME_TO_ARGS_OFFSET instrution into its
final form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCore.h')
-rw-r--r-- | lib/Target/XCore/XCore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCore.h b/lib/Target/XCore/XCore.h index 73c310be03..d707edc873 100644 --- a/lib/Target/XCore/XCore.h +++ b/lib/Target/XCore/XCore.h @@ -27,6 +27,7 @@ namespace llvm { void initializeXCoreLowerThreadLocalPass(PassRegistry &p); + FunctionPass *createXCoreFrameToArgsOffsetEliminationPass(); FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM, CodeGenOpt::Level OptLevel); ModulePass *createXCoreLowerThreadLocalPass(); |