LLVM 22.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 514 of file Attributor.h.
using llvm::AADepGraphNode::aaiterator = mapped_iterator<DepSetTy::iterator, decltype(&DepGetValAA)> |
Definition at line 534 of file Attributor.h.
using llvm::AADepGraphNode::DepSetTy = SmallSetVector<DepTy, 2> |
Definition at line 518 of file Attributor.h.
using llvm::AADepGraphNode::DepTy = PointerIntPair<AADepGraphNode *, 1> |
Definition at line 517 of file Attributor.h.
using llvm::AADepGraphNode::iterator = mapped_iterator<DepSetTy::iterator, decltype(&DepGetVal)> |
Definition at line 533 of file Attributor.h.
|
virtualdefault |
|
inline |
Definition at line 537 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 539 of file Attributor.h.
References llvm::SetVector< T, Vector, Set, N >::begin(), DepGetVal(), and Deps.
Referenced by llvm::AADepGraph::begin().
|
inline |
Definition at line 540 of file Attributor.h.
References DepGetVal(), Deps, and llvm::SetVector< T, Vector, Set, N >::end().
Referenced by llvm::AADepGraph::end().
|
inlinestaticprotected |
Definition at line 525 of file Attributor.h.
Referenced by child_begin(), and child_end().
|
inlinestaticprotected |
Definition at line 526 of file Attributor.h.
|
inline |
Definition at line 538 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 546 of file Attributor.h.
References Deps.
|
inlineprotected |
Definition at line 530 of file Attributor.h.
|
inlinevirtual |
Reimplemented in llvm::AbstractAttribute.
Definition at line 543 of file Attributor.h.
References OS.
|
inline |
|
friend |
Definition at line 549 of file Attributor.h.
|
friend |
Definition at line 548 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 523 of file Attributor.h.
Referenced by begin(), child_begin(), child_end(), end(), getDeps(), llvm::AADepGraph::print(), llvm::AbstractAttribute::printWithDeps(), and llvm::Attributor::registerAA().