LLVM 20.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  PrintLaneMaskShort
 
struct  PrintNode
 
struct  RefNode
 
struct  RegisterAggr
 
struct  RegisterAggrMap
 
struct  RegisterRef
 
struct  StmtNode
 
struct  TargetOperandInfo
 
struct  UseNode
 

Typedefs

using NodeId = uint32_t
 
using Node = NodeAddr< NodeBase * >
 
using Ref = NodeAddr< RefNode * >
 
using Def = NodeAddr< DefNode * >
 
using Use = NodeAddr< UseNode * >
 
using PhiUse = NodeAddr< PhiUseNode * >
 
using Code = NodeAddr< CodeNode * >
 
using Instr = NodeAddr< InstrNode * >
 
using Phi = NodeAddr< PhiNode * >
 
using Stmt = NodeAddr< StmtNode * >
 
using Block = NodeAddr< BlockNode * >
 
using Func = NodeAddr< FuncNode * >
 
using RegisterSet = std::set< RegisterRef >
 
using NodeList = SmallVector< Node, 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< Def > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Use > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< PhiUse > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Ref > &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< Phi > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Stmt > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Instr > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Block > &P)
 
raw_ostreamoperator<< (raw_ostream &OS, const Print< Func > &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)
 
template<typename T >
bool disjoint (const std::set< T > &A, const std::set< T > &B)
 
raw_ostreamoperator<< (raw_ostream &OS, const RegisterAggr &A)
 
raw_ostreamoperator<< (raw_ostream &OS, const PrintLaneMaskShort &P)
 
static void printRefHeader (raw_ostream &OS, const Ref RA, const DataFlowGraph &G)
 

Typedef Documentation

◆ Block

using llvm::rdf::Block = typedef NodeAddr<BlockNode *>

Definition at line 392 of file RDFGraph.h.

◆ Code

using llvm::rdf::Code = typedef NodeAddr<CodeNode *>

Definition at line 388 of file RDFGraph.h.

◆ Def

using llvm::rdf::Def = typedef NodeAddr<DefNode *>

Definition at line 384 of file RDFGraph.h.

◆ Func

using llvm::rdf::Func = typedef NodeAddr<FuncNode *>

Definition at line 393 of file RDFGraph.h.

◆ Instr

using llvm::rdf::Instr = typedef NodeAddr<InstrNode *>

Definition at line 389 of file RDFGraph.h.

◆ Node

using llvm::rdf::Node = typedef NodeAddr<NodeBase *>

Definition at line 381 of file RDFGraph.h.

◆ NodeId

using llvm::rdf::NodeId = typedef uint32_t

Definition at line 262 of file RDFGraph.h.

◆ NodeList

using llvm::rdf::NodeList = typedef SmallVector<Node, 4>

Definition at line 550 of file RDFGraph.h.

◆ NodeSet

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

Definition at line 551 of file RDFGraph.h.

◆ Phi

using llvm::rdf::Phi = typedef NodeAddr<PhiNode *>

Definition at line 390 of file RDFGraph.h.

◆ PhiUse

Definition at line 386 of file RDFGraph.h.

◆ Ref

using llvm::rdf::Ref = typedef NodeAddr<RefNode *>

Definition at line 383 of file RDFGraph.h.

◆ RegisterId

Definition at line 32 of file RDFRegisters.h.

◆ RegisterSet

typedef std::set< RegisterRef, std::less< RegisterRef > > llvm::rdf::RegisterSet

Definition at line 450 of file RDFGraph.h.

◆ Stmt

using llvm::rdf::Stmt = typedef NodeAddr<StmtNode *>

Definition at line 391 of file RDFGraph.h.

◆ Use

using llvm::rdf::Use = typedef NodeAddr<UseNode *>

Definition at line 385 of file RDFGraph.h.

Function Documentation

◆ disjoint()

template<typename T >
bool llvm::rdf::disjoint ( const std::set< T > &  A,
const std::set< T > &  B 
)

Definition at line 35 of file RDFRegisters.h.

References A, and B.

Referenced by llvm::rdf::PhysicalRegisterInfo::alias(), and llvm::rdf::DataFlowGraph::isTracked().

◆ operator<<() [1/19]

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

◆ operator<<() [2/19]

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

Definition at line 318 of file RDFGraph.cpp.

References E, I, OS, and P.

◆ operator<<() [3/19]

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

Definition at line 118 of file RDFGraph.cpp.

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

◆ operator<<() [4/19]

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

Definition at line 295 of file RDFGraph.cpp.

References I, OS, and P.

◆ operator<<() [5/19]

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

Definition at line 248 of file RDFGraph.cpp.

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

◆ operator<<() [6/19]

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

Definition at line 61 of file RDFLiveness.cpp.

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

◆ operator<<() [7/19]

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

◆ operator<<() [8/19]

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

Definition at line 175 of file RDFGraph.cpp.

References I, N, OS, and P.

◆ operator<<() [9/19]

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

Definition at line 185 of file RDFGraph.cpp.

References I, N, OS, and P.

◆ operator<<() [10/19]

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

Definition at line 218 of file RDFGraph.cpp.

References OS, and P.

◆ operator<<() [11/19]

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

Definition at line 146 of file RDFGraph.cpp.

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

◆ operator<<() [12/19]

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

◆ operator<<() [13/19]

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

Definition at line 313 of file RDFGraph.cpp.

References OS, and P.

◆ operator<<() [14/19]

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

Definition at line 45 of file RDFGraph.cpp.

References OS, and P.

◆ operator<<() [15/19]

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

Definition at line 305 of file RDFGraph.cpp.

References I, OS, and P.

◆ operator<<() [16/19]

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

Definition at line 224 of file RDFGraph.cpp.

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

◆ operator<<() [17/19]

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

Definition at line 135 of file RDFGraph.cpp.

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

◆ operator<<() [18/19]

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

Definition at line 409 of file RDFRegisters.cpp.

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

◆ operator<<() [19/19]

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

Definition at line 404 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 Ref  RA,
const DataFlowGraph G 
)
static

Definition at line 111 of file RDFGraph.cpp.

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

Referenced by operator<<().