summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/RSProfiling.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-02 20:07:03 +0000
committerChris Lattner <sabre@nondot.org>2010-01-02 20:07:03 +0000
commit351e22aa36e012f0f96b4fb33b797bb2ccd9a873 (patch)
treedb04d2d1cbc9afbcc7da7bd784be5b4398c6b06c /llvm/lib/Transforms/Instrumentation/RSProfiling.h
parentc92a37e917de3eeef28f4485e95a7f56597340d5 (diff)
downloadbcm5719-llvm-351e22aa36e012f0f96b4fb33b797bb2ccd9a873.tar.gz
bcm5719-llvm-351e22aa36e012f0f96b4fb33b797bb2ccd9a873.zip
remove the random sampling framework, which is not maintained anymore.
If there is interest, it can be resurrected from SVN. PR4912. llvm-svn: 92422
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/RSProfiling.h')
-rw-r--r--llvm/lib/Transforms/Instrumentation/RSProfiling.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/RSProfiling.h b/llvm/lib/Transforms/Instrumentation/RSProfiling.h
deleted file mode 100644
index 8bbe7c7b28f..00000000000
--- a/llvm/lib/Transforms/Instrumentation/RSProfiling.h
+++ /dev/null
@@ -1,31 +0,0 @@
-//===- RSProfiling.h - Various profiling using random sampling ----------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// See notes in RSProfiling.cpp
-//
-//===----------------------------------------------------------------------===//
-#include "llvm/Transforms/RSProfiling.h"
-#include <set>
-
-namespace llvm {
- /// RSProfilers_std - a simple support class for profilers that handles most
- /// of the work of chaining and tracking inserted code.
- struct RSProfilers_std : public RSProfilers {
- static char ID;
- std::set<Value*> profcode;
- // Lookup up values in profcode
- virtual bool isProfiling(Value* v);
- // handles required chaining
- virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- // places counter updates in basic blocks and recordes added instructions in
- // profcode
- void IncrementCounterInBlock(BasicBlock *BB, unsigned CounterNum,
- GlobalValue *CounterArray);
- };
-}
OpenPOWER on IntegriCloud