Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
142 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF32ToUTF8String() argument
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()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DConvertUTF.h285 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
294 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
312 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp810 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local
811 if (!SrcBytes || !Alignment || *Alignment >= SrcBytes) in getMemoryOpCost()
841 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1); in getMemoryOpCost()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2628 auto ProcessExpr = [&](SmallVectorImpl<uint8_t> &SrcBytes, in cloneAllCompileUnits()
2632 DataExtractor Data(SrcBytes, IsLittleEndian, in cloneAllCompileUnits()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp5492 SmallVector<int, SystemZ::VectorBytes> SrcBytes; in tryPrepareForUnpack() local
5497 SrcBytes.push_back(Bytes[Elt]); in tryPrepareForUnpack()
5510 if (SrcBytes[i] != -1 && SrcBytes[i] % 16 != int(i)) { in tryPrepareForUnpack()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp14149 SmallVector<unsigned, 4> SrcBytes; in performAddCombine() local
14151 SrcBytes.push_back(Src0Mask & 0xFF000000); in performAddCombine()
14156 if (is_contained(SrcBytes, NextByte)) { in performAddCombine()
14160 SrcBytes.push_back(NextByte); in performAddCombine()