LLVM API Documentation
#include <raw_ostream.h>
Public Member Functions | |
raw_string_ostream (std::string &O) | |
~raw_string_ostream () | |
std::string & | str () |
raw_string_ostream - A raw_ostream that writes to an std::string. This is a simple adaptor class. This class does not encounter output errors.
Definition at line 432 of file raw_ostream.h.
llvm::raw_string_ostream::raw_string_ostream | ( | std::string & | O | ) | [inline, explicit] |
Definition at line 442 of file raw_ostream.h.
Definition at line 680 of file raw_ostream.cpp.
References llvm::raw_ostream::flush().
std::string& llvm::raw_string_ostream::str | ( | ) | [inline] |
str - Flushes the stream contents to the target string and returns the string's reference.
Definition at line 447 of file raw_ostream.h.
References llvm::raw_ostream::flush().
Referenced by llvm::TargetSchedModel::computeOperandLatency(), EmitGCCInlineAsmStr(), llvm::X86AsmPrinter::EmitInstruction(), EmitMSInlineAsmStr(), llvm::DOTGraphTraits< const Function * >::getCompleteNodeLabel(), llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel(), llvm::ScheduleDAGSDNodes::getGraphNodeLabel(), llvm::ScheduleDAGInstrs::getGraphNodeLabel(), getLoopBackedgeTakenCounts(), llvm::DOTGraphTraits< ScheduleDAGMI * >::getNodeLabel(), llvm::DOTGraphTraits< const Function * >::getSimpleNodeLabel(), llvm::DataLayout::getStringRepresentation(), getTypeString(), LLVMTargetMachineEmitToMemoryBuffer(), LLVMVerifyModule(), nvptx::LowerConstant(), lowerConstant(), llvm::AsmPrinter::PrintSpecial(), and llvm::GraphWriter< GraphType >::writeNode().