LLVM: include/llvm/Support/StringSaver.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_SUPPORT_STRINGSAVER_H
10#define LLVM_SUPPORT_STRINGSAVER_H
11
17
18namespace llvm {
19
20
21
24
25public:
27
29
30
35};
36
37
38
39
40
41
42
43
44
58
59}
60#endif
This file defines the BumpPtrAllocator interface.
This file defines the DenseSet and SmallDenseSet classes.
Implements a dense probed hash-table based set.
StringRef - Represent a constant reference to a string, i.e.
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.
Definition StringSaver.h:22
BumpPtrAllocator & getAllocator() const
Definition StringSaver.h:28
StringSaver(BumpPtrAllocator &Alloc)
Definition StringSaver.h:26
StringRef save(const char *S)
Definition StringSaver.h:31
StringRef save(const std::string &S)
Definition StringSaver.h:34
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
UniqueStringSaver(BumpPtrAllocator &Alloc)
Definition StringSaver.h:50
StringRef save(const std::string &S)
Definition StringSaver.h:56
StringRef save(const char *S)
Definition StringSaver.h:53
This is an optimization pass for GlobalISel generic memory operations.
BumpPtrAllocatorImpl<> BumpPtrAllocator
The standard BumpPtrAllocator which just uses the default template parameters.