LLVM API Documentation

Functions
CFG.cpp File Reference
#include "llvm/Analysis/CFG.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/Dominators.h"
Include dependency graph for CFG.cpp:

Go to the source code of this file.

Functions

static const LoopgetOutermostLoop (const LoopInfo *LI, const BasicBlock *BB)
static bool loopContainsBoth (const LoopInfo *LI, const BasicBlock *BB1, const BasicBlock *BB2)
static bool isPotentiallyReachableInner (SmallVectorImpl< BasicBlock * > &Worklist, BasicBlock *StopBB, const DominatorTree *DT, const LoopInfo *LI)

Function Documentation

static const Loop* getOutermostLoop ( const LoopInfo LI,
const BasicBlock BB 
) [static]
static bool isPotentiallyReachableInner ( SmallVectorImpl< BasicBlock * > &  Worklist,
BasicBlock StopBB,
const DominatorTree DT,
const LoopInfo LI 
) [static]
static bool loopContainsBoth ( const LoopInfo LI,
const BasicBlock BB1,
const BasicBlock BB2 
) [static]

Definition at line 122 of file CFG.cpp.

References getOutermostLoop().

Referenced by isPotentiallyReachableInner().