LLVM: include/llvm/Support/StringSaver.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_SUPPORT_STRINGSAVER_H

10#define LLVM_SUPPORT_STRINGSAVER_H

11

16

17namespace llvm {

18

19

20

23

24public:

26

28

29

34};

35

36

37

38

39

40

41

42

43

47

48public:

50

51

56};

57

58}

59#endif

This file defines the BumpPtrAllocator interface.

This file defines the DenseSet and SmallDenseSet classes.

Allocate memory in an ever growing pool, as if by bump-pointer.

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.

BumpPtrAllocator & getAllocator() const

StringSaver(BumpPtrAllocator &Alloc)

StringRef save(const char *S)

StringRef save(const std::string &S)

Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...

Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.

UniqueStringSaver(BumpPtrAllocator &Alloc)

StringRef save(const std::string &S)

StringRef save(const char *S)

This is an optimization pass for GlobalISel generic memory operations.