aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Utils/DbgInfoUtils.h
blob: 13f8fa3ef2163b5ffe27947f7608e96776194802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===-- 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