diff options
author | Dan Gohman <gohman@apple.com> | 2009-01-05 17:59:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-01-05 17:59:02 +0000 |
commit | d68a07650cdb2e18f18f362ba533459aa10e01b6 (patch) | |
tree | 0b0b5b402393260240d66dd4889d094b41a2ee82 /include/llvm/Transforms | |
parent | 08f053f5d1df120dc8389a3ec8947ab16b1ccc53 (diff) | |
download | external_llvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.zip external_llvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.tar.gz external_llvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.tar.bz2 |
Tidy up #includes, deleting a bunch of unnecessary #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Utils/Local.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index 3ccc612..35d2c0c 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -15,15 +15,18 @@ #ifndef LLVM_TRANSFORMS_UTILS_LOCAL_H #define LLVM_TRANSFORMS_UTILS_LOCAL_H -#include "llvm/Function.h" - namespace llvm { +class BasicBlock; +class Instruction; +class Value; class Pass; class PHINode; class AllocaInst; class ConstantExpr; class TargetData; + +template<typename T> class SmallVectorImpl; //===----------------------------------------------------------------------===// // Local constant propagation. @@ -84,12 +87,12 @@ bool SimplifyCFG(BasicBlock *BB); /// the alloca inserted to create a stack slot for X. /// AllocaInst *DemoteRegToStack(Instruction &X, bool VolatileLoads = false, - Instruction *AllocaPoint = NULL); + Instruction *AllocaPoint = 0); /// DemotePHIToStack - This function takes a virtual register computed by a phi /// node and replaces it with a slot in the stack frame, allocated via alloca. /// The phi node is deleted and it returns the pointer to the alloca inserted. -AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = NULL); +AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = 0); } // End llvm namespace |