summaryrefslogtreecommitdiff
path: root/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
commit5fadf1770901ae9ce231d9a68cb68da7bc4f2a91 (patch)
tree24d49e2d64e327e3eaa73982073ce065e6459b59 /lib/Transforms/Instrumentation/RSProfiling.h
parentf994bf00b5d1b0b74e70cfcf65414b8aa401d3ea (diff)
downloadllvm-5fadf1770901ae9ce231d9a68cb68da7bc4f2a91.tar.gz
llvm-5fadf1770901ae9ce231d9a68cb68da7bc4f2a91.tar.bz2
llvm-5fadf1770901ae9ce231d9a68cb68da7bc4f2a91.tar.xz
remove the random sampling framework, which is not maintained anymore.
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
Diffstat (limited to 'lib/Transforms/Instrumentation/RSProfiling.h')
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.h b/lib/Transforms/Instrumentation/RSProfiling.h
deleted file mode 100644
index 8bbe7c7b28..0000000000
--- a/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);
- };
-}