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

Detailed Description

Definition at line 27 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 45 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.

Definition at line 39 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 33 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.

Definition at line 51 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 56 of file AssemblyAnnotationWriter.h.


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