LLVM API Documentation

Namespaces | Functions
StringExtras.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
Include dependency graph for StringExtras.h:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

static char llvm::hexdigit (unsigned X, bool LowerCase=false)
static unsigned llvm::hexDigitValue (char C)
template<typename IntTy >
static char * llvm::utohex_buffer (IntTy X, char *BufferEnd)
static std::string llvm::utohexstr (uint64_t X)
static std::string llvm::utostr_32 (uint32_t X, bool isNeg=false)
static std::string llvm::utostr (uint64_t X, bool isNeg=false)
static std::string llvm::itostr (int64_t X)
StringRef::size_type llvm::StrInStrNoCase (StringRef s1, StringRef s2)
std::pair< StringRef, StringRefllvm::getToken (StringRef Source, StringRef Delimiters=" \t\n\v\f\r")
void llvm::SplitString (StringRef Source, SmallVectorImpl< StringRef > &OutFragments, StringRef Delimiters=" \t\n\v\f\r")
static unsigned llvm::HashString (StringRef Str, unsigned Result=0)
static StringRef llvm::getOrdinalSuffix (unsigned Val)
 Returns the English suffix for an ordinal integer (-st, -nd, -rd, -th).