|
LLVM
4.0.0
|
#include <TypeDatabase.h>
Public Member Functions | |
| TypeDatabase () | |
| TypeIndex | getNextTypeIndex () const |
| Gets the type index for the next type record. More... | |
| void | recordType (StringRef Name, CVType Data) |
| Records the name of a type, and reserves its type index. More... | |
| StringRef | saveTypeName (StringRef TypeName) |
| Saves the name in a StringSet and creates a stable StringRef. More... | |
| StringRef | getTypeName (TypeIndex Index) const |
| bool | containsTypeIndex (TypeIndex Index) const |
| uint32_t | size () const |
Definition at line 22 of file TypeDatabase.h.
|
inline |
Definition at line 24 of file TypeDatabase.h.
Definition at line 109 of file TypeDatabase.cpp.
References llvm::codeview::TypeIndex::FirstNonSimpleIndex, llvm::codeview::TypeIndex::getIndex(), and I.
| TypeIndex TypeDatabase::getNextTypeIndex | ( | ) | const |
Gets the type index for the next type record.
Definition at line 69 of file TypeDatabase.cpp.
References llvm::codeview::TypeIndex::FirstNonSimpleIndex.
Referenced by llvm::codeview::TypeDumpVisitor::visitTypeBegin().
Definition at line 84 of file TypeDatabase.cpp.
References llvm::codeview::Direct, llvm::StringRef::drop_back(), llvm::codeview::TypeIndex::FirstNonSimpleIndex, llvm::codeview::TypeIndex::getIndex(), llvm::codeview::TypeIndex::getSimpleKind(), llvm::codeview::TypeIndex::getSimpleMode(), I, llvm::codeview::TypeIndex::isNoneType(), llvm::codeview::TypeIndex::isSimple(), and SimpleTypeNames.
Referenced by llvm::codeview::CVTypeDumper::printTypeIndex().
Records the name of a type, and reserves its type index.
Definition at line 74 of file TypeDatabase.cpp.
Referenced by llvm::codeview::TypeDatabaseVisitor::visitTypeEnd().
Saves the name in a StringSet and creates a stable StringRef.
Definition at line 80 of file TypeDatabase.cpp.
References llvm::StringSaver::save().
| uint32_t TypeDatabase::size | ( | ) | const |
Definition at line 114 of file TypeDatabase.cpp.
1.8.6