LLVM: lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_LIB_DWARFLINKER_PARALLEL_STRINGENTRYTODWARFSTRINGPOOLENTRYMAP_H

10#define LLVM_LIB_DWARFLINKER_PARALLEL_STRINGENTRYTODWARFSTRINGPOOLENTRYMAP_H

11

15

16namespace llvm {

19

20

22public:

26

27

28

31

39 DataPtr->Symbol = nullptr;

41 }

42

43 assert(it->second != nullptr);

44 return it->second;

45 }

46

47

48

53

55 assert(it->second != nullptr);

56 return it->second;

57 }

58

59

61

62protected:

66

68};

69

70}

71}

72}

73

74#endif

assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")

This file defines the SmallVector class.

DenseMapIterator< KeyT, ValueT, KeyInfoT, BucketT > iterator

DenseMapIterator< KeyT, ValueT, KeyInfoT, BucketT, true > const_iterator

This class keeps data and services common for the whole linking process.

DenseMap< const StringEntry *, DwarfStringPoolEntryWithExtString * > DwarfStringPoolEntriesTy

Definition StringEntryToDwarfStringPoolEntryMap.h:63

LinkingGlobalData & GlobalData

Definition StringEntryToDwarfStringPoolEntryMap.h:67

void clear()

Erase contents of StringsForEmission.

Definition StringEntryToDwarfStringPoolEntryMap.h:60

DwarfStringPoolEntryWithExtString * getExistingEntry(const StringEntry *String) const

Returns already existed DwarfStringPoolEntry for the specified StringEntry.

Definition StringEntryToDwarfStringPoolEntryMap.h:50

DwarfStringPoolEntryWithExtString * add(const StringEntry *String)

Create DwarfStringPoolEntry for specified StringEntry if necessary.

Definition StringEntryToDwarfStringPoolEntryMap.h:29

~StringEntryToDwarfStringPoolEntryMap()=default

StringEntryToDwarfStringPoolEntryMap(LinkingGlobalData &GlobalData)

Definition StringEntryToDwarfStringPoolEntryMap.h:23

DwarfStringPoolEntriesTy DwarfStringPoolEntries

Definition StringEntryToDwarfStringPoolEntryMap.h:65

StringMapEntry< EmptyStringSetTag > StringEntry

StringEntry keeps data of the string: the length, external offset and a string body which is placed r...

This is an optimization pass for GlobalISel generic memory operations.

DwarfStringPoolEntry with string keeping externally.

static constexpr unsigned NotIndexed