LLVM: llvm::rdf::DataFlowGraph Struct Reference (original) (raw)
#include "[llvm/CodeGen/RDFGraph.h](RDFGraph%5F8h%5Fsource.html)"
| Public Member Functions |
|
|
DataFlowGraph (MachineFunction &mf, const TargetInstrInfo &tii, const TargetRegisterInfo &tri, const MachineDominatorTree &mdt, const MachineDominanceFrontier &mdf) |
|
DataFlowGraph (MachineFunction &mf, const TargetInstrInfo &tii, const TargetRegisterInfo &tri, const MachineDominatorTree &mdt, const MachineDominanceFrontier &mdf, const TargetOperandInfo &toi) |
| NodeBase * |
ptr (NodeId N) const |
| template<typename T> |
|
| T |
ptr (NodeId N) const |
| NodeId |
id (const NodeBase *P) const |
| template<typename T> |
|
| NodeAddr< T > |
addr (NodeId N) const |
| Func |
getFunc () const |
| MachineFunction & |
getMF () const |
| const TargetInstrInfo & |
getTII () const |
| const TargetRegisterInfo & |
getTRI () const |
| const PhysicalRegisterInfo & |
getPRI () const |
| const MachineDominatorTree & |
getDT () const |
| const MachineDominanceFrontier & |
getDF () const |
| const RegisterAggr & |
getLiveIns () const |
| void |
build (const Config &config) |
| void |
build () |
| void |
pushAllDefs (Instr IA, DefStackMap &DM) |
| void |
markBlock (NodeId B, DefStackMap &DefM) |
| void |
releaseBlock (NodeId B, DefStackMap &DefM) |
| PackedRegisterRef |
pack (RegisterRef RR) |
| PackedRegisterRef |
pack (RegisterRef RR) const |
| RegisterRef |
unpack (PackedRegisterRef PR) const |
| RegisterRef |
makeRegRef (unsigned Reg, unsigned Sub) const |
| RegisterRef |
makeRegRef (const MachineOperand &Op) const |
| Ref |
getNextRelated (Instr IA, Ref RA) const |
| Ref |
getNextShadow (Instr IA, Ref RA, bool Create) |
| NodeList |
getRelatedRefs (Instr IA, Ref RA) const |
| Block |
findBlock (MachineBasicBlock *BB) const |
| void |
unlinkUse (Use UA, bool RemoveFromOwner) |
| void |
unlinkDef (Def DA, bool RemoveFromOwner) |
| bool |
isTracked (RegisterRef RR) const |
| bool |
hasUntrackedRef (Stmt S, bool IgnoreReserved=true) const |
Definition at line 660 of file RDFGraph.h.
◆ DefStackMap
◆ DataFlowGraph() [2/2]
◆ addr()
◆ build() [1/2]
| void llvm::rdf::DataFlowGraph::build ( ) |
inline |
◆ build() [2/2]
| void llvm::rdf::DataFlowGraph::build |
( |
const Config & |
config |
) |
Definition at line 857 of file RDFGraph.cpp.
References llvm::rdf::CodeNode::addMember(), llvm::rdf::NodeAddr< T >::Addr, assert(), B(), DM, E(), llvm::rdf::RegisterAggr::empty(), findBlock(), llvm::rdf::BlockNode::getCode(), getPRI(), getTRI(), I, isTracked(), llvm::rdf::BuildOptions::KeepDeadPhis, llvm::MachineBasicBlock::liveins(), MRI, llvm::rdf::BuildOptions::OmitReserved, P, PB(), llvm::rdf::NodeAttrs::PhiRef, llvm::MachineBasicBlock::pred_empty(), llvm::rdf::NodeAttrs::Preserving, llvm::SmallVectorTemplateBase< T, bool >::push_back(), Range, and llvm::rdf::RegisterAggr::refs().
◆ findBlock()
◆ getDF()
◆ getDT()
◆ getFunc()
| Func llvm::rdf::DataFlowGraph::getFunc ( ) const |
inline |
◆ getLiveIns()
◆ getMF()
| Ref llvm::rdf::DataFlowGraph::getNextRelated |
( |
Instr |
IA, |
| Ref |
RA ) const |
|
|
◆ getNextShadow()
| Ref llvm::rdf::DataFlowGraph::getNextShadow |
( |
Instr |
IA, |
| Ref |
RA, |
|
|
| bool |
Create ) |
|
|
◆ getPRI()
◆ getTII()
◆ getTRI()
◆ hasUntrackedRef()
| bool llvm::rdf::DataFlowGraph::hasUntrackedRef |
( |
Stmt |
S, |
| bool |
IgnoreReserved = true ) const |
|
|
Definition at line 1824 of file RDFGraph.cpp.
References AbstractManglingParser< Derived, Alloc >::Ops, llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::RegisterRef::asMCReg(), llvm::rdf::StmtNode::getCode(), llvm::MCRegister::id(), llvm::is_contained(), llvm::rdf::RegisterRef::isReg(), isTracked(), llvm::rdf::CodeNode::members(), and llvm::MachineInstr::operands().
◆ id()
◆ IsCode()
| bool llvm::rdf::DataFlowGraph::IsCode ( const Node BA) |
inlinestatic |
◆ IsDef()
| bool llvm::rdf::DataFlowGraph::IsDef ( const Node BA) |
inlinestatic |
◆ IsPhi()
| bool llvm::rdf::DataFlowGraph::IsPhi ( const Node BA) |
inlinestatic |
◆ IsPreservingDef()
| bool llvm::rdf::DataFlowGraph::IsPreservingDef ( const Def DA) |
inlinestatic |
◆ IsRef()
| bool llvm::rdf::DataFlowGraph::IsRef ( const Node BA) |
inlinestatic |
◆ isTracked()
◆ IsUse()
| bool llvm::rdf::DataFlowGraph::IsUse ( const Node BA) |
inlinestatic |
◆ makeRegRef() [1/2]
◆ makeRegRef() [2/2]
◆ markBlock()
◆ pack() [1/2]
◆ pack() [2/2]
◆ ptr() [1/2]
◆ ptr() [2/2]
template<typename T>
| T llvm::rdf::DataFlowGraph::ptr ( NodeId N) const |
inline |
◆ pushAllDefs()
◆ releaseBlock()
◆ unlinkDef()
| void llvm::rdf::DataFlowGraph::unlinkDef ( Def DA, bool RemoveFromOwner ) |
inline |
◆ unlinkUse()
| void llvm::rdf::DataFlowGraph::unlinkUse ( Use UA, bool RemoveFromOwner ) |
inline |
◆ unpack()
The documentation for this struct was generated from the following files: