LLVM 22.0.0git
llvm::PBQP::GraphBase Class Reference

#include "llvm/CodeGen/PBQP/Graph.h"

Inheritance diagram for llvm::PBQP::GraphBase:
[legend]

Public Types

using NodeId = unsigned
using EdgeId = unsigned

Static Public Member Functions

static NodeId invalidNodeId ()
 Returns a value representing an invalid (non-existent) node.
static EdgeId invalidEdgeId ()
 Returns a value representing an invalid (non-existent) edge.

Detailed Description

Definition at line 26 of file Graph.h.

Member Typedef Documentation

◆ EdgeId

Definition at line 29 of file Graph.h.

◆ NodeId

Definition at line 28 of file Graph.h.

Member Function Documentation

◆ invalidEdgeId()

EdgeId llvm::PBQP::GraphBase::invalidEdgeId ( )
inlinestatic

Returns a value representing an invalid (non-existent) edge.

Definition at line 37 of file Graph.h.

Referenced by llvm::PBQP::Graph< RegAllocSolverImpl >::findEdge().

◆ invalidNodeId()

NodeId llvm::PBQP::GraphBase::invalidNodeId ( )
inlinestatic

Returns a value representing an invalid (non-existent) node.

Definition at line 32 of file Graph.h.

Referenced by llvm::PBQP::RegAlloc::GraphMetadata::getNodeIdForVReg().


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