LLVM  6.0.0svn
Typedefs | Functions
StringTableBuilder.cpp File Reference
#include "llvm/MC/StringTableBuilder.h"
#include "llvm/ADT/CachedHashString.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <utility>
#include <vector>
Include dependency graph for StringTableBuilder.cpp:

Go to the source code of this file.

Typedefs

using StringPair = std::pair< CachedHashStringRef, size_t >
 

Functions

static int charTailAt (StringPair *P, size_t Pos)
 
static void multikeySort (MutableArrayRef< StringPair *> Vec, int Pos)
 

Typedef Documentation

◆ StringPair

using StringPair = std::pair<CachedHashStringRef, size_t>

Definition at line 61 of file StringTableBuilder.cpp.

Function Documentation

◆ charTailAt()

static int charTailAt ( StringPair P,
size_t  Pos 
)
static

Definition at line 76 of file StringTableBuilder.cpp.

References llvm::StringRef::size().

Referenced by multikeySort().

◆ multikeySort()

static void multikeySort ( MutableArrayRef< StringPair *>  Vec,
int  Pos 
)
static