summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FrameLowering.h
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-05-22 10:01:56 +0000
committerTamas Berghammer <tberghammer@google.com>2015-05-22 10:01:56 +0000
commit466692abdc1adfa60be9ca868fbbebefd3aae0e0 (patch)
treef9c0262bf4e244266b1b86d2d709a6f55749db08 /llvm/lib/Target/X86/X86FrameLowering.h
parent3ae88e2124b8f832b88d81700a545f06eab6e42c (diff)
downloadbcm5719-llvm-466692abdc1adfa60be9ca868fbbebefd3aae0e0.tar.gz
bcm5719-llvm-466692abdc1adfa60be9ca868fbbebefd3aae0e0.zip
Revert "[X86] Fix a variable name for r237977 so that it works with every compilers."
Revert "[X86] Refactor the prologue emission to prepare for shrink-wrapping." This reverts commit 6b3b93fc8b68a2c806aa992ee4bd3d7f61898d4b. This reverts commit ab0b15dff8539826283a59c2dd700a18a9680e0f. llvm-svn: 238011
Diffstat (limited to 'llvm/lib/Target/X86/X86FrameLowering.h')
-rw-r--r--llvm/lib/Target/X86/X86FrameLowering.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.h b/llvm/lib/Target/X86/X86FrameLowering.h
index eeeda75d337..a23bce9745e 100644
--- a/llvm/lib/Target/X86/X86FrameLowering.h
+++ b/llvm/lib/Target/X86/X86FrameLowering.h
@@ -79,26 +79,6 @@ public:
MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI) const override;
- /// Check the instruction before/after the passed instruction. If
- /// it is an ADD/SUB/LEA instruction it is deleted argument and the
- /// stack adjustment is returned as a positive value for ADD/LEA and
- /// a negative for SUB.
- static int mergeSPUpdates(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator &MBBI,
- unsigned StackPtr, bool doMergeWithPrevious);
-
- /// Emit a series of instructions to increment / decrement the stack
- /// pointer by a constant value.
- static void emitSPUpdate(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator &MBBI, unsigned StackPtr,
- int64_t NumBytes, bool Is64BitTarget,
- bool Is64BitStackPtr, bool UseLEA,
- const TargetInstrInfo &TII,
- const TargetRegisterInfo &TRI);
-
- /// Check that LEA can be use on SP in a prologue sequence for \p MF.
- bool useLEAForSPInProlog(const MachineFunction &MF) const;
-
private:
/// convertArgMovsToPushes - This method tries to convert a call sequence
/// that uses sub and mov instructions to put the argument onto the stack
OpenPOWER on IntegriCloud