LLVM  12.0.0git
Public Member Functions | Friends | List of all members
llvm::PredicateInfoAnnotatedWriter Class Reference

An assembly annotator class to print PredicateInfo information in comments. More...

Inheritance diagram for llvm::PredicateInfoAnnotatedWriter:
Inheritance graph
[legend]
Collaboration diagram for llvm::PredicateInfoAnnotatedWriter:
Collaboration graph
[legend]

Public Member Functions

 PredicateInfoAnnotatedWriter (const PredicateInfo *M)
 
void emitBasicBlockStartAnnot (const BasicBlock *BB, formatted_raw_ostream &OS) override
 emitBasicBlockStartAnnot - This may be implemented to emit a string right after the basic block label, but before the first instruction in the block. More...
 
void emitInstructionAnnot (const Instruction *I, formatted_raw_ostream &OS) override
 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 PredicateInfo
 

Detailed Description

An assembly annotator class to print PredicateInfo information in comments.

Definition at line 881 of file PredicateInfo.cpp.

Constructor & Destructor Documentation

◆ PredicateInfoAnnotatedWriter()

llvm::PredicateInfoAnnotatedWriter::PredicateInfoAnnotatedWriter ( const PredicateInfo M)
inline

Definition at line 886 of file PredicateInfo.cpp.

Member Function Documentation

◆ emitBasicBlockStartAnnot()

void llvm::PredicateInfoAnnotatedWriter::emitBasicBlockStartAnnot ( const BasicBlock ,
formatted_raw_ostream  
)
inlineoverridevirtual

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 888 of file PredicateInfo.cpp.

◆ emitInstructionAnnot()

void llvm::PredicateInfoAnnotatedWriter::emitInstructionAnnot ( const Instruction ,
formatted_raw_ostream  
)
inlineoverridevirtual

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

Reimplemented from llvm::AssemblyAnnotationWriter.

Definition at line 891 of file PredicateInfo.cpp.

References llvm::PredicateInfo::getPredicateInfoFor().

Friends And Related Function Documentation

◆ PredicateInfo

friend class PredicateInfo
friend

Definition at line 882 of file PredicateInfo.cpp.


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