diff options
author | Devang Patel <dpatel@apple.com> | 2008-11-19 19:01:37 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-11-19 19:01:37 +0000 |
commit | dfca407c795178cd55bc84e3a3975f4ec964a67d (patch) | |
tree | fc7f15a460df581f72c07e3164c4df5351daab7c /include/llvm | |
parent | b8f69c65df4e10925305e8547bc3b509f467fe15 (diff) | |
download | external_llvm-dfca407c795178cd55bc84e3a3975f4ec964a67d.zip external_llvm-dfca407c795178cd55bc84e3a3975f4ec964a67d.tar.gz external_llvm-dfca407c795178cd55bc84e3a3975f4ec964a67d.tar.bz2 |
Do not use separate utility to walk all instructions and remove dead dbg intrinsics. Let instcombiner do this job.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Transforms/Utils/DbgInfoUtils.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/llvm/Transforms/Utils/DbgInfoUtils.h b/include/llvm/Transforms/Utils/DbgInfoUtils.h deleted file mode 100644 index 13f8fa3..0000000 --- a/include/llvm/Transforms/Utils/DbgInfoUtils.h +++ /dev/null @@ -1,28 +0,0 @@ -//===-- Transform/Utils/DbgInfoUtils.h - DbgInfo Utils ----------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// Utility functions to manipulate debugging information. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORMS_UTILS_DBGINFO_H -#define LLVM_TRANSFORMS_UTILS_DBGINFO_H -namespace llvm { -class BasicBlock; -class Function; - -/// RemoveDeadDbgIntrinsics - Remove dead dbg intrinsics from this -/// basic block. -void RemoveDeadDbgIntrinsics(BasicBlock &BB); - -/// RemoveDeadDbgIntrinsics - Remove dead dbg intrinsics from this function. -void RemoveDeadDbgIntrinsics(Function &F); - -} // End llvm namespace -#endif |