LLVM API Documentation

Public Member Functions
llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT > Class Template Reference

#include <DOTGraphTraitsPass.h>

Inheritance diagram for llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DOTGraphTraitsViewer (StringRef GraphName, char &ID)
bool runOnFunction (Function &F) override
void getAnalysisUsage (AnalysisUsage &AU) const override

Detailed Description

template<typename AnalysisT, bool IsSimple, typename GraphT = AnalysisT *, typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT>>
class llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >

Definition at line 34 of file DOTGraphTraitsPass.h.


Constructor & Destructor Documentation

template<typename AnalysisT , bool IsSimple, typename GraphT = AnalysisT *, typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT>>
llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::DOTGraphTraitsViewer ( StringRef  GraphName,
char &  ID 
) [inline]

Definition at line 36 of file DOTGraphTraitsPass.h.


Member Function Documentation

template<typename AnalysisT , bool IsSimple, typename GraphT = AnalysisT *, typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT>>
void llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::getAnalysisUsage ( AnalysisUsage ) const [inline, override, virtual]

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.

Reimplemented from llvm::Pass.

Definition at line 49 of file DOTGraphTraitsPass.h.

References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().

template<typename AnalysisT , bool IsSimple, typename GraphT = AnalysisT *, typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT>>
bool llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::runOnFunction ( Function F) [inline, override, virtual]

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

Implements llvm::FunctionPass.

Definition at line 39 of file DOTGraphTraitsPass.h.

References llvm::Value::getName(), llvm::StringRef::str(), and llvm::ViewGraph().


The documentation for this class was generated from the following file: