LLVM API Documentation
#include <DOTGraphTraitsPass.h>
Public Member Functions | |
DOTGraphTraitsViewer (StringRef GraphName, char &ID) | |
bool | runOnFunction (Function &F) override |
void | getAnalysisUsage (AnalysisUsage &AU) const override |
Definition at line 34 of file DOTGraphTraitsPass.h.
llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::DOTGraphTraitsViewer | ( | StringRef | GraphName, |
char & | ID | ||
) | [inline] |
Definition at line 36 of file DOTGraphTraitsPass.h.
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().
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().