LLVM  8.0.1
Public Member Functions | List of all members
llvm::AssemblyAnnotationWriter Class Reference

#include "llvm/IR/AssemblyAnnotationWriter.h"

Inheritance diagram for llvm::AssemblyAnnotationWriter:
Inheritance graph
[legend]

Public Member Functions

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 emitBasicBlockStartAnnot (const BasicBlock *, formatted_raw_ostream &)
 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 emitBasicBlockEndAnnot (const BasicBlock *, formatted_raw_ostream &)
 emitBasicBlockEndAnnot - This may be implemented to emit a string right after the basic block. More...
 
virtual void emitInstructionAnnot (const Instruction *, formatted_raw_ostream &)
 emitInstructionAnnot - This may be implemented to emit a string right before an instruction is emitted. 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...
 

Detailed Description

Definition at line 28 of file AssemblyAnnotationWriter.h.

Constructor & Destructor Documentation

◆ ~AssemblyAnnotationWriter()

AssemblyAnnotationWriter::~AssemblyAnnotationWriter ( )
virtualdefault

Member Function Documentation

◆ emitBasicBlockEndAnnot()

virtual void llvm::AssemblyAnnotationWriter::emitBasicBlockEndAnnot ( const BasicBlock ,
formatted_raw_ostream  
)
inlinevirtual

emitBasicBlockEndAnnot - This may be implemented to emit a string right after the basic block.

Definition at line 46 of file AssemblyAnnotationWriter.h.

◆ emitBasicBlockStartAnnot()

virtual void llvm::AssemblyAnnotationWriter::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 in llvm::PredicateInfoAnnotatedWriter, and llvm::MemorySSAAnnotatedWriter.

Definition at line 40 of file AssemblyAnnotationWriter.h.

◆ emitFunctionAnnot()

virtual void llvm::AssemblyAnnotationWriter::emitFunctionAnnot ( const Function ,
formatted_raw_ostream  
)
inlinevirtual

emitFunctionAnnot - This may be implemented to emit a string right before the start of a function.

Definition at line 34 of file AssemblyAnnotationWriter.h.

◆ emitInstructionAnnot()

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

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

Reimplemented in llvm::PredicateInfoAnnotatedWriter, and llvm::MemorySSAAnnotatedWriter.

Definition at line 52 of file AssemblyAnnotationWriter.h.

◆ printInfoComment()

virtual void llvm::AssemblyAnnotationWriter::printInfoComment ( const Value ,
formatted_raw_ostream  
)
inlinevirtual

printInfoComment - This may be implemented to emit a comment to the right of an instruction or global value.

Definition at line 57 of file AssemblyAnnotationWriter.h.


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