|
| static char | llvm::hexdigit (unsigned X, bool LowerCase=false) |
| | hexdigit - Return the hexadecimal character for the given number X (which should be less than 16). More...
|
| |
| static StringRef | llvm::toStringRef (bool B) |
| | Construct a string ref from a boolean. More...
|
| |
| static StringRef | llvm::toStringRef (ArrayRef< uint8_t > Input) |
| | Construct a string ref from an array ref of unsigned chars. More...
|
| |
| static unsigned | llvm::hexDigitValue (char C) |
| | Interpret the given character C as a hexadecimal digit and return its value. More...
|
| |
| static std::string | llvm::utohexstr (uint64_t X, bool LowerCase=false) |
| |
| std::string | llvm::toHex (StringRef Input) |
| | Convert buffer Input to its hexadecimal representation. More...
|
| |
| std::string | llvm::toHex (ArrayRef< uint8_t > Input) |
| |
| static uint8_t | llvm::hexFromNibbles (char MSB, char LSB) |
| |
| static std::string | llvm::fromHex (StringRef Input) |
| | Convert hexadecimal string Input to its binary representation. More...
|
| |
| template<typename N > |
| bool | llvm::to_integer (StringRef S, N &Num, unsigned Base=0) |
| | Convert the string S to an integer of the specified type using the radix Base. More...
|
| |
| template<typename N > |
| bool | llvm::detail::to_float (const Twine &T, N &Num, N(*StrTo)(const char *, char **)) |
| |
| bool | llvm::to_float (const Twine &T, float &Num) |
| |
| bool | llvm::to_float (const Twine &T, double &Num) |
| |
| bool | llvm::to_float (const Twine &T, long double &Num) |
| |
| 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) |
| | StrInStrNoCase - Portable version of strcasestr. More...
|
| |
| std::pair< StringRef, StringRef > | llvm::getToken (StringRef Source, StringRef Delimiters=" \t\n\v\f\r") |
| | getToken - This function extracts one token from source, ignoring any leading characters that appear in the Delimiters string, and ending the token at any of the characters that appear in the Delimiters string. More...
|
| |
| void | llvm::SplitString (StringRef Source, SmallVectorImpl< StringRef > &OutFragments, StringRef Delimiters=" \t\n\v\f\r") |
| | SplitString - Split up the specified string according to the specified delimiters, appending the result fragments to the output list. More...
|
| |
| static unsigned | llvm::HashString (StringRef Str, unsigned Result=0) |
| | HashString - Hash function for strings. More...
|
| |
| static StringRef | llvm::getOrdinalSuffix (unsigned Val) |
| | Returns the English suffix for an ordinal integer (-st, -nd, -rd, -th). More...
|
| |
| void | llvm::PrintEscapedString (StringRef Name, raw_ostream &Out) |
| | PrintEscapedString - Print each character of the specified string, escaping it if it is not printable or if it is an escape char. More...
|
| |
| template<typename IteratorT > |
| std::string | llvm::detail::join_impl (IteratorT Begin, IteratorT End, StringRef Separator, std::input_iterator_tag) |
| |
| template<typename IteratorT > |
| std::string | llvm::detail::join_impl (IteratorT Begin, IteratorT End, StringRef Separator, std::forward_iterator_tag) |
| |
| template<typename Sep > |
| void | llvm::detail::join_items_impl (std::string &Result, Sep Separator) |
| |
| template<typename Sep , typename Arg > |
| void | llvm::detail::join_items_impl (std::string &Result, Sep Separator, const Arg &Item) |
| |
| template<typename Sep , typename Arg1 , typename... Args> |
| void | llvm::detail::join_items_impl (std::string &Result, Sep Separator, const Arg1 &A1, Args &&...Items) |
| |
| size_t | llvm::detail::join_one_item_size (char C) |
| |
| size_t | llvm::detail::join_one_item_size (const char *S) |
| |
| template<typename T > |
| size_t | llvm::detail::join_one_item_size (const T &Str) |
| |
| size_t | llvm::detail::join_items_size () |
| |
| template<typename A1 > |
| size_t | llvm::detail::join_items_size (const A1 &A) |
| |
| template<typename A1 , typename... Args> |
| size_t | llvm::detail::join_items_size (const A1 &A, Args &&...Items) |
| |
| template<typename IteratorT > |
| std::string | llvm::join (IteratorT Begin, IteratorT End, StringRef Separator) |
| | Joins the strings in the range [Begin, End), adding Separator between the elements. More...
|
| |
| template<typename Range > |
| std::string | llvm::join (Range &&R, StringRef Separator) |
| | Joins the strings in the range [R.begin(), R.end()), adding Separator between the elements. More...
|
| |
| template<typename Sep , typename... Args> |
| std::string | llvm::join_items (Sep Separator, Args &&...Items) |
| | Joins the strings in the parameter pack Items, adding Separator between the elements. More...
|
| |