LLVM 20.0.0git
|
#include "llvm/CodeGen/RDFGraph.h"
Public Member Functions | |
RefNode ()=default | |
RegisterRef | getRegRef (const DataFlowGraph &G) const |
MachineOperand & | getOp () |
void | setRegRef (RegisterRef RR, DataFlowGraph &G) |
void | setRegRef (MachineOperand *Op, DataFlowGraph &G) |
NodeId | getReachingDef () const |
void | setReachingDef (NodeId RD) |
NodeId | getSibling () const |
void | setSibling (NodeId Sib) |
bool | isUse () const |
bool | isDef () const |
template<typename Predicate > | |
Ref | getNextRef (RegisterRef RR, Predicate P, bool NextOnly, const DataFlowGraph &G) |
Node | getOwner (const DataFlowGraph &G) |
Public Member Functions inherited from llvm::rdf::NodeBase | |
NodeBase ()=default | |
uint16_t | getType () const |
uint16_t | getKind () const |
uint16_t | getFlags () const |
NodeId | getNext () const |
uint16_t | getAttrs () const |
void | setAttrs (uint16_t A) |
void | setFlags (uint16_t F) |
void | append (Node NA) |
void | init () |
void | setNext (NodeId N) |
Additional Inherited Members | |
Protected Attributes inherited from llvm::rdf::NodeBase | |
uint16_t | Attrs |
uint16_t | Reserved |
NodeId | Next |
union { | |
Ref_struct RefData | |
Code_struct CodeData | |
}; | |
Definition at line 553 of file RDFGraph.h.
|
default |
Ref llvm::rdf::RefNode::getNextRef | ( | RegisterRef | RR, |
Predicate | P, | ||
bool | NextOnly, | ||
const DataFlowGraph & | G | ||
) |
Definition at line 912 of file RDFGraph.h.
References llvm::rdf::NodeAddr< T >::Addr, assert(), llvm::rdf::NodeAttrs::Code, G, llvm::rdf::NodeBase::getNext(), P, RA, and llvm::rdf::NodeAttrs::Ref.
|
inline |
Definition at line 558 of file RDFGraph.h.
References assert(), llvm::rdf::NodeBase::getFlags(), llvm::rdf::NodeBase::Ref_struct::Op, llvm::rdf::NodeAttrs::PhiRef, and llvm::rdf::NodeBase::RefData.
Node llvm::rdf::RefNode::getOwner | ( | const DataFlowGraph & | G | ) |
Definition at line 428 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeAttrs::Code, G, llvm::rdf::NodeBase::getNext(), and llvm_unreachable.
|
inline |
Definition at line 566 of file RDFGraph.h.
References llvm::rdf::NodeBase::Ref_struct::RD, and llvm::rdf::NodeBase::RefData.
RegisterRef llvm::rdf::RefNode::getRegRef | ( | const DataFlowGraph & | G | ) | const |
Definition at line 402 of file RDFGraph.cpp.
References assert(), llvm::rdf::NodeBase::Attrs, llvm::rdf::NodeAttrs::flags(), G, llvm::rdf::NodeBase::Ref_struct::Op, llvm::rdf::NodeAttrs::PhiRef, llvm::rdf::NodeBase::Ref_struct::PR, llvm::rdf::NodeAttrs::Ref, llvm::rdf::NodeBase::RefData, and llvm::rdf::NodeAttrs::type().
|
inline |
Definition at line 569 of file RDFGraph.h.
References llvm::rdf::NodeBase::RefData, and llvm::rdf::NodeBase::Ref_struct::Sib.
Referenced by llvm::rdf::CopyPropagation::run().
|
inline |
Definition at line 577 of file RDFGraph.h.
References assert(), llvm::rdf::NodeAttrs::Def, llvm::rdf::NodeBase::getKind(), llvm::rdf::NodeBase::getType(), and llvm::rdf::NodeAttrs::Ref.
|
inline |
Definition at line 572 of file RDFGraph.h.
References assert(), llvm::rdf::NodeBase::getKind(), llvm::rdf::NodeBase::getType(), llvm::rdf::NodeAttrs::Ref, and llvm::rdf::NodeAttrs::Use.
|
inline |
Definition at line 567 of file RDFGraph.h.
References llvm::rdf::NodeBase::Ref_struct::RD, and llvm::rdf::NodeBase::RefData.
void llvm::rdf::RefNode::setRegRef | ( | MachineOperand * | Op, |
DataFlowGraph & | G | ||
) |
Definition at line 420 of file RDFGraph.cpp.
References assert(), llvm::rdf::NodeBase::Attrs, llvm::rdf::NodeAttrs::flags(), G, llvm::rdf::NodeBase::Ref_struct::Op, llvm::rdf::NodeAttrs::PhiRef, llvm::rdf::NodeAttrs::Ref, llvm::rdf::NodeBase::RefData, and llvm::rdf::NodeAttrs::type().
void llvm::rdf::RefNode::setRegRef | ( | RegisterRef | RR, |
DataFlowGraph & | G | ||
) |
Definition at line 412 of file RDFGraph.cpp.
References assert(), llvm::rdf::NodeBase::Attrs, llvm::rdf::NodeAttrs::flags(), G, llvm::rdf::NodeAttrs::PhiRef, llvm::rdf::NodeBase::Ref_struct::PR, llvm::rdf::NodeAttrs::Ref, llvm::rdf::NodeBase::RefData, and llvm::rdf::NodeAttrs::type().
|
inline |
Definition at line 570 of file RDFGraph.h.
References llvm::rdf::NodeBase::RefData, and llvm::rdf::NodeBase::Ref_struct::Sib.