LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DOTGraphTraits< const Function * > Struct Template Reference

#include <CFGPrinter.h>

Inheritance diagram for llvm::DOTGraphTraits< const Function * >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraits< const Function * >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DOTGraphTraits (bool isSimple=false)
std::string getNodeLabel (const BasicBlock *Node, const Function *Graph)

Static Public Member Functions

static std::string getGraphName (const Function *F)
static std::string getSimpleNodeLabel (const BasicBlock *Node, const Function *)
static std::string getCompleteNodeLabel (const BasicBlock *Node, const Function *)
static std::string getEdgeSourceLabel (const BasicBlock *Node, succ_const_iterator I)

Detailed Description

template<>
struct llvm::DOTGraphTraits< const Function * >

Definition at line 26 of file CFGPrinter.h.


Constructor & Destructor Documentation

llvm::DOTGraphTraits< const Function * >::DOTGraphTraits ( bool  isSimple = false) [inline]

Definition at line 28 of file CFGPrinter.h.


Member Function Documentation

static std::string llvm::DOTGraphTraits< const Function * >::getCompleteNodeLabel ( const BasicBlock Node,
const Function  
) [inline, static]
static std::string llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel ( const BasicBlock Node,
succ_const_iterator  I 
) [inline, static]
static std::string llvm::DOTGraphTraits< const Function * >::getGraphName ( const Function F) [inline, static]

Definition at line 30 of file CFGPrinter.h.

References llvm::Value::getName(), and llvm::StringRef::str().

std::string llvm::DOTGraphTraits< const Function * >::getNodeLabel ( const BasicBlock Node,
const Function Graph 
) [inline]

Definition at line 91 of file CFGPrinter.h.

static std::string llvm::DOTGraphTraits< const Function * >::getSimpleNodeLabel ( const BasicBlock Node,
const Function  
) [inline, static]

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