LLVM 22.0.0git
llvm::AADepGraphNode Struct Reference

} More...

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

Inheritance diagram for llvm::AADepGraphNode:
[legend]

Public Types

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

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 514 of file Attributor.h.

Member Typedef Documentation

◆ aaiterator

Initial value:
typename vector_type::const_iterator iterator
Definition SetVector.h:71
static AbstractAttribute * DepGetValAA(const DepTy &DT)
Definition Attributor.h:526

Definition at line 534 of file Attributor.h.

◆ DepSetTy

Definition at line 518 of file Attributor.h.

◆ DepTy

Definition at line 517 of file Attributor.h.

◆ iterator

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 539 of file Attributor.h.

References DepGetVal(), and Deps.

◆ child_end()

iterator llvm::AADepGraphNode::child_end ( )
inline

Definition at line 540 of file Attributor.h.

References DepGetVal(), and Deps.

◆ DepGetVal()

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

◆ DepGetValAA()

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

◆ end()

aaiterator llvm::AADepGraphNode::end ( )
inline

Definition at line 538 of file Attributor.h.

References DepGetValAA(), and Deps.

Referenced by llvm::AAIsDead::isLiveInstSet(), and llvm::AACallEdges::optimisticEdgesEnd().

◆ getDeps()

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

Definition at line 546 of file Attributor.h.

References Deps.

◆ operator AbstractAttribute *()

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

Definition at line 530 of file Attributor.h.

References llvm::cast().

◆ print() [1/2]

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

Reimplemented in llvm::AbstractAttribute.

Definition at line 543 of file Attributor.h.

References Attributor.

◆ print() [2/2]

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

Definition at line 542 of file Attributor.h.

References print().

Referenced by print().

◆ AADepGraph

friend struct AADepGraph
friend

Definition at line 549 of file Attributor.h.

References AADepGraph.

Referenced by AADepGraph.

◆ Attributor

friend struct Attributor
friend

Definition at line 548 of file Attributor.h.

References Attributor.

Referenced by Attributor, and print().

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 523 of file Attributor.h.

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


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