|
LLVM
4.0.0
|
#include <ScopedPrinter.h>
Public Member Functions | |
| ScopedPrinter (raw_ostream &OS) | |
| void | flush () |
| void | indent (int Levels=1) |
| void | unindent (int Levels=1) |
| void | resetIndent () |
| 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) |
| 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) |
| 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.
References llvm::raw_ostream::flush().
|
inline |
Definition at line 317 of file ScopedPrinter.h.
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), printVersion(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), and llvm::codeview::TypeDumpVisitor::visitTypeBegin().
Definition at line 91 of file ScopedPrinter.h.
Referenced by printEnum(), printFlags(), printHex(), printHexList(), and printSymbolOffset().
|
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 272 of file ScopedPrinter.h.
|
inline |
Definition at line 276 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 282 of file ScopedPrinter.h.
Definition at line 286 of file ScopedPrinter.h.
References llvm::ArrayRef< T >::data(), llvm::makeArrayRef(), and llvm::ArrayRef< T >::size().
Definition at line 292 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
Definition at line 298 of file ScopedPrinter.h.
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), and llvm::codeview::TypeDumpVisitor::visitTypeEnd().
Definition at line 302 of file ScopedPrinter.h.
References llvm::StringRef::data(), llvm::makeArrayRef(), and llvm::StringRef::size().
Definition at line 197 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 94 of file ScopedPrinter.h.
References hex(), and startLine().
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberBegin(), llvm::codeview::TypeDumpVisitor::visitTypeBegin(), and llvm::codeview::TypeDumpVisitor::visitUnknownType().
|
inline |
Definition at line 114 of file ScopedPrinter.h.
Definition at line 148 of file ScopedPrinter.h.
References hex(), and startLine().
Definition at line 244 of file ScopedPrinter.h.
References hex(), and startLine().
Referenced by llvm::codeview::CVTypeDumper::printTypeIndex(), and llvm::codeview::TypeDumpVisitor::visitUnknownMember().
|
inline |
Definition at line 248 of file ScopedPrinter.h.
References hex(), and startLine().
|
inline |
Definition at line 232 of file ScopedPrinter.h.
References hex(), and startLine().
|
inline |
|
inline |
Definition at line 207 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 220 of file ScopedPrinter.h.
References Printer, and startLine().
|
inline |
Definition at line 161 of file ScopedPrinter.h.
References startLine().
Referenced by llvm::codeview::TypeDumpVisitor::visitUnknownType().
Definition at line 165 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 169 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 173 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 177 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 181 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 185 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 189 of file ScopedPrinter.h.
References startLine().
Definition at line 193 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 268 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 308 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 257 of file ScopedPrinter.h.
References startLine().
Definition at line 259 of file ScopedPrinter.h.
References startLine().
Definition at line 263 of file ScopedPrinter.h.
References startLine().
|
inline |
Definition at line 253 of file ScopedPrinter.h.
References hex(), and startLine().
|
inline |
Definition at line 201 of file ScopedPrinter.h.
References getOStream(), startLine(), and llvm::IndexedInstrProf::Version.
|
inline |
Definition at line 81 of file ScopedPrinter.h.
|
inline |
Definition at line 83 of file ScopedPrinter.h.
References P.
|
inline |
Definition at line 312 of file ScopedPrinter.h.
References printIndent().
Referenced by llvm::DelimitedScope< Open, Close >::DelimitedScope(), printBoolean(), printEnum(), printFlags(), printHex(), printHexList(), printList(), printNumber(), printObject(), printString(), printSymbolOffset(), printVersion(), llvm::codeview::TypeDumpVisitor::visitMemberBegin(), llvm::codeview::TypeDumpVisitor::visitMemberEnd(), llvm::codeview::TypeDumpVisitor::visitTypeBegin(), llvm::codeview::TypeDumpVisitor::visitTypeEnd(), and llvm::DelimitedScope< Open, Close >::~DelimitedScope().
|
inline |
Definition at line 77 of file ScopedPrinter.h.
Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd(), llvm::codeview::TypeDumpVisitor::visitTypeEnd(), and llvm::DelimitedScope< Open, Close >::~DelimitedScope().
1.8.6