LLVM 22.0.0git
DOTGraphTraitsPass.h File Reference
#include "llvm/Analysis/CFGPrinter.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/GraphWriter.h"
#include <unordered_set>

Go to the source code of this file.

Classes

struct  llvm::DefaultAnalysisGraphTraits< Result, GraphT >
 Default traits class for extracting a graph from an analysis pass. More...
struct  llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >
struct  llvm::DOTGraphTraitsPrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >
struct  llvm::LegacyDefaultAnalysisGraphTraits< AnalysisT, GraphT >
 Default traits class for extracting a graph from an analysis pass. More...
class  llvm::DOTGraphTraitsViewerWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >
class  llvm::DOTGraphTraitsPrinterWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >
class  llvm::DOTGraphTraitsModuleViewerWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >
class  llvm::DOTGraphTraitsModulePrinterWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

template<typename GraphT>
void llvm::viewGraphForFunction (Function &F, GraphT Graph, StringRef Name, bool IsSimple)
static void llvm::shortenFileName (std::string &FN, unsigned char len=250)
template<typename GraphT>
void llvm::printGraphForFunction (Function &F, GraphT Graph, StringRef Name, bool IsSimple)
template<typename GraphT>
void llvm::WriteDOTGraphToFile (Function &F, GraphT &&Graph, std::string FileNamePrefix, bool IsSimple)

Variables

static std::unordered_set< std::stringnameObj

Variable Documentation

◆ nameObj

std::unordered_set<std::string> nameObj
static

Definition at line 21 of file DOTGraphTraitsPass.h.

Referenced by llvm::shortenFileName().