LLVM API Documentation
#include <raw_ostream.h>


Public Member Functions | |
| raw_ostream () | |
| virtual | ~raw_ostream () |
| void | SetBufferSize (unsigned Size) |
| void | flush () |
| raw_ostream & | operator<< (char C) |
| raw_ostream & | operator<< (unsigned char C) |
| raw_ostream & | operator<< (signed char C) |
| raw_ostream & | operator<< (const char *Str) |
| raw_ostream & | operator<< (const std::string &Str) |
| raw_ostream & | operator<< (unsigned long N) |
| raw_ostream & | operator<< (long N) |
| raw_ostream & | operator<< (unsigned long long N) |
| raw_ostream & | operator<< (long long N) |
| raw_ostream & | operator<< (const void *P) |
| raw_ostream & | operator<< (unsigned int N) |
| raw_ostream & | operator<< (int N) |
| raw_ostream & | operator<< (double N) |
| raw_ostream & | write (const char *Ptr, unsigned Size) |
| raw_ostream & | operator<< (const format_object_base &Fmt) |
Protected Member Functions | |
| virtual void | flush_impl ()=0 |
| void | HandleFlush () |
Protected Attributes | |
| char * | OutBufStart |
| char * | OutBufEnd |
| char * | OutBufCur |
Definition at line 32 of file raw_ostream.h.
| llvm::raw_ostream::raw_ostream | ( | ) | [inline] |
| virtual llvm::raw_ostream::~raw_ostream | ( | ) | [inline, virtual] |
| void llvm::raw_ostream::SetBufferSize | ( | unsigned | Size | ) | [inline] |
SetBufferSize - Set the internal buffer size to the specified amount instead of the default.
Definition at line 51 of file raw_ostream.h.
References flush(), OutBufCur, OutBufEnd, and OutBufStart.
Referenced by HandleFlush().
| void llvm::raw_ostream::flush | ( | ) | [inline] |
Definition at line 66 of file raw_ostream.h.
References flush_impl(), OutBufCur, and OutBufStart.
Referenced by llvm::raw_fd_ostream::close(), llvm::SDNode::dump(), llvm::PseudoSourceValue::dump(), llvm::MachineConstantPool::dump(), llvm::Module::dump(), llvm::Type::dump(), llvm::Value::dump(), llvm::X86IntelAsmPrinter::runOnMachineFunction(), llvm::X86ATTAsmPrinter::runOnMachineFunction(), SetBufferSize(), llvm::raw_string_ostream::str(), llvm::WriteBitcodeToFile(), llvm::raw_fd_ostream::~raw_fd_ostream(), llvm::raw_os_ostream::~raw_os_ostream(), llvm::raw_string_ostream::~raw_string_ostream(), and llvm::raw_svector_ostream::~raw_svector_ostream().
| raw_ostream& llvm::raw_ostream::operator<< | ( | char | C | ) | [inline] |
Definition at line 71 of file raw_ostream.h.
References flush_impl(), OutBufCur, and OutBufEnd.
Referenced by operator<<().
| raw_ostream& llvm::raw_ostream::operator<< | ( | unsigned char | C | ) | [inline] |
| raw_ostream& llvm::raw_ostream::operator<< | ( | signed char | C | ) | [inline] |
| raw_ostream& llvm::raw_ostream::operator<< | ( | const char * | Str | ) | [inline] |
| raw_ostream& llvm::raw_ostream::operator<< | ( | const std::string & | Str | ) | [inline] |
| raw_ostream & raw_ostream::operator<< | ( | unsigned long | N | ) |
| raw_ostream & raw_ostream::operator<< | ( | long | N | ) |
| raw_ostream & raw_ostream::operator<< | ( | unsigned long long | N | ) |
| raw_ostream & raw_ostream::operator<< | ( | long long | N | ) |
| raw_ostream & raw_ostream::operator<< | ( | const void * | P | ) |
| raw_ostream& llvm::raw_ostream::operator<< | ( | unsigned int | N | ) | [inline] |
Definition at line 105 of file raw_ostream.h.
| raw_ostream& llvm::raw_ostream::operator<< | ( | int | N | ) | [inline] |
Definition at line 109 of file raw_ostream.h.
| raw_ostream& llvm::raw_ostream::operator<< | ( | double | N | ) | [inline] |
| raw_ostream & raw_ostream::write | ( | const char * | Ptr, | |
| unsigned | Size | |||
| ) |
Definition at line 110 of file raw_ostream.cpp.
References flush_impl(), OutBufCur, OutBufEnd, and OutBufStart.
Referenced by llvm::MachOWriter::doFinalization(), llvm::raw_fd_ostream::flush_impl(), operator<<(), llvm::AsmPrinter::printInlineAsm(), PrintLLVMName(), and llvm::WriteBitcodeToFile().
| raw_ostream & raw_ostream::operator<< | ( | const format_object_base & | Fmt | ) |
Definition at line 148 of file raw_ostream.cpp.
References OutBufCur, OutBufEnd, llvm::format_object_base::print(), llvm::SmallVectorImpl< T >::resize(), V, and write().
| virtual void llvm::raw_ostream::flush_impl | ( | ) | [protected, pure virtual] |
flush_impl - The is the piece of the class that is implemented by subclasses. This outputs the currently buffered data and resets the buffer to empty.
Implemented in llvm::raw_fd_ostream, llvm::raw_os_ostream, llvm::raw_string_ostream, and llvm::raw_svector_ostream.
Referenced by flush(), operator<<(), and write().
| void llvm::raw_ostream::HandleFlush | ( | ) | [inline, protected] |
HandleFlush - A stream's implementation of flush should call this after emitting the bytes to the data sink.
Definition at line 135 of file raw_ostream.h.
References OutBufCur, OutBufStart, and SetBufferSize().
Referenced by llvm::raw_svector_ostream::flush_impl(), llvm::raw_string_ostream::flush_impl(), llvm::raw_os_ostream::flush_impl(), and llvm::raw_fd_ostream::flush_impl().
char* llvm::raw_ostream::OutBufStart [protected] |
Definition at line 34 of file raw_ostream.h.
Referenced by flush(), llvm::raw_svector_ostream::flush_impl(), llvm::raw_string_ostream::flush_impl(), llvm::raw_os_ostream::flush_impl(), llvm::raw_fd_ostream::flush_impl(), HandleFlush(), raw_ostream(), SetBufferSize(), llvm::raw_fd_ostream::tell(), write(), and ~raw_ostream().
char * llvm::raw_ostream::OutBufEnd [protected] |
Definition at line 34 of file raw_ostream.h.
Referenced by operator<<(), raw_ostream(), SetBufferSize(), and write().
char * llvm::raw_ostream::OutBufCur [protected] |
Definition at line 34 of file raw_ostream.h.
Referenced by flush(), llvm::raw_svector_ostream::flush_impl(), llvm::raw_string_ostream::flush_impl(), llvm::raw_os_ostream::flush_impl(), llvm::raw_fd_ostream::flush_impl(), HandleFlush(), operator<<(), raw_ostream(), SetBufferSize(), llvm::raw_fd_ostream::tell(), and write().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.