class MemorySSAAnnotatedWriter
Declaration
class MemorySSAAnnotatedWriter : public AssemblyAnnotationWriter { /* full declaration omitted */ };
Description
An assembly annotator class to print Memory SSA information in comments.
Declared at: llvm/lib/Analysis/MemorySSA.cpp:99
Inherits from: AssemblyAnnotationWriter
Method Overview
- public MemorySSAAnnotatedWriter(const llvm::MemorySSA * M)
- public void emitBasicBlockStartAnnot(const llvm::BasicBlock * BB, llvm::formatted_raw_ostream & OS)
- public void emitInstructionAnnot(const llvm::Instruction * I, llvm::formatted_raw_ostream & OS)
Inherited from AssemblyAnnotationWriter:
- public emitBasicBlockEndAnnot
- public emitBasicBlockStartAnnot
- public emitFunctionAnnot
- public emitInstructionAnnot
- public printInfoComment
Methods
¶MemorySSAAnnotatedWriter(const llvm::MemorySSA* M)
MemorySSAAnnotatedWriter(const llvm::MemorySSA* M)
Declared at: llvm/lib/Analysis/MemorySSA.cpp:105
Parameters
- const llvm::MemorySSA* M
¶void emitBasicBlockStartAnnot(
const llvm::BasicBlock* BB,
llvm::formatted_raw_ostream& OS)
void emitBasicBlockStartAnnot(
const llvm::BasicBlock* BB,
llvm::formatted_raw_ostream& OS)
Description
emitBasicBlockStartAnnot - This may be implemented to emit a string right after the basic block label, but before the first instruction in the block.
Declared at: llvm/lib/Analysis/MemorySSA.cpp:107
Parameters
- const llvm::BasicBlock* BB
- llvm::formatted_raw_ostream& OS
¶void emitInstructionAnnot(
const llvm::Instruction* I,
llvm::formatted_raw_ostream& OS)
void emitInstructionAnnot(
const llvm::Instruction* I,
llvm::formatted_raw_ostream& OS)
Description
emitInstructionAnnot - This may be implemented to emit a string right before an instruction is emitted.
Declared at: llvm/lib/Analysis/MemorySSA.cpp:113
Parameters
- const llvm::Instruction* I
- llvm::formatted_raw_ostream& OS