LLVM  4.0.0
Public Member Functions | Friends | List of all members
llvm::MemorySSAAnnotatedWriter Class Reference

An assembly annotator class to print Memory SSA information in comments. More...

Inheritance diagram for llvm::MemorySSAAnnotatedWriter:
[legend]
Collaboration diagram for llvm::MemorySSAAnnotatedWriter:
[legend]

Public Member Functions

 MemorySSAAnnotatedWriter (const MemorySSA *M)
 
virtual void emitBasicBlockStartAnnot (const BasicBlock *BB, formatted_raw_ostream &OS)
 emitBasicBlockStartAnnot - This may be implemented to emit a string right after the basic block label, but before the first instruction in the block. More...
 
virtual void emitInstructionAnnot (const Instruction *I, formatted_raw_ostream &OS)
 emitInstructionAnnot - This may be implemented to emit a string right before an instruction is emitted. More...
 
- Public Member Functions inherited from llvm::AssemblyAnnotationWriter
virtual ~AssemblyAnnotationWriter ()
 
virtual void emitFunctionAnnot (const Function *, formatted_raw_ostream &)
 emitFunctionAnnot - This may be implemented to emit a string right before the start of a function. More...
 
virtual void emitBasicBlockEndAnnot (const BasicBlock *, formatted_raw_ostream &)
 emitBasicBlockEndAnnot - This may be implemented to emit a string right after the basic block. More...
 
virtual void printInfoComment (const Value &, formatted_raw_ostream &)
 printInfoComment - This may be implemented to emit a comment to the right of an instruction or global value. More...
 

Friends

class MemorySSA
 

Detailed Description

An assembly annotator class to print Memory SSA information in comments.

Definition at line 76 of file MemorySSA.cpp.

Constructor & Destructor Documentation

llvm::MemorySSAAnnotatedWriter::MemorySSAAnnotatedWriter ( const MemorySSA M)
inline

Definition at line 81 of file MemorySSA.cpp.

Member Function Documentation

virtual void llvm::MemorySSAAnnotatedWriter::emitBasicBlockStartAnnot ( const BasicBlock ,
formatted_raw_ostream  
)
inlinevirtual

emitBasicBlockStartAnnot - This may be implemented to emit a string right after the basic block label, but before the first instruction in the block.

Reimplemented from llvm::AssemblyAnnotationWriter.

Definition at line 83 of file MemorySSA.cpp.

References llvm::MemorySSA::getMemoryAccess().

virtual void llvm::MemorySSAAnnotatedWriter::emitInstructionAnnot ( const Instruction ,
formatted_raw_ostream  
)
inlinevirtual

emitInstructionAnnot - This may be implemented to emit a string right before an instruction is emitted.

Reimplemented from llvm::AssemblyAnnotationWriter.

Definition at line 89 of file MemorySSA.cpp.

References llvm::MemorySSA::getMemoryAccess().

Friends And Related Function Documentation

friend class MemorySSA
friend

Definition at line 77 of file MemorySSA.cpp.


The documentation for this class was generated from the following file: