Home
last modified time | relevance | path

Searched refs:SrcBytes (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DConvertUTFWrapper.cpp84 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF16ToUTF8String() argument
88 if (SrcBytes.size() % 2) in convertUTF16ToUTF8String()
92 if (SrcBytes.empty()) in convertUTF16ToUTF8String()
95 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); in convertUTF16ToUTF8String()
96 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end()); in convertUTF16ToUTF8String()
116 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String()
146 if (SrcBytes.size() % 4) in convertUTF32ToUTF8String()
150 if (SrcBytes.empty()) in convertUTF32ToUTF8String()
153 const UTF32 *Src = reinterpret_cast<const UTF32 *>(SrcBytes.begin()); in convertUTF32ToUTF8String()
154 const UTF32 *SrcEnd = reinterpret_cast<const UTF32 *>(SrcBytes.end()); in convertUTF32ToUTF8String()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DConvertUTF.h269 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
278 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
296 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp1186 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local
1187 if (!SrcBytes || !Alignment || *Alignment >= SrcBytes) in getMemoryOpCost()
1217 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1); in getMemoryOpCost()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp78 const char *SrcBytes = reinterpret_cast<const char *>(V.bstrVal); in VariantFromVARIANT() local
79 llvm::ArrayRef<char> SrcByteArray(SrcBytes, SysStringByteLen(V.bstrVal)); in VariantFromVARIANT()
567 const char *SrcBytes = reinterpret_cast<const char *>(Result16.m_str); in getUndecoratedNameEx() local
568 llvm::ArrayRef<char> SrcByteArray(SrcBytes, Result16.ByteLength()); in getUndecoratedNameEx()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp5090 SmallVector<int, SystemZ::VectorBytes> SrcBytes; in tryPrepareForUnpack() local
5095 SrcBytes.push_back(Bytes[Elt]); in tryPrepareForUnpack()
5108 if (SrcBytes[i] != -1 && SrcBytes[i] % 16 != int(i)) { in tryPrepareForUnpack()