[llvm-commits] [llvm] r122169 - /llvm/trunk/include/llvm/Transforms/RSProfiling.h

Chris Lattner sabre at nondot.org
Sat Dec 18 20:49:12 PST 2010


Author: lattner
Date: Sat Dec 18 22:49:11 2010
New Revision: 122169

URL: http://llvm.org/viewvc/llvm-project?rev=122169&view=rev
Log:
remove dead header

Removed:
    llvm/trunk/include/llvm/Transforms/RSProfiling.h

Removed: llvm/trunk/include/llvm/Transforms/RSProfiling.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/RSProfiling.h?rev=122168&view=auto
==============================================================================
--- llvm/trunk/include/llvm/Transforms/RSProfiling.h (original)
+++ llvm/trunk/include/llvm/Transforms/RSProfiling.h (removed)
@@ -1,42 +0,0 @@
-//===- RSProfiling.cpp - 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.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the abstract interface that a profiler must implement to
-// support the random profiling transform.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_TRANSFORMS_RSPROFILING_H
-#define LLVM_TRANSFORMS_RSPROFILING_H
-
-#include "llvm/Pass.h"
-
-namespace llvm {
-  class Value;
-  
-  //===--------------------------------------------------------------------===//
-  /// RSProfilers - The basic Random Sampling Profiler Interface  Any profiler 
-  /// that implements this interface can be transformed by the random sampling
-  /// pass to be sample based rather than always on.
-  ///
-  /// The only exposed function can be queried to find out if an instruction
-  /// was original or if it was inserted by the profiler.  Implementations of
-  /// this interface are expected to chain to other implementations, such that
-  /// multiple profilers can be support simultaniously.
-  struct RSProfilers : public ModulePass {
-    static char ID; // Pass identification, replacement for typeinfo
-    RSProfilers() : ModulePass(&ID) {}
-
-    /// isProfiling - This method returns true if the value passed it was 
-    /// inserted by the profiler.
-    virtual bool isProfiling(Value* v) = 0;
-  };
-}
-
-#endif





More information about the llvm-commits mailing list