LLVM API Documentation

CodeExtractor.cpp File Reference

#include "llvm/Transforms/Utils/FunctionUtils.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/StringExtras.h"
#include <algorithm>
#include <set>

Include dependency graph for CodeExtractor.cpp:

Go to the source code of this file.

Functions

Function * llvm::ExtractCodeRegion (DominatorTree &DT, const std::vector< BasicBlock * > &code, bool AggregateArgs=false)
Function * llvm::ExtractLoop (DominatorTree &DT, Loop *L, bool AggregateArgs=false)
Function * llvm::ExtractBasicBlock (BasicBlock *BB, bool AggregateArgs=false)

Variables

static cl::opt< bool > AggregateArgsOpt ("aggregate-extracted-args", cl::Hidden, cl::desc("Aggregate arguments to code-extracted functions"))


Variable Documentation

Definition at line 48 of file CodeExtractor.cpp.

cl::opt<bool> AggregateArgsOpt("aggregate-extracted-args", cl::Hidden, cl::desc("Aggregate arguments to code-extracted functions")) [static]

Definition at line 46 of file CodeExtractor.cpp.

Definition at line 47 of file CodeExtractor.cpp.

Definition at line 49 of file CodeExtractor.cpp.

const Type* RetTy

Definition at line 50 of file CodeExtractor.cpp.

Referenced by ExpandLibCall().