diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-14 02:13:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-14 02:13:57 +0000 |
commit | 2ed306362540a2a44fe4fdda6fa0af137925dd7c (patch) | |
tree | e9ad88657ec90169c820dc3c9772449111c2a304 /include | |
parent | a2dc727ac4d3cd6d6826140e33eb7b54f074b9d7 (diff) | |
download | external_llvm-2ed306362540a2a44fe4fdda6fa0af137925dd7c.zip external_llvm-2ed306362540a2a44fe4fdda6fa0af137925dd7c.tar.gz external_llvm-2ed306362540a2a44fe4fdda6fa0af137925dd7c.tar.bz2 |
Remove dead file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Utils/DemoteRegToStack.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/llvm/Transforms/Utils/DemoteRegToStack.h b/include/llvm/Transforms/Utils/DemoteRegToStack.h deleted file mode 100644 index 5810087..0000000 --- a/include/llvm/Transforms/Utils/DemoteRegToStack.h +++ /dev/null @@ -1,34 +0,0 @@ -//===- DemoteRegToStack.h - Move a virtual reg. to stack --------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file provides the function: -// AllocaInst* DemoteRegToStack(Instruction& X): -// -// This function takes a virtual register computed by an -// Instruction& X and replaces it with a slot in the stack frame, -// allocated via alloca. It has to: -// (1) Identify all Phi operations that have X as an operand and -// transitively other Phis that use such Phis; -// (2) Store all values merged with X via Phi operations to the stack slot; -// (3) Load the value from the stack slot just before any use of X or any -// of the Phis that were eliminated; and -// (4) Delete X and all the Phis, which should all now be dead. -// -// Returns the pointer to the alloca inserted to create a stack slot for X. -// -//===----------------------------------------------------------------------===// - -namespace llvm { - -class Instruction; -class AllocaInst; - -AllocaInst *DemoteRegToStack(Instruction &X); - -} // End llvm namespace |