LLVM  5.0.0
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:
[legend]
Collaboration diagram for llvm::PredicateInfoAnnotatedWriter:
[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 739 of file PredicateInfo.cpp.

Constructor & Destructor Documentation

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

Definition at line 744 of file PredicateInfo.cpp.

Member Function Documentation

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

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

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

Friends And Related Function Documentation

friend class PredicateInfo
friend

Definition at line 740 of file PredicateInfo.cpp.


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