LLVM  8.0.1
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)
 

Function Documentation

◆ getOutermostLoop()

static const Loop* getOutermostLoop ( const LoopInfo LI,
const BasicBlock BB 
)
static

◆ loopContainsBoth()

static bool loopContainsBoth ( const LoopInfo LI,
const BasicBlock BB1,
const BasicBlock BB2 
)
static

Definition at line 124 of file CFG.cpp.

References getOutermostLoop().

Referenced by llvm::isPotentiallyReachableFromMany().