9#ifndef LLVM_PASSES_RUN_CODEGEN_H
10#define LLVM_PASSES_RUN_CODEGEN_H
Module.h This file contains the declarations for the Module class.
Defines the virtual file system interface vfs::FileSystem.
Lightweight error class with error context and mandatory checking.
A smart pointer to a reference-counted object that inherits from RefCountedBase or ThreadSafeRefCount...
A Module instance is used to store all the information related to an LLVM module.
Primary interface to the complete machine description for the target machine.
An abstract base class for streams implementations that also support a pwrite operation.
LLVM_ABI IntrusiveRefCntPtr< FileSystem > getRealFileSystem()
Gets an vfs::FileSystem for the 'real' file system, as seen by the operating system.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI cl::opt< std::optional< PrintPipelinePassesFormat >, false, PrintPipelinePassesFormatParser > PrintPipelinePasses
Common option used by multiple tools to print pipeline passes.
CodeGenFileType
These enums are meant to be passed into addPassesToEmitFile to indicate what type of file to emit,...
Error runCodeGenPipeline(TargetMachine &TM, Module &M, raw_pwrite_stream &OS, std::unique_ptr< ToolOutputFile > &DwoOS, CodeGenFileType CGFT, bool PrintPipelinePasses=false, bool DisableVerify=true, IntrusiveRefCntPtr< vfs::FileSystem > VFS=vfs::getRealFileSystem())