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