LLVM  6.0.0svn
Functions
BasicBlockUtils.cpp File Reference
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
#include <algorithm>
Include dependency graph for BasicBlockUtils.cpp:

Go to the source code of this file.

Functions

static void UpdateAnalysisInformation (BasicBlock *OldBB, BasicBlock *NewBB, ArrayRef< BasicBlock *> Preds, DominatorTree *DT, LoopInfo *LI, bool PreserveLCSSA, bool &HasLoopExit)
 Update DominatorTree, LoopInfo, and LCCSA analysis information. More...
 
static void UpdatePHINodes (BasicBlock *OrigBB, BasicBlock *NewBB, ArrayRef< BasicBlock *> Preds, BranchInst *BI, bool HasLoopExit)
 Update the PHI nodes in OrigBB to include the values coming from NewBB. More...
 

Function Documentation

◆ UpdateAnalysisInformation()

static void UpdateAnalysisInformation ( BasicBlock OldBB,
BasicBlock NewBB,
ArrayRef< BasicBlock *>  Preds,
DominatorTree DT,
LoopInfo LI,
bool  PreserveLCSSA,
bool HasLoopExit 
)
static

◆ UpdatePHINodes()

static void UpdatePHINodes ( BasicBlock OrigBB,
BasicBlock NewBB,
ArrayRef< BasicBlock *>  Preds,
BranchInst BI,
bool  HasLoopExit 
)
static