LLVM 20.0.0git
|
#include "llvm/IR/Dominators.h"
Public Member Functions | |
BasicBlockEdge (const BasicBlock *Start_, const BasicBlock *End_) | |
BasicBlockEdge (const std::pair< BasicBlock *, BasicBlock * > &Pair) | |
BasicBlockEdge (const std::pair< const BasicBlock *, const BasicBlock * > &Pair) | |
const BasicBlock * | getStart () const |
const BasicBlock * | getEnd () const |
bool | isSingleEdge () const |
Check if this is the only edge between Start and End. | |
Definition at line 94 of file Dominators.h.
|
inline |
Definition at line 99 of file Dominators.h.
|
inline |
Definition at line 102 of file Dominators.h.
|
inline |
Definition at line 105 of file Dominators.h.
|
inline |
Definition at line 112 of file Dominators.h.
References End.
Referenced by llvm::DominatorTree::dominates(), llvm::DenseMapInfo< BasicBlockEdge >::getHashValue(), and isOnlyReachableViaThisEdge().
|
inline |
Definition at line 108 of file Dominators.h.
Referenced by llvm::DominatorTree::dominates(), llvm::DenseMapInfo< BasicBlockEdge >::getHashValue(), and isOnlyReachableViaThisEdge().
bool BasicBlockEdge::isSingleEdge | ( | ) | const |
Check if this is the only edge between Start and End.
Definition at line 51 of file Dominators.cpp.
References assert(), End, and llvm::successors().
Referenced by BrPHIToSelect(), isKnownNonNullFromDominatingCondition(), llvm::ScalarEvolution::isLoopBackedgeGuardedByCond(), and llvm::isOverflowIntrinsicNoWrap().