LLVM API Documentation
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 Module * | getModule () |
Definition at line 663 of file AsmWriter.cpp.
llvm::AssemblyWriter::AssemblyWriter | ( | std::ostream & | o, | |
SlotMachine & | Mac, | |||
const Module * | M, | |||
AssemblyAnnotationWriter * | AAW | |||
) | [inline] |
const Module* llvm::AssemblyWriter::getModule | ( | ) | [inline] |
void llvm::AssemblyWriter::write | ( | const Type * | Ty | ) | [inline] |
void llvm::AssemblyWriter::write | ( | const Constant * | CPV | ) | [inline] |
Definition at line 685 of file AsmWriter.cpp.
void llvm::AssemblyWriter::write | ( | const Instruction * | I | ) | [inline] |
Definition at line 684 of file AsmWriter.cpp.
void llvm::AssemblyWriter::write | ( | const BasicBlock * | BB | ) | [inline] |
void llvm::AssemblyWriter::write | ( | const Function * | F | ) | [inline] |
void llvm::AssemblyWriter::write | ( | const GlobalVariable * | G | ) | [inline] |
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 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<<().