|
LLVM
10.0.0
|
#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 68 of file ScopedPrinter.h.
|
inline |
Definition at line 70 of file ScopedPrinter.h.
|
inline |
Definition at line 72 of file ScopedPrinter.h.
|
inline |
Definition at line 82 of file ScopedPrinter.h.
|
inline |
Definition at line 327 of file ScopedPrinter.h.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, llvm::EnumEntry< T >::Name, llvm::cl::Prefix, llvm::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 92 of file ScopedPrinter.h.
|
inline |
Definition at line 74 of file ScopedPrinter.h.
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), and llvm::codeview::TypeDumpVisitor::visitTypeBegin().
|
inline |
Definition at line 277 of file ScopedPrinter.h.
|
inline |
Definition at line 281 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 287 of file ScopedPrinter.h.
Definition at line 291 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 297 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
|
inline |
Definition at line 303 of file ScopedPrinter.h.
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().
Definition at line 308 of file ScopedPrinter.h.
Definition at line 312 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
Definition at line 198 of file ScopedPrinter.h.
|
inline |
Definition at line 95 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 115 of file ScopedPrinter.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::sort().
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd().
Definition at line 149 of file ScopedPrinter.h.
References llvm::EnumEntry< T >::Value.
Definition at line 245 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 249 of file ScopedPrinter.h.
|
inline |
Definition at line 233 of file ScopedPrinter.h.
|
inline |
Definition at line 86 of file ScopedPrinter.h.
References llvm::cl::Prefix.
|
inline |
Definition at line 208 of file ScopedPrinter.h.
|
inline |
Definition at line 221 of file ScopedPrinter.h.
References Printer.
|
inline |
Definition at line 166 of file ScopedPrinter.h.
Definition at line 170 of file ScopedPrinter.h.
|
inline |
Definition at line 174 of file ScopedPrinter.h.
|
inline |
Definition at line 178 of file ScopedPrinter.h.
|
inline |
Definition at line 182 of file ScopedPrinter.h.
|
inline |
Definition at line 186 of file ScopedPrinter.h.
|
inline |
Definition at line 190 of file ScopedPrinter.h.
Definition at line 194 of file ScopedPrinter.h.
|
inline |
Definition at line 273 of file ScopedPrinter.h.
|
inline |
Definition at line 318 of file ScopedPrinter.h.
|
inline |
Definition at line 258 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 260 of file ScopedPrinter.h.
Definition at line 264 of file ScopedPrinter.h.
Definition at line 268 of file ScopedPrinter.h.
|
inline |
Definition at line 254 of file ScopedPrinter.h.
|
inline |
Definition at line 202 of file ScopedPrinter.h.
References llvm::IndexedInstrProf::Version.
|
inline |
Definition at line 80 of file ScopedPrinter.h.
|
inline |
Definition at line 84 of file ScopedPrinter.h.
References P, and llvm::cl::Prefix.
|
inline |
Definition at line 322 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 76 of file ScopedPrinter.h.
References llvm::max().
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().
1.8.13