LLVM 20.0.0git
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
llvm::AADepGraphNode Struct Reference

} More...

#include "llvm/Transforms/IPO/Attributor.h"

Inheritance diagram for llvm::AADepGraphNode:
Inheritance graph
[legend]

Public Types

using DepTy = PointerIntPair< AADepGraphNode *, 1 >
 
using DepSetTy = SmallSetVector< DepTy, 2 >
 
using iterator = mapped_iterator< DepSetTy::iterator, decltype(&DepGetVal)>
 
using aaiterator = mapped_iterator< DepSetTy::iterator, decltype(&DepGetValAA)>
 

Public Member Functions

virtual ~AADepGraphNode ()=default
 
aaiterator begin ()
 
aaiterator end ()
 
iterator child_begin ()
 
iterator child_end ()
 
void print (raw_ostream &OS) const
 
virtual void print (Attributor *, raw_ostream &OS) const
 
DepSetTygetDeps ()
 

Protected Member Functions

 operator AbstractAttribute * ()
 

Static Protected Member Functions

static AADepGraphNodeDepGetVal (const DepTy &DT)
 
static AbstractAttributeDepGetValAA (const DepTy &DT)
 

Protected Attributes

DepSetTy Deps
 Set of dependency graph nodes which should be updated if this one is updated.
 

Friends

struct Attributor
 
struct AADepGraph
 

Detailed Description

}

The data structure for the nodes of a dependency graph

Definition at line 502 of file Attributor.h.

Member Typedef Documentation

◆ aaiterator

Definition at line 522 of file Attributor.h.

◆ DepSetTy

Definition at line 506 of file Attributor.h.

◆ DepTy

Definition at line 505 of file Attributor.h.

◆ iterator

Definition at line 521 of file Attributor.h.

Constructor & Destructor Documentation

◆ ~AADepGraphNode()

virtual llvm::AADepGraphNode::~AADepGraphNode ( )
virtualdefault

Member Function Documentation

◆ begin()

aaiterator llvm::AADepGraphNode::begin ( )
inline

◆ child_begin()

iterator llvm::AADepGraphNode::child_begin ( )
inline

Definition at line 527 of file Attributor.h.

References llvm::SetVector< T, Vector, Set, N >::begin(), DepGetVal(), and Deps.

Referenced by llvm::AADepGraph::begin().

◆ child_end()

iterator llvm::AADepGraphNode::child_end ( )
inline

Definition at line 528 of file Attributor.h.

References DepGetVal(), Deps, and llvm::SetVector< T, Vector, Set, N >::end().

Referenced by llvm::AADepGraph::end().

◆ DepGetVal()

static AADepGraphNode * llvm::AADepGraphNode::DepGetVal ( const DepTy DT)
inlinestaticprotected

◆ DepGetValAA()

static AbstractAttribute * llvm::AADepGraphNode::DepGetValAA ( const DepTy DT)
inlinestaticprotected

◆ end()

aaiterator llvm::AADepGraphNode::end ( )
inline

◆ getDeps()

DepSetTy & llvm::AADepGraphNode::getDeps ( )
inline

Definition at line 534 of file Attributor.h.

References Deps.

◆ operator AbstractAttribute *()

llvm::AADepGraphNode::operator AbstractAttribute * ( )
inlineprotected

Definition at line 518 of file Attributor.h.

◆ print() [1/2]

virtual void llvm::AADepGraphNode::print ( Attributor ,
raw_ostream OS 
) const
inlinevirtual

Reimplemented in llvm::AbstractAttribute.

Definition at line 531 of file Attributor.h.

References OS.

◆ print() [2/2]

void llvm::AADepGraphNode::print ( raw_ostream OS) const
inline

Definition at line 530 of file Attributor.h.

References OS, and print().

Referenced by print().

Friends And Related Function Documentation

◆ AADepGraph

friend struct AADepGraph
friend

Definition at line 537 of file Attributor.h.

◆ Attributor

friend struct Attributor
friend

Definition at line 536 of file Attributor.h.

Member Data Documentation

◆ Deps

DepSetTy llvm::AADepGraphNode::Deps
protected

Set of dependency graph nodes which should be updated if this one is updated.

The bit encodes if it is optional.

Definition at line 511 of file Attributor.h.

Referenced by begin(), child_begin(), child_end(), end(), getDeps(), llvm::AADepGraph::print(), llvm::AbstractAttribute::printWithDeps(), and llvm::Attributor::registerAA().


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