Documentation for microsoft::quantum::FunctionReplacementAnalysisPass
microsoft::quantum::FunctionReplacementAnalysisPass
Inherits from llvm::AnalysisInfoMixin< FunctionReplacementAnalysisPass >
Public Types
Name | |
---|---|
using FunctionRegister | Result |
using llvm::Instruction | Instruction |
using llvm::Value | Value |
using ILogger::ILoggerPtr | ILoggerPtr |
using std::unordered_set< llvm::BasicBlock * > | BlockSet |
Public Functions
Name | |
---|---|
FunctionReplacementAnalysisPass(FunctionReplacementConfiguration const & cfg, ILoggerPtr const & logger) | |
FunctionReplacementAnalysisPass(FunctionReplacementAnalysisPass const & ) Copy construction is banned. |
|
FunctionReplacementAnalysisPass(FunctionReplacementAnalysisPass && ) =default We allow move semantics. |
|
~FunctionReplacementAnalysisPass() =default Default destruction. |
|
Result | run(llvm::Module & module, llvm::ModuleAnalysisManager & mam) |
void | runBlockAnalysis(llvm::Module & module) |
bool | isRequired() Whether or not this pass is required to run. |
Friends
Name | |
---|---|
struct | llvm::AnalysisInfoMixin< FunctionReplacementAnalysisPass > |
Public Types Documentation
using Result
using microsoft::quantum::FunctionReplacementAnalysisPass::Result = FunctionRegister;
using Instruction
using microsoft::quantum::FunctionReplacementAnalysisPass::Instruction = llvm::Instruction;
using Value
using microsoft::quantum::FunctionReplacementAnalysisPass::Value = llvm::Value;
using ILoggerPtr
using microsoft::quantum::FunctionReplacementAnalysisPass::ILoggerPtr = ILogger::ILoggerPtr;
using BlockSet
using microsoft::quantum::FunctionReplacementAnalysisPass::BlockSet = std::unordered_set<llvm::BasicBlock*>;
Public Functions Documentation
function FunctionReplacementAnalysisPass
inline explicit FunctionReplacementAnalysisPass(
FunctionReplacementConfiguration const & cfg,
ILoggerPtr const & logger
)
function FunctionReplacementAnalysisPass
FunctionReplacementAnalysisPass(
FunctionReplacementAnalysisPass const &
)
Copy construction is banned.
function FunctionReplacementAnalysisPass
FunctionReplacementAnalysisPass(
FunctionReplacementAnalysisPass &&
) =default
We allow move semantics.
function ~FunctionReplacementAnalysisPass
~FunctionReplacementAnalysisPass() =default
Default destruction.
function run
Result run(
llvm::Module & module,
llvm::ModuleAnalysisManager & mam
)
function runBlockAnalysis
void runBlockAnalysis(
llvm::Module & module
)
function isRequired
static bool isRequired()
Whether or not this pass is required to run.
Friends
friend llvm::AnalysisInfoMixin< FunctionReplacementAnalysisPass >
friend struct llvm::AnalysisInfoMixin< FunctionReplacementAnalysisPass >(
llvm::AnalysisInfoMixin< FunctionReplacementAnalysisPass >
);
Updated on 1 August 2023 at 16:25:10 UTC