mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0489ce9303
This is a follow-up to r331272. We've been running doxygen with the autobrief option for a couple of years now. This makes the \brief markers into our comments redundant. Since they are a visual distraction and we don't want to encourage more \brief markers in new code either, this patch removes them all. Patch produced by for i in $(git grep -l '\@brief'); do perl -pi -e 's/\@brief //g' $i & done https://reviews.llvm.org/D46290 llvm-svn: 331275
72 lines
2.2 KiB
C++
72 lines
2.2 KiB
C++
//===-- RegionPrinter.h - Region printer external interface -----*- 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 external functions that can be called to explicitly
|
|
// instantiate the region printer.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_ANALYSIS_REGIONPRINTER_H
|
|
#define LLVM_ANALYSIS_REGIONPRINTER_H
|
|
|
|
namespace llvm {
|
|
class FunctionPass;
|
|
class Function;
|
|
class RegionInfo;
|
|
|
|
FunctionPass *createRegionViewerPass();
|
|
FunctionPass *createRegionOnlyViewerPass();
|
|
FunctionPass *createRegionPrinterPass();
|
|
FunctionPass *createRegionOnlyPrinterPass();
|
|
|
|
#ifndef NDEBUG
|
|
/// Open a viewer to display the GraphViz vizualization of the analysis
|
|
/// result.
|
|
///
|
|
/// Practical to call in the debugger.
|
|
/// Includes the instructions in each BasicBlock.
|
|
///
|
|
/// @param RI The analysis to display.
|
|
void viewRegion(llvm::RegionInfo *RI);
|
|
|
|
/// Analyze the regions of a function and open its GraphViz
|
|
/// visualization in a viewer.
|
|
///
|
|
/// Useful to call in the debugger.
|
|
/// Includes the instructions in each BasicBlock.
|
|
/// The result of a new analysis may differ from the RegionInfo the pass
|
|
/// manager currently holds.
|
|
///
|
|
/// @param F Function to analyze.
|
|
void viewRegion(const llvm::Function *F);
|
|
|
|
/// Open a viewer to display the GraphViz vizualization of the analysis
|
|
/// result.
|
|
///
|
|
/// Useful to call in the debugger.
|
|
/// Shows only the BasicBlock names without their instructions.
|
|
///
|
|
/// @param RI The analysis to display.
|
|
void viewRegionOnly(llvm::RegionInfo *RI);
|
|
|
|
/// Analyze the regions of a function and open its GraphViz
|
|
/// visualization in a viewer.
|
|
///
|
|
/// Useful to call in the debugger.
|
|
/// Shows only the BasicBlock names without their instructions.
|
|
/// The result of a new analysis may differ from the RegionInfo the pass
|
|
/// manager currently holds.
|
|
///
|
|
/// @param F Function to analyze.
|
|
void viewRegionOnly(const llvm::Function *F);
|
|
#endif
|
|
} // End llvm namespace
|
|
|
|
#endif
|