diff options
author | Chris Lattner <sabre@nondot.org> | 2002-01-21 23:17:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-01-21 23:17:48 +0000 |
commit | 59b6b8e0b3e51dd899da25bd25b0793cc8229eea (patch) | |
tree | 6b89ab2c08ba45b58bfb089eb3c7643a804e9d7d /include/llvm/Transforms | |
parent | ae96151970a2c8268c5c9efa7856bce1f92bbf58 (diff) |
Move stuff out of the Optimizations directories into the appropriate Transforms
directories. Eliminate the opt namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/FunctionInlining.h | 4 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar/ConstantProp.h | 4 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar/DCE.h | 4 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar/SymbolStripping.h | 3 |
4 files changed, 0 insertions, 15 deletions
diff --git a/include/llvm/Transforms/FunctionInlining.h b/include/llvm/Transforms/FunctionInlining.h index abc08fdbad..252489749e 100644 --- a/include/llvm/Transforms/FunctionInlining.h +++ b/include/llvm/Transforms/FunctionInlining.h @@ -11,8 +11,6 @@ #include "llvm/BasicBlock.h" class CallInst; -namespace opt { - struct MethodInlining : public MethodPass { // DoMethodInlining - Use a heuristic based approach to inline methods that // seem to look good. @@ -37,6 +35,4 @@ struct MethodInlining : public MethodPass { bool InlineMethod(CallInst *C); bool InlineMethod(BasicBlock::iterator CI); // *CI must be CallInst -} // end namespace opt - #endif diff --git a/include/llvm/Transforms/Scalar/ConstantProp.h b/include/llvm/Transforms/Scalar/ConstantProp.h index f4418665f9..d9adf3f399 100644 --- a/include/llvm/Transforms/Scalar/ConstantProp.h +++ b/include/llvm/Transforms/Scalar/ConstantProp.h @@ -10,8 +10,6 @@ #include "llvm/Pass.h" class TerminatorInst; -namespace opt { - struct ConstantPropogation : public MethodPass { // doConstantPropogation - Do trivial constant propogation and expression // folding @@ -47,6 +45,4 @@ struct SCCPPass : public MethodPass { } }; -} // End Namespace opt - #endif diff --git a/include/llvm/Transforms/Scalar/DCE.h b/include/llvm/Transforms/Scalar/DCE.h index 0e9c620548..bc498c34a7 100644 --- a/include/llvm/Transforms/Scalar/DCE.h +++ b/include/llvm/Transforms/Scalar/DCE.h @@ -11,8 +11,6 @@ #include "llvm/Pass.h" #include "llvm/BasicBlock.h" -namespace opt { - struct DeadCodeElimination : public MethodPass { // External Interface: // @@ -66,6 +64,4 @@ struct AgressiveDCE : public MethodPass { // bool SimplifyCFG(Method::iterator &BBIt); -} // End namespace opt - #endif diff --git a/include/llvm/Transforms/Scalar/SymbolStripping.h b/include/llvm/Transforms/Scalar/SymbolStripping.h index ff31a4b532..156e21171f 100644 --- a/include/llvm/Transforms/Scalar/SymbolStripping.h +++ b/include/llvm/Transforms/Scalar/SymbolStripping.h @@ -10,8 +10,6 @@ #include "llvm/Pass.h" -namespace opt { - struct SymbolStripping : public MethodPass { // doSymbolStripping - Remove all symbolic information from a method // @@ -38,5 +36,4 @@ struct FullSymbolStripping : public MethodPass { } }; -} // End namespace opt #endif |