LLVM 18.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 96 of file Dominators.h.
|
inline |
Definition at line 101 of file Dominators.h.
|
inline |
Definition at line 104 of file Dominators.h.
|
inline |
Definition at line 107 of file Dominators.h.
|
inline |
Definition at line 114 of file Dominators.h.
References End.
Referenced by llvm::DominatorTree::dominates(), and llvm::DenseMapInfo< BasicBlockEdge >::getHashValue().
|
inline |
Definition at line 110 of file Dominators.h.
Referenced by llvm::DominatorTree::dominates(), and llvm::DenseMapInfo< BasicBlockEdge >::getHashValue().
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, llvm::Instruction::getNumSuccessors(), llvm::Instruction::getSuccessor(), and llvm::BasicBlock::getTerminator().
Referenced by BrPHIToSelect(), isKnownNonNullFromDominatingCondition(), llvm::ScalarEvolution::isLoopBackedgeGuardedByCond(), and llvm::isOverflowIntrinsicNoWrap().