LLVM  7.0.0
Classes | Namespaces | Functions
CompileOnDemandLayer.cpp File Reference
#include "llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/Cloning.h"
Include dependency graph for CompileOnDemandLayer.cpp:

Go to the source code of this file.

Classes

class  llvm::orc::ExtractingIRMaterializationUnit
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::orc
 

Functions

static void extractAliases (MaterializationResponsibility &R, Module &M, MangleAndInterner &Mangle)
 
static std::unique_ptr< Module > extractAndClone (Module &M, LLVMContext &NewContext, StringRef Suffix, function_ref< bool(const GlobalValue *)> ShouldCloneDefinition)
 
static std::unique_ptr< Module > extractGlobals (Module &M, LLVMContext &NewContext)
 

Function Documentation

◆ extractAliases()

static void extractAliases ( MaterializationResponsibility &  R,
Module &  M,
MangleAndInterner &  Mangle 
)
static

◆ extractAndClone()

static std::unique_ptr<Module> extractAndClone ( Module &  M,
LLVMContext &  NewContext,
StringRef  Suffix,
function_ref< bool(const GlobalValue *)>  ShouldCloneDefinition 
)
static

◆ extractGlobals()

static std::unique_ptr<Module> extractGlobals ( Module &  M,
LLVMContext &  NewContext 
)
static

Definition at line 121 of file CompileOnDemandLayer.cpp.

References extractAndClone().

Referenced by llvm::orc::CompileOnDemandLayer2::emit().