LLVM 17.0.0git
Namespaces | Classes | Typedefs | Functions
llvm::rdf Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  BlockNode
 
struct  BuildOptions
 
struct  CodeNode
 
struct  CopyPropagation
 
struct  DataFlowGraph
 
struct  DeadCodeElimination
 
struct  DefNode
 
struct  FuncNode
 
struct  IndexedSet
 
struct  InstrNode
 
struct  LaneMaskIndex
 
struct  Liveness
 
struct  NodeAddr
 
struct  NodeAllocator
 
struct  NodeAttrs
 
struct  NodeBase
 
struct  PackedRegisterRef
 
struct  PhiNode
 
struct  PhiUseNode
 
struct  PhysicalRegisterInfo
 
struct  Print
 
struct  PrintLaneMaskOpt
 
struct  PrintNode
 
struct  RefNode
 
struct  RegisterAggr
 
struct  RegisterAggrMap
 
struct  RegisterRef
 
struct  StmtNode
 
struct  TargetOperandInfo
 
struct  UseNode
 

Typedefs

using NodeId = uint32_t
 
using RegisterSet = std::set< RegisterRef >
 
using NodeList = SmallVector< NodeAddr< NodeBase * >, 4 >
 
using NodeSet = std::set< NodeId >
 
using RegisterId = uint32_t
 

Functions

template<typename T >
 Print (const T &, const DataFlowGraph &) -> Print< T >
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< RegisterRef > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeId > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< DefNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< UseNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< PhiUseNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< RefNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeList > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeSet > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< PhiNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< StmtNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< InstrNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< BlockNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< NodeAddr< FuncNode * > > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< RegisterSet > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< RegisterAggr > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< DataFlowGraph::DefStack > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Liveness::RefMap > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const PrintLaneMaskOpt &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const RegisterAggr &A)
 
static void printRefHeader (raw_ostream &OS, const NodeAddr< RefNode * > RA, const DataFlowGraph &G)
 

Typedef Documentation

◆ NodeId

using llvm::rdf::NodeId = typedef uint32_t

Definition at line 261 of file RDFGraph.h.

◆ NodeList

Definition at line 520 of file RDFGraph.h.

◆ NodeSet

using llvm::rdf::NodeSet = typedef std::set<NodeId>

Definition at line 521 of file RDFGraph.h.

◆ RegisterId

Definition at line 30 of file RDFRegisters.h.

◆ RegisterSet

using llvm::rdf::RegisterSet = typedef std::set<RegisterRef>

Definition at line 420 of file RDFGraph.h.

Function Documentation

◆ operator<<() [1/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< DataFlowGraph::DefStack > &  P 
)

Definition at line 334 of file RDFGraph.cpp.

References E, I, OS, and P.

◆ operator<<() [2/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< Liveness::RefMap > &  P 
)

Definition at line 63 of file RDFLiveness.cpp.

References E, I, OS, P, and llvm::printReg().

◆ operator<<() [3/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< BlockNode * > > &  P 
)

◆ operator<<() [4/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< DefNode * > > &  P 
)

Definition at line 131 of file RDFGraph.cpp.

References N, OS, P, and printRefHeader().

◆ operator<<() [5/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< FuncNode * > > &  P 
)

Definition at line 311 of file RDFGraph.cpp.

References I, OS, and P.

◆ operator<<() [6/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< InstrNode * > > &  P 
)

Definition at line 262 of file RDFGraph.cpp.

References OS, P, llvm::rdf::NodeAttrs::Phi, and llvm::rdf::NodeAttrs::Stmt.

◆ operator<<() [7/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< PhiNode * > > &  P 
)

Definition at line 232 of file RDFGraph.cpp.

References OS, and P.

◆ operator<<() [8/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< PhiUseNode * > > &  P 
)

Definition at line 159 of file RDFGraph.cpp.

References N, OS, P, and printRefHeader().

◆ operator<<() [9/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< RefNode * > > &  P 
)

◆ operator<<() [10/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< StmtNode * > > &  P 
)

Definition at line 238 of file RDFGraph.cpp.

References llvm::find_if(), MI, OS, P, and llvm::printMBBReference().

◆ operator<<() [11/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeAddr< UseNode * > > &  P 
)

Definition at line 148 of file RDFGraph.cpp.

References N, OS, P, and printRefHeader().

◆ operator<<() [12/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeId > &  P 
)

◆ operator<<() [13/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeList > &  P 
)

Definition at line 189 of file RDFGraph.cpp.

References I, N, OS, and P.

◆ operator<<() [14/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< NodeSet > &  P 
)

Definition at line 199 of file RDFGraph.cpp.

References I, N, OS, and P.

◆ operator<<() [15/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< RegisterAggr > &  P 
)

Definition at line 329 of file RDFGraph.cpp.

References OS, and P.

◆ operator<<() [16/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< RegisterRef > &  P 
)

Definition at line 55 of file RDFGraph.cpp.

References OS, P, and TRI.

◆ operator<<() [17/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const Print< RegisterSet > &  P 
)

Definition at line 321 of file RDFGraph.cpp.

References I, OS, and P.

◆ operator<<() [18/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const PrintLaneMaskOpt P 
)

Definition at line 49 of file RDFGraph.cpp.

References OS, P, and llvm::PrintLaneMask().

◆ operator<<() [19/19]

raw_ostream & llvm::rdf::operator<< ( raw_ostream OS,
const RegisterAggr A 
)

Definition at line 377 of file RDFRegisters.cpp.

References A, and OS.

◆ Print()

template<typename T >
llvm::rdf::Print ( const T ,
const DataFlowGraph  
) -> Print< T >

◆ printRefHeader()

static void llvm::rdf::printRefHeader ( raw_ostream OS,
const NodeAddr< RefNode * >  RA,
const DataFlowGraph G 
)
static

Definition at line 124 of file RDFGraph.cpp.

References llvm::rdf::NodeAttrs::Fixed, G, OS, and RA.

Referenced by operator<<().