LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/Constant.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Pass.h"
#include "llvm/Type.h"
#include "llvm/Support/CFG.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
Include dependency graph for TailDuplication.cpp:
Go to the source code of this file.
Functions | |
FunctionPass * | llvm::createTailDuplicationPass () |
static BasicBlock * | FindObviousSharedDomOf (BasicBlock *SrcBlock, BasicBlock *DstBlock) |
|
FindObviousSharedDomOf - We know there is a branch from SrcBlock to DestBlock, and that SrcBlock is not the only predecessor of DstBlock. If we can find a predecessor of SrcBlock that is a dominator of both SrcBlock and DstBlock, return it. Definition at line 137 of file TailDuplication.cpp. References llvm::pred_begin(), and llvm::pred_end(). |
|
|
|
|
|
|
|
|