Home
last modified time | relevance | path

Searched refs:hexDigitValue (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DYAML.cpp47 uint8_t Byte = llvm::hexDigitValue(Data[I * 2]); in writeAsBinary()
49 Byte |= llvm::hexDigitValue(Data[I * 2 + 1]); in writeAsBinary()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DToken.cpp121 result.push_back((llvm::hexDigitValue(c1) << 4) | llvm::hexDigitValue(c2)); in getStringValue()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringExtras.h71 inline unsigned hexDigitValue(char C) { in hexDigitValue() function
99 inline bool isHexDigit(char C) { return hexDigitValue(C) != ~0U; } in isHexDigit()
197 unsigned U1 = hexDigitValue(MSB); in tryGetHexFromNibbles()
198 unsigned U2 = hexDigitValue(LSB); in tryGetHexFromNibbles()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLLexer.cpp64 Result += hexDigitValue(*Buffer); in HexIntToVal()
81 Pair[0] += hexDigitValue(*Buffer); in HexToIntPair()
87 Pair[1] += hexDigitValue(*Buffer); in HexToIntPair()
101 Pair[1] += hexDigitValue(*Buffer); in FP80HexToIntPair()
106 Pair[0] += hexDigitValue(*Buffer); in FP80HexToIntPair()
127 *BOut = hexDigitValue(BIn[1]) * 16 + hexDigitValue(BIn[2]); in UnEscapeLexed()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DLexer.cpp65 result.push_back((llvm::hexDigitValue(c1) << 4) | llvm::hexDigitValue(c2)); in getStringValue()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLiteralSupport.cpp172 int CharVal = llvm::hexDigitValue(*ThisTokBuf); in ProcessCharEscape()
347 unsigned Value = llvm::hexDigitValue(*I); in expandUCNs()
381 unsigned Value = llvm::hexDigitValue(*I); in expandUCNs()
429 int CharVal = llvm::hexDigitValue(*ThisTokBuf); in ProcessNumericUCNEscape()
1369 N = N * radix + llvm::hexDigitValue(*Ptr); in GetIntegerValue()
1391 unsigned C = llvm::hexDigitValue(*Ptr++); in GetIntegerValue()
1513 unsigned C = llvm::hexDigitValue(*Ptr); in GetFixedPointValue()
H A DLexer.cpp3240 unsigned Value = llvm::hexDigitValue(C); in tryReadNumericUCN()
/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp143 Str += hexDigitValue(C.peek(1)) * 16 + hexDigitValue(C.peek(2)); in unescapeQuotedString()
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentLexer.cpp85 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp291 while (hexDigitValue(*CurPtr) < DefaultRadix) { in findLastDigit()
H A DAsmParser.cpp3062 Value = Value * 16 + hexDigitValue(Str[++i]); in parseEscapedString()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp479 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
2571 hex_value = hexDigitValue(*p); in convertFromHexadecimalString()
3086 *q = hexDigitChars[hexDigitValue (*q) + 1]; in convertNormalToHexString()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp292 if (hexDigitValue(Line[Pos]) == -1U) in checkChars()