9#ifndef LLVM_PASSES_RUN_CODEGEN_H
10#define LLVM_PASSES_RUN_CODEGEN_H
22 bool DisableVerify =
true,
bool DisableSimplifyLibCalls =
false,
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.
CodeGenFileType
These enums are meant to be passed into addPassesToEmitFile to indicate what type of file to emit,...
LLVM_ABI Error runCodeGenPipeline(TargetMachine &TM, Module &M, raw_pwrite_stream &OS, std::unique_ptr< ToolOutputFile > &DwoOS, CodeGenFileType CGFT, bool DisableVerify=true, bool DisableSimplifyLibCalls=false, IntrusiveRefCntPtr< vfs::FileSystem > VFS=vfs::getRealFileSystem())