LLVM API Documentation

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

#include <DOTGraphTraitsPass.h>

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

List of all members.

Public Member Functions

 DOTGraphTraitsModulePrinter (StringRef GraphName, char &ID)
bool runOnModule (Module &M) override
void getAnalysisUsage (AnalysisUsage &AU) const override

Detailed Description

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

Definition at line 124 of file DOTGraphTraitsPass.h.


Constructor & Destructor Documentation

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

Definition at line 126 of file DOTGraphTraitsPass.h.


Member Function Documentation

template<typename AnalysisT , bool IsSimple, typename GraphT = AnalysisT *, typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT>>
void llvm::DOTGraphTraitsModulePrinter< 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 148 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::DOTGraphTraitsModulePrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::runOnModule ( Module M) [inline, override, virtual]

runOnModule - Virtual method overriden by subclasses to process the module being operated on.

Implements llvm::ModulePass.

Definition at line 129 of file DOTGraphTraitsPass.h.

References llvm::errs(), llvm::sys::fs::F_Text, llvm::ARMBuildAttrs::File, and llvm::WriteGraph().


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