LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::BasicBlockEdge Class Reference

#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 BasicBlockgetStart () const
 
const BasicBlockgetEnd () const
 
bool isSingleEdge () const
 Check if this is the only edge between Start and End. More...
 

Detailed Description

Definition at line 72 of file Dominators.h.

Constructor & Destructor Documentation

◆ BasicBlockEdge() [1/3]

llvm::BasicBlockEdge::BasicBlockEdge ( const BasicBlock Start_,
const BasicBlock End_ 
)
inline

Definition at line 77 of file Dominators.h.

◆ BasicBlockEdge() [2/3]

llvm::BasicBlockEdge::BasicBlockEdge ( const std::pair< BasicBlock *, BasicBlock *> &  Pair)
inline

Definition at line 80 of file Dominators.h.

◆ BasicBlockEdge() [3/3]

llvm::BasicBlockEdge::BasicBlockEdge ( const std::pair< const BasicBlock *, const BasicBlock *> &  Pair)
inline

Definition at line 83 of file Dominators.h.

Member Function Documentation

◆ getEnd()

const BasicBlock* llvm::BasicBlockEdge::getEnd ( ) const
inline

◆ getStart()

const BasicBlock* llvm::BasicBlockEdge::getStart ( ) const
inline

◆ isSingleEdge()

bool BasicBlockEdge::isSingleEdge ( ) const

Check if this is the only edge between Start and End.

Definition at line 40 of file Dominators.cpp.

References assert(), llvm::TerminatorInst::getNumSuccessors(), llvm::TerminatorInst::getSuccessor(), and llvm::BasicBlock::getTerminator().

Referenced by llvm::ScalarEvolution::isLoopBackedgeGuardedByCond().


The documentation for this class was generated from the following files: