microsoft::quantum::ModuleLoader
Public Types
Public Functions
|
Name |
|
ModuleLoader(SpecConfiguration const & spec, Module * final_module, bool strip_existing_debug =false, bool add_ir_debug_info =false) |
bool |
addModule(std::unique_ptr< Module > && module, String const & filename ="unknown") |
bool |
addIrFile(String input_file) |
InstructionLocationTablePtr |
locationTable() const |
Public Types Documentation
using Module
using microsoft::quantum::ModuleLoader::Module = llvm::Module;
using Linker
using microsoft::quantum::ModuleLoader::Linker = llvm::Linker;
using SMDiagnostic
using microsoft::quantum::ModuleLoader::SMDiagnostic = llvm::SMDiagnostic;
Public Functions Documentation
function ModuleLoader
inline explicit ModuleLoader(
SpecConfiguration const & spec,
Module * final_module,
bool strip_existing_debug =false,
bool add_ir_debug_info =false
)
function addModule
inline bool addModule(
std::unique_ptr< Module > && module,
String const & filename ="unknown"
)
function addIrFile
inline bool addIrFile(
String input_file
)
function locationTable
inline InstructionLocationTablePtr locationTable() const
Updated on 1 August 2023 at 16:25:10 UTC