Documentation for microsoft::quantum::DebugInfoUpdater

microsoft::quantum::DebugInfoUpdater

Inherits from llvm::InstVisitor< DebugInfoUpdater >

Public Types

Name
using llvm::DIBuilder DIBuilder
using llvm::DataLayout DataLayout
using llvm::Module Module
using llvm::Function Function
using llvm::Instruction Instruction
using llvm::DIType DIType
using llvm::StringRef StringRef

Public Functions

Name
DebugInfoUpdater(InstructionLocationTablePtr const & debug_info, Module & module, StringRef const & directory, StringRef const & filename)
void update()
void visitFunction(Function & function)
void visitInstruction(Instruction & instr)

Protected Functions

Name
llvm::DISubroutineType * createFunctionType(Function const * function)
DIType * createVoidType(llvm::Type * type)
DIType * createPointerType(llvm::Type * type)
DIType * createOpaqueType(llvm::Type * type)
DIType * getOrCreateType(llvm::Type * type)
DIType * getType(llvm::Type * type)

Public Types Documentation

using DIBuilder

using microsoft::quantum::DebugInfoUpdater::DIBuilder =  llvm::DIBuilder;

using DataLayout

using microsoft::quantum::DebugInfoUpdater::DataLayout =  llvm::DataLayout;

using Module

using microsoft::quantum::DebugInfoUpdater::Module =  llvm::Module;

using Function

using microsoft::quantum::DebugInfoUpdater::Function =  llvm::Function;

using Instruction

using microsoft::quantum::DebugInfoUpdater::Instruction =  llvm::Instruction;

using DIType

using microsoft::quantum::DebugInfoUpdater::DIType =  llvm::DIType;

using StringRef

using microsoft::quantum::DebugInfoUpdater::StringRef =  llvm::StringRef;

Public Functions Documentation

function DebugInfoUpdater

DebugInfoUpdater(
    InstructionLocationTablePtr const & debug_info,
    Module & module,
    StringRef const & directory,
    StringRef const & filename
)

function update

void update()

function visitFunction

void visitFunction(
    Function & function
)

function visitInstruction

void visitInstruction(
    Instruction & instr
)

Protected Functions Documentation

function createFunctionType

llvm::DISubroutineType * createFunctionType(
    Function const * function
)

function createVoidType

DIType * createVoidType(
    llvm::Type * type
)

function createPointerType

DIType * createPointerType(
    llvm::Type * type
)

function createOpaqueType

DIType * createOpaqueType(
    llvm::Type * type
)

function getOrCreateType

DIType * getOrCreateType(
    llvm::Type * type
)

function getType

DIType * getType(
    llvm::Type * type
)

Updated on 1 August 2023 at 16:25:10 UTC