LLVM API Documentation
#include <DOTGraphTraitsPass.h>
Public Member Functions | |
DOTGraphTraitsPrinter (StringRef GraphName, char &ID) | |
bool | runOnFunction (Function &F) override |
void | getAnalysisUsage (AnalysisUsage &AU) const override |
Definition at line 61 of file DOTGraphTraitsPass.h.
llvm::DOTGraphTraitsPrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::DOTGraphTraitsPrinter | ( | StringRef | GraphName, |
char & | ID | ||
) | [inline] |
Definition at line 63 of file DOTGraphTraitsPass.h.
void llvm::DOTGraphTraitsPrinter< 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 86 of file DOTGraphTraitsPass.h.
References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().
bool llvm::DOTGraphTraitsPrinter< 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 66 of file DOTGraphTraitsPass.h.
References llvm::errs(), llvm::sys::fs::F_Text, llvm::ARMBuildAttrs::File, llvm::Value::getName(), llvm::StringRef::str(), and llvm::WriteGraph().