LLVM 20.0.0git
|
} More...
#include "llvm/Transforms/IPO/Attributor.h"
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 |
DepSetTy & | getDeps () |
Protected Member Functions | |
operator AbstractAttribute * () | |
Static Protected Member Functions | |
static AADepGraphNode * | DepGetVal (const DepTy &DT) |
static AbstractAttribute * | DepGetValAA (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 |
}
The data structure for the nodes of a dependency graph
Definition at line 507 of file Attributor.h.
using llvm::AADepGraphNode::aaiterator = mapped_iterator<DepSetTy::iterator, decltype(&DepGetValAA)> |
Definition at line 527 of file Attributor.h.
using llvm::AADepGraphNode::DepSetTy = SmallSetVector<DepTy, 2> |
Definition at line 511 of file Attributor.h.
using llvm::AADepGraphNode::DepTy = PointerIntPair<AADepGraphNode *, 1> |
Definition at line 510 of file Attributor.h.
using llvm::AADepGraphNode::iterator = mapped_iterator<DepSetTy::iterator, decltype(&DepGetVal)> |
Definition at line 526 of file Attributor.h.
|
virtualdefault |
|
inline |
Definition at line 530 of file Attributor.h.
References llvm::SetVector< T, Vector, Set, N >::begin(), DepGetValAA(), and Deps.
Referenced by llvm::AAPotentialConstantValues::getAssumedConstant(), llvm::AAIsDead::isLiveInstSet(), and llvm::AACallEdges::optimisticEdgesBegin().
|
inline |
Definition at line 532 of file Attributor.h.
References llvm::SetVector< T, Vector, Set, N >::begin(), DepGetVal(), and Deps.
Referenced by llvm::AADepGraph::begin().
|
inline |
Definition at line 533 of file Attributor.h.
References DepGetVal(), Deps, and llvm::SetVector< T, Vector, Set, N >::end().
Referenced by llvm::AADepGraph::end().
|
inlinestaticprotected |
Definition at line 518 of file Attributor.h.
Referenced by child_begin(), and child_end().
|
inlinestaticprotected |
Definition at line 519 of file Attributor.h.
|
inline |
Definition at line 531 of file Attributor.h.
References DepGetValAA(), Deps, and llvm::SetVector< T, Vector, Set, N >::end().
Referenced by llvm::AAIsDead::isLiveInstSet(), and llvm::AACallEdges::optimisticEdgesEnd().
|
inline |
Definition at line 539 of file Attributor.h.
References Deps.
|
inlineprotected |
Definition at line 523 of file Attributor.h.
|
inlinevirtual |
Reimplemented in llvm::AbstractAttribute.
Definition at line 536 of file Attributor.h.
References OS.
|
inline |
|
friend |
Definition at line 542 of file Attributor.h.
|
friend |
Definition at line 541 of file Attributor.h.
|
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 516 of file Attributor.h.
Referenced by begin(), child_begin(), child_end(), end(), getDeps(), llvm::AADepGraph::print(), llvm::AbstractAttribute::printWithDeps(), and llvm::Attributor::registerAA().