Skip to content

Commit

Permalink
remove the random sampling framework, which is not maintained anymore.
Browse files Browse the repository at this point in the history
If there is interest, it can be resurrected from SVN.  PR4912.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92422 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Jan 2, 2010
1 parent f994bf0 commit 5fadf17
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 926 deletions.
4 changes: 0 additions & 4 deletions include/llvm/LinkAllPasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ namespace {
(void) llvm::createLibCallAliasAnalysisPass(0);
(void) llvm::createScalarEvolutionAliasAnalysisPass();
(void) llvm::createBlockPlacementPass();
(void) llvm::createBlockProfilerPass();
(void) llvm::createBreakCriticalEdgesPass();
(void) llvm::createCFGSimplificationPass();
(void) llvm::createConstantMergePass();
Expand All @@ -71,7 +70,6 @@ namespace {
(void) llvm::createOptimalEdgeProfilerPass();
(void) llvm::createFunctionInliningPass();
(void) llvm::createAlwaysInlinerPass();
(void) llvm::createFunctionProfilerPass();
(void) llvm::createGlobalDCEPass();
(void) llvm::createGlobalOptimizerPass();
(void) llvm::createGlobalsModRefPass();
Expand Down Expand Up @@ -120,8 +118,6 @@ namespace {
(void) llvm::createTailDuplicationPass();
(void) llvm::createJumpThreadingPass();
(void) llvm::createUnifyFunctionExitNodesPass();
(void) llvm::createNullProfilerRSPass();
(void) llvm::createRSProfilingPass();
(void) llvm::createInstCountPass();
(void) llvm::createCodeGenPreparePass();
(void) llvm::createGVNPass();
Expand Down
10 changes: 0 additions & 10 deletions include/llvm/Transforms/Instrumentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,12 @@ namespace llvm {
class ModulePass;
class FunctionPass;

// Insert function profiling instrumentation
ModulePass *createFunctionProfilerPass();

// Insert block profiling instrumentation
ModulePass *createBlockProfilerPass();

// Insert edge profiling instrumentation
ModulePass *createEdgeProfilerPass();

// Insert optimal edge profiling instrumentation
ModulePass *createOptimalEdgeProfilerPass();

// Random Sampling Profiling Framework
ModulePass* createNullProfilerRSPass();
FunctionPass* createRSProfilingPass();

} // End llvm namespace

#endif
128 changes: 0 additions & 128 deletions lib/Transforms/Instrumentation/BlockProfiling.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions lib/Transforms/Instrumentation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
add_llvm_library(LLVMInstrumentation
BlockProfiling.cpp
EdgeProfiling.cpp
OptimalEdgeProfiling.cpp
ProfilingUtils.cpp
RSProfiling.cpp
)
Loading

0 comments on commit 5fadf17

Please sign in to comment.