Home
last modified time | relevance | path

Searched refs:LUT (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A DSHA256.cpp24 static const char *const LUT = "0123456789abcdef"; in toHex() local
31 Output.push_back(LUT[c >> 4]); in toHex()
32 Output.push_back(LUT[c & 15]); in toHex()
H A Draw_sha1_ostream_test.cpp18 static const char *const LUT = "0123456789ABCDEF"; in toHex() local
25 Output.push_back(LUT[c >> 4]); in toHex()
26 Output.push_back(LUT[c & 15]); in toHex()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringExtras.h39 static const char LUT[] = "0123456789ABCDEF"; variable
41 return LUT[X] | Offset;
73 static const int16_t LUT[256] = { in hexDigitValue() local
92 return LUT[static_cast<unsigned char>(C)]; in hexDigitValue()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp28535 SDValue LUT = DAG.getConstant(0x2d, DL, MVT::i32); in LowerFLT_ROUNDS_() local
28538 DAG.getNode(ISD::SRL, DL, MVT::i32, LUT, Shift), in LowerFLT_ROUNDS_()
28703 const int LUT[16] = {/* 0 */ 4, /* 1 */ 3, /* 2 */ 2, /* 3 */ 2, in LowerVectorCTLZInRegLUT() local
28710 LUTVec.push_back(DAG.getConstant(LUT[i % 16], DL, MVT::i8)); in LowerVectorCTLZInRegLUT()
31378 const int LUT[16] = {/* 0 */ 0, /* 1 */ 1, /* 2 */ 1, /* 3 */ 2, in LowerVectorCTPOPInRegLUT() local
31385 LUTVec.push_back(DAG.getConstant(LUT[i % 16], DL, MVT::i8)); in LowerVectorCTPOPInRegLUT()