LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Analysis/CFG.h File Reference
#include "llvm/IR/BasicBlock.h"
#include "llvm/Support/CFG.h"
Include dependency graph for Analysis/CFG.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Functions

void llvm::FindFunctionBackedges (const Function &F, SmallVectorImpl< std::pair< const BasicBlock *, const BasicBlock * > > &Result)
 
unsigned llvm::GetSuccessorNumber (BasicBlock *BB, BasicBlock *Succ)
 
bool llvm::isCriticalEdge (const TerminatorInst *TI, unsigned SuccNum, bool AllowIdenticalEdges=false)
 
bool llvm::isPotentiallyReachable (const Instruction *From, const Instruction *To, const DominatorTree *DT=0, const LoopInfo *LI=0)
 Determine whether instruction 'To' is reachable from 'From', returning true if uncertain. More...
 
bool llvm::isPotentiallyReachable (const BasicBlock *From, const BasicBlock *To, const DominatorTree *DT=0, const LoopInfo *LI=0)
 Determine whether block 'To' is reachable from 'From', returning true if uncertain. More...