LLVM
8.0.1
|
#include "llvm/Support/ScopedPrinter.h"
Public Member Functions | |
ScopedPrinter (raw_ostream &OS) | |
void | flush () |
void | indent (int Levels=1) |
void | unindent (int Levels=1) |
void | resetIndent () |
int | getIndentLevel () |
void | setPrefix (StringRef P) |
void | printIndent () |
template<typename T > | |
HexNumber | hex (T Value) |
template<typename T , typename TEnum > | |
void | printEnum (StringRef Label, T Value, ArrayRef< EnumEntry< TEnum >> EnumValues) |
template<typename T , typename TFlag > | |
void | printFlags (StringRef Label, T Value, ArrayRef< EnumEntry< TFlag >> Flags, TFlag EnumMask1={}, TFlag EnumMask2={}, TFlag EnumMask3={}) |
template<typename T > | |
void | printFlags (StringRef Label, T Value) |
void | printNumber (StringRef Label, uint64_t Value) |
void | printNumber (StringRef Label, uint32_t Value) |
void | printNumber (StringRef Label, uint16_t Value) |
void | printNumber (StringRef Label, uint8_t Value) |
void | printNumber (StringRef Label, int64_t Value) |
void | printNumber (StringRef Label, int32_t Value) |
void | printNumber (StringRef Label, int16_t Value) |
void | printNumber (StringRef Label, int8_t Value) |
void | printNumber (StringRef Label, const APSInt &Value) |
void | printBoolean (StringRef Label, bool Value) |
template<typename... T> | |
void | printVersion (StringRef Label, T... Version) |
template<typename T > | |
void | printList (StringRef Label, const T &List) |
template<typename T , typename U > | |
void | printList (StringRef Label, const T &List, const U &Printer) |
template<typename T > | |
void | printHexList (StringRef Label, const T &List) |
template<typename T > | |
void | printHex (StringRef Label, T Value) |
template<typename T > | |
void | printHex (StringRef Label, StringRef Str, T Value) |
template<typename T > | |
void | printSymbolOffset (StringRef Label, StringRef Symbol, T Value) |
void | printString (StringRef Value) |
void | printString (StringRef Label, StringRef Value) |
void | printString (StringRef Label, const std::string &Value) |
void | printString (StringRef Label, const char *Value) |
template<typename T > | |
void | printNumber (StringRef Label, StringRef Str, T Value) |
void | printBinary (StringRef Label, StringRef Str, ArrayRef< uint8_t > Value) |
void | printBinary (StringRef Label, StringRef Str, ArrayRef< char > Value) |
void | printBinary (StringRef Label, ArrayRef< uint8_t > Value) |
void | printBinary (StringRef Label, ArrayRef< char > Value) |
void | printBinary (StringRef Label, StringRef Value) |
void | printBinaryBlock (StringRef Label, ArrayRef< uint8_t > Value, uint32_t StartOffset) |
void | printBinaryBlock (StringRef Label, ArrayRef< uint8_t > Value) |
void | printBinaryBlock (StringRef Label, StringRef Value) |
template<typename T > | |
void | printObject (StringRef Label, const T &Value) |
raw_ostream & | startLine () |
raw_ostream & | getOStream () |
Definition at line 69 of file ScopedPrinter.h.
|
inline |
Definition at line 71 of file ScopedPrinter.h.
|
inline |
Definition at line 73 of file ScopedPrinter.h.
|
inline |
Definition at line 83 of file ScopedPrinter.h.
|
inline |
Definition at line 328 of file ScopedPrinter.h.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, llvm::EnumEntry< T >::Name, llvm::cl::Prefix, T, and llvm::EnumEntry< T >::Value.
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), llvm::DWARFDebugNames::Entry::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), llvm::AppleAcceleratorTable::readAtoms(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), and llvm::codeview::TypeDumpVisitor::visitTypeBegin().
Definition at line 93 of file ScopedPrinter.h.
|
inline |
Definition at line 75 of file ScopedPrinter.h.
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), and llvm::codeview::TypeDumpVisitor::visitTypeBegin().
|
inline |
Definition at line 278 of file ScopedPrinter.h.
|
inline |
Definition at line 282 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 288 of file ScopedPrinter.h.
Definition at line 292 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 298 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
|
inline |
Definition at line 304 of file ScopedPrinter.h.
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().
Definition at line 309 of file ScopedPrinter.h.
Definition at line 313 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
Definition at line 199 of file ScopedPrinter.h.
|
inline |
Definition at line 96 of file ScopedPrinter.h.
References llvm::EnumEntry< T >::Name.
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberBegin(), llvm::codeview::TypeDumpVisitor::visitMemberEnd(), llvm::codeview::TypeDumpVisitor::visitTypeBegin(), and llvm::codeview::TypeDumpVisitor::visitUnknownType().
|
inline |
Definition at line 116 of file ScopedPrinter.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::sort().
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd().
Definition at line 150 of file ScopedPrinter.h.
References llvm::EnumEntry< T >::Value.
Definition at line 246 of file ScopedPrinter.h.
Referenced by llvm::DWARFDebugNames::Header::dump(), llvm::DWARFDebugNames::Entry::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), llvm::codeview::printTypeIndex(), llvm::AppleAcceleratorTable::readAtoms(), llvm::codeview::TypeDumpVisitor::visitMemberEnd(), llvm::codeview::TypeDumpVisitor::visitUnknownMember(), and llvm::codeview::TypeDumpVisitor::visitUnknownType().
|
inline |
Definition at line 250 of file ScopedPrinter.h.
|
inline |
Definition at line 234 of file ScopedPrinter.h.
|
inline |
Definition at line 87 of file ScopedPrinter.h.
References llvm::cl::Prefix.
|
inline |
Definition at line 209 of file ScopedPrinter.h.
|
inline |
Definition at line 222 of file ScopedPrinter.h.
References Printer.
|
inline |
Definition at line 167 of file ScopedPrinter.h.
|
inline |
Definition at line 171 of file ScopedPrinter.h.
|
inline |
Definition at line 175 of file ScopedPrinter.h.
|
inline |
Definition at line 179 of file ScopedPrinter.h.
|
inline |
Definition at line 183 of file ScopedPrinter.h.
|
inline |
Definition at line 187 of file ScopedPrinter.h.
|
inline |
Definition at line 191 of file ScopedPrinter.h.
Definition at line 195 of file ScopedPrinter.h.
|
inline |
Definition at line 274 of file ScopedPrinter.h.
|
inline |
Definition at line 319 of file ScopedPrinter.h.
|
inline |
Definition at line 259 of file ScopedPrinter.h.
Referenced by llvm::AppleAcceleratorTable::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), llvm::AppleAcceleratorTable::readAtoms(), llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitUnknownType().
Definition at line 261 of file ScopedPrinter.h.
Definition at line 265 of file ScopedPrinter.h.
Definition at line 269 of file ScopedPrinter.h.
|
inline |
Definition at line 255 of file ScopedPrinter.h.
|
inline |
Definition at line 203 of file ScopedPrinter.h.
References llvm::IndexedInstrProf::Version.
|
inline |
Definition at line 81 of file ScopedPrinter.h.
|
inline |
Definition at line 85 of file ScopedPrinter.h.
References P, and llvm::cl::Prefix.
Referenced by emitNullTerminatedSymbolName().
|
inline |
Definition at line 323 of file ScopedPrinter.h.
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), llvm::AppleAcceleratorTable::dump(), llvm::DWARFDebugNames::Header::dump(), llvm::DWARFDebugNames::Abbrev::dump(), llvm::DWARFDebugNames::Entry::dump(), llvm::DWARFDebugNames::NameIndex::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), llvm::AppleAcceleratorTable::readAtoms(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), llvm::codeview::TypeDumpVisitor::visitMemberEnd(), llvm::codeview::TypeDumpVisitor::visitTypeBegin(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().
|
inline |
Definition at line 77 of file ScopedPrinter.h.
References llvm::max().
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().