class DOTGraphTraitsViewer

Declaration

template <typename AnalysisT,
          bool IsSimple,
          typename GraphT = AnalysisT*,
          typename AnalysisGraphTraitsT =
              DefaultAnalysisGraphTraits<AnalysisT, GraphT>>
class DOTGraphTraitsViewer : public FunctionPass { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:33

Inherits from: FunctionPass

Templates

AnalysisT
bool IsSimple
GraphT = AnalysisT *
AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT, GraphT>

Method Overview

Inherited from FunctionPass:

Inherited from Pass:

Methods

DOTGraphTraitsViewer<AnalysisT,
                     IsSimple,
                     GraphT,
                     AnalysisGraphTraitsT>(
    llvm::StringRef GraphName,
    char& ID)

Declared at: llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:35

Parameters

llvm::StringRef GraphName
char& ID

void getAnalysisUsage(
    llvm::AnalysisUsage& AU) const

Description

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis <AnalysisType >() function, below.

Declared at: llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:63

Parameters

llvm::AnalysisUsage& AU

virtual bool processFunction(llvm::Function& F,
                             AnalysisT& Analysis)

Description

Return true if this function should be processed. An implementation of this class my override this function to indicate that only certain functions should be viewed.

Declared at: llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:44

Parameters

llvm::Function& F
AnalysisT& Analysis
The current analysis result for this function.

bool runOnFunction(llvm::Function& F)

Description

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

Declared at: llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:48

Parameters

llvm::Function& F