summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-14 16:46:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-14 16:46:46 +0000
commit8c1d78ad512f6d81fbb64c31a66cfc16a1e236cc (patch)
tree356ac2c17629a4037dd49de3de5bd20b3d70490d /llvm/lib/Transforms/Instrumentation/ProfilingUtils.h
parent9770bde505a76b48e478aa149be5bcaeb150b56a (diff)
downloadbcm5719-llvm-8c1d78ad512f6d81fbb64c31a66cfc16a1e236cc.tar.gz
bcm5719-llvm-8c1d78ad512f6d81fbb64c31a66cfc16a1e236cc.zip
Remove lib/Transforms/Instrumentation/ProfilingUtils.*
They were leftover from the old profiling support. Patch by Alastair Murray. llvm-svn: 192605
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilingUtils.h')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilingUtils.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h b/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h
deleted file mode 100644
index 09b22171ff0..00000000000
--- a/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//===- ProfilingUtils.h - Helper functions shared by profilers --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines a few helper functions which are used by profile
-// instrumentation code to instrument the code. This allows the profiler pass
-// to worry about *what* to insert, and these functions take care of *how* to do
-// it.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef PROFILINGUTILS_H
-#define PROFILINGUTILS_H
-
-namespace llvm {
- class BasicBlock;
- class Function;
- class GlobalValue;
- class Module;
- class PointerType;
-
- void InsertProfilingInitCall(Function *MainFn, const char *FnName,
- GlobalValue *Arr = 0,
- PointerType *arrayType = 0);
- void IncrementCounterInBlock(BasicBlock *BB, unsigned CounterNum,
- GlobalValue *CounterArray,
- bool beginning = true);
- void InsertProfilingShutdownCall(Function *Callee, Module *Mod);
-}
-
-#endif
OpenPOWER on IntegriCloud