clang 20.0.0git
|
Classes | |
struct | CFGIntervalNode |
Typedefs | |
using | CFGIntervalGraph = std::deque< CFGIntervalNode > |
Functions | |
std::vector< const CFGBlock * > | buildInterval (const CFGBlock *Header) |
CFGIntervalGraph | partitionIntoIntervals (const CFG &Cfg) |
CFGIntervalGraph | partitionIntoIntervals (const CFGIntervalGraph &Graph) |
bool | anyConflict (const llvm::SmallVectorImpl< FixItHint > &FixIts, const SourceManager &SM) |
static unsigned | getID (const CFGBlock &B) |
static unsigned | getID (const CFGIntervalNode &I) |
template<typename Node > | |
BuildResult< Node > | buildInterval (llvm::BitVector &Partitioned, const Node *Header) |
template<typename Node > | |
void | fillIntervalNode (CFGIntervalGraph &Graph, std::vector< CFGIntervalNode * > &Index, std::queue< const Node * > &Successors, llvm::BitVector &Partitioned, const Node *Header) |
template<typename Node > | |
CFGIntervalGraph | partitionIntoIntervalsImpl (unsigned NumBlockIDs, const Node *EntryBlock) |
using clang::internal::CFGIntervalGraph = typedef std::deque<CFGIntervalNode> |
Definition at line 108 of file IntervalPartition.h.
bool clang::internal::anyConflict | ( | const llvm::SmallVectorImpl< FixItHint > & | FixIts, |
const SourceManager & | SM | ||
) |
Definition at line 1561 of file UnsafeBufferUsage.cpp.
References clang::CharSourceRange::getEnd(), clang::FixItHint::RemoveRange, and SM.
Referenced by getFixIts().
Definition at line 199 of file IntervalPartition.cpp.
References buildInterval(), clang::CFG::getNumBlockIDs(), and clang::CFGBlock::getParent().
Referenced by buildInterval(), and fillIntervalNode().
BuildResult< Node > clang::internal::buildInterval | ( | llvm::BitVector & | Partitioned, |
const Node * | Header | ||
) |
Definition at line 39 of file IntervalPartition.cpp.
References getID(), ID, Node, clang::BuildResult< Node >::Nodes, P, and clang::BuildResult< Node >::Successors.
void clang::internal::fillIntervalNode | ( | CFGIntervalGraph & | Graph, |
std::vector< CFGIntervalNode * > & | Index, | ||
std::queue< const Node * > & | Successors, | ||
llvm::BitVector & | Partitioned, | ||
const Node * | Header | ||
) |
Definition at line 105 of file IntervalPartition.cpp.
References buildInterval(), getID(), clang::internal::CFGIntervalNode::Nodes, Nodes, and clang::Result.
Referenced by partitionIntoIntervalsImpl().
Definition at line 34 of file IntervalPartition.cpp.
References clang::CFGBlock::getBlockID().
Referenced by buildInterval(), fillIntervalNode(), and partitionIntoIntervalsImpl().
|
static |
Definition at line 35 of file IntervalPartition.cpp.
References clang::internal::CFGIntervalNode::ID.
CFGIntervalGraph clang::internal::partitionIntoIntervals | ( | const CFG & | Cfg | ) |
Definition at line 204 of file IntervalPartition.cpp.
References clang::CFG::getEntry(), clang::CFG::getNumBlockIDs(), and partitionIntoIntervalsImpl().
Referenced by clang::getIntervalWTO().
CFGIntervalGraph clang::internal::partitionIntoIntervals | ( | const CFGIntervalGraph & | Graph | ) |
Definition at line 208 of file IntervalPartition.cpp.
References partitionIntoIntervalsImpl().
CFGIntervalGraph clang::internal::partitionIntoIntervalsImpl | ( | unsigned | NumBlockIDs, |
const Node * | EntryBlock | ||
) |
Definition at line 141 of file IntervalPartition.cpp.
References fillIntervalNode(), getID(), Node, P, clang::internal::CFGIntervalNode::Predecessors, and clang::internal::CFGIntervalNode::Successors.
Referenced by partitionIntoIntervals().