Go to the documentation of this file.
9 #ifndef LLVM_SUPPORT_STRINGSAVER_H
10 #define LLVM_SUPPORT_STRINGSAVER_H
This is an optimization pass for GlobalISel generic memory operations.
StringRef save(const Twine &S)
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.
StringSaver(BumpPtrAllocator &Alloc)
Allocate memory in an ever growing pool, as if by bump-pointer.
StringRef save(const std::string &S)
StringRef save(const char *S)
UniqueStringSaver(BumpPtrAllocator &Alloc)
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.
StringRef - Represent a constant reference to a string, i.e.
StringRef save(const std::string &S)
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
StringRef save(const Twine &S)
StringRef save(const char *S)