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