LLVM  6.0.0svn
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)
 
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 PredicateInfo
 

Detailed Description

An assembly annotator class to print PredicateInfo information in comments.

Definition at line 740 of file PredicateInfo.cpp.

Constructor & Destructor Documentation

◆ PredicateInfoAnnotatedWriter()

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

Definition at line 745 of file PredicateInfo.cpp.

Member Function Documentation

◆ emitBasicBlockStartAnnot()

virtual void llvm::PredicateInfoAnnotatedWriter::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 747 of file PredicateInfo.cpp.

◆ emitInstructionAnnot()

virtual void llvm::PredicateInfoAnnotatedWriter::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 750 of file PredicateInfo.cpp.

References llvm::PredicateInfo::getPredicateInfoFor(), and llvm::X86II::PS.

Friends And Related Function Documentation

◆ PredicateInfo

friend class PredicateInfo
friend

Definition at line 741 of file PredicateInfo.cpp.


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