diff options
Diffstat (limited to 'include/llvm')
-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 |