LLVM
8.0.1
|
#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. More... | |
Definition at line 77 of file Dominators.h.
|
inline |
Definition at line 82 of file Dominators.h.
|
inline |
Definition at line 85 of file Dominators.h.
|
inline |
Definition at line 88 of file Dominators.h.
|
inline |
Definition at line 95 of file Dominators.h.
Referenced by llvm::DominatorTree::dominates(), llvm::DenseMapInfo< BasicBlockEdge >::getHashValue(), llvm::DenseMapInfo< BasicBlockEdge >::isEqual(), and isOnlyReachableViaThisEdge().
|
inline |
Definition at line 91 of file Dominators.h.
Referenced by llvm::DominatorTree::dominates(), llvm::DenseMapInfo< BasicBlockEdge >::getHashValue(), llvm::DenseMapInfo< BasicBlockEdge >::isEqual(), and isOnlyReachableViaThisEdge().
bool BasicBlockEdge::isSingleEdge | ( | ) | const |
Check if this is the only edge between Start and End.
Definition at line 43 of file Dominators.cpp.
References assert(), From, llvm::Instruction::getNumSuccessors(), llvm::Instruction::getSuccessor(), and llvm::BasicBlock::getTerminator().
Referenced by llvm::ScalarEvolution::isLoopBackedgeGuardedByCond().