LLVM API Documentation

llvm::AssemblyWriter Class Reference

Collaboration diagram for llvm::AssemblyWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AssemblyWriter (std::ostream &o, SlotMachine &Mac, const Module *M, AssemblyAnnotationWriter *AAW)
void write (const Module *M)
void write (const GlobalVariable *G)
void write (const Function *F)
void write (const BasicBlock *BB)
void write (const Instruction *I)
void write (const Constant *CPV)
void write (const Type *Ty)
void writeOperand (const Value *Op, bool PrintType, bool PrintName=true)
const ModulegetModule ()

Detailed Description

Definition at line 663 of file AsmWriter.cpp.


Constructor & Destructor Documentation

llvm::AssemblyWriter::AssemblyWriter ( std::ostream &  o,
SlotMachine Mac,
const Module M,
AssemblyAnnotationWriter AAW 
) [inline]

Definition at line 670 of file AsmWriter.cpp.

References fillTypeNameTable(), and M.


Member Function Documentation

void llvm::AssemblyWriter::write ( const Module M  )  [inline]

Definition at line 680 of file AsmWriter.cpp.

References M.

Referenced by llvm::CachedWriter::operator<<(), llvm::BasicBlock::print(), llvm::Function::print(), llvm::GlobalVariable::print(), and llvm::Module::print().

void llvm::AssemblyWriter::write ( const GlobalVariable G  )  [inline]

Definition at line 681 of file AsmWriter.cpp.

References G.

void llvm::AssemblyWriter::write ( const Function F  )  [inline]

Definition at line 682 of file AsmWriter.cpp.

References F.

void llvm::AssemblyWriter::write ( const BasicBlock BB  )  [inline]

Definition at line 683 of file AsmWriter.cpp.

References BB.

void llvm::AssemblyWriter::write ( const Instruction I  )  [inline]

Definition at line 684 of file AsmWriter.cpp.

void llvm::AssemblyWriter::write ( const Constant CPV  )  [inline]

Definition at line 685 of file AsmWriter.cpp.

void llvm::AssemblyWriter::write ( const Type Ty  )  [inline]

Definition at line 686 of file AsmWriter.cpp.

References Ty.

void AssemblyWriter::writeOperand ( const Value Op,
bool  PrintType,
bool  PrintName = true 
)

Definition at line 766 of file AsmWriter.cpp.

References Operand, and WriteAsOperandInternal().

Referenced by llvm::CachedWriter::operator<<().

const Module* llvm::AssemblyWriter::getModule (  )  [inline]

Definition at line 690 of file AsmWriter.cpp.

Referenced by llvm::CachedWriter::operator<<().


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