LLVM 17.0.0git
|
#include "llvm/CodeGen/ParallelCG.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/ThreadPool.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Transforms/Utils/SplitModule.h"
Go to the source code of this file.
Functions | |
static void | codegen (Module *M, llvm::raw_pwrite_stream &OS, function_ref< std::unique_ptr< TargetMachine >()> TMFactory, CodeGenFileType FileType) |
|
static |
Definition at line 26 of file ParallelCG.cpp.
References assert(), codegen(), OS, llvm::report_fatal_error(), llvm::legacy::PassManager::run(), and TM.
Referenced by codegen(), and llvm::splitCodeGen().