LLVM 23.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 526 of file Attributor.h.

Member Typedef Documentation

◆ aaiterator

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

Definition at line 546 of file Attributor.h.

◆ DepSetTy

Definition at line 530 of file Attributor.h.

◆ DepTy

Definition at line 529 of file Attributor.h.

◆ iterator

Constructor & Destructor Documentation

◆ ~AADepGraphNode()

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

Member Function Documentation

◆ begin()

◆ child_begin()

iterator llvm::AADepGraphNode::child_begin ( )
inline

Definition at line 551 of file Attributor.h.

References DepGetVal(), and Deps.

◆ child_end()

iterator llvm::AADepGraphNode::child_end ( )
inline

Definition at line 552 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 550 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 558 of file Attributor.h.

References Deps.

◆ operator AbstractAttribute *()

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

Definition at line 542 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 555 of file Attributor.h.

References Attributor.

◆ print() [2/2]

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

Definition at line 554 of file Attributor.h.

References print().

Referenced by print().

◆ AADepGraph

friend struct AADepGraph
friend

Definition at line 561 of file Attributor.h.

References AADepGraph.

Referenced by AADepGraph.

◆ Attributor

friend struct Attributor
friend

Definition at line 560 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 535 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: