Searched refs:SrcBytes (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ConvertUTFWrapper.cpp | 83 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF16ToUTF8String() argument 87 if (SrcBytes.size() % 2) in convertUTF16ToUTF8String() 91 if (SrcBytes.empty()) in convertUTF16ToUTF8String() 94 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); in convertUTF16ToUTF8String() 95 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end()); in convertUTF16ToUTF8String() 115 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String() 141 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF32ToUTF8String() argument 145 if (SrcBytes.size() % 4) in convertUTF32ToUTF8String() 149 if (SrcBytes.empty()) in convertUTF32ToUTF8String() 152 const UTF32 *Src = reinterpret_cast<const UTF32 *>(SrcBytes.begin()); in convertUTF32ToUTF8String() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ConvertUTF.h | 301 LLVM_ABI bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes); 310 LLVM_ABI bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, 329 LLVM_ABI bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 805 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local 811 if (Opcode == Instruction::Load && MemBits == 32 && Alignment < SrcBytes) in getMemoryOpCost() 816 if (!SrcBytes || Alignment >= SrcBytes) in getMemoryOpCost() 845 Cost += LT.first * ((SrcBytes / Alignment.value()) - 1); in getMemoryOpCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIARawSymbol.cpp | 78 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 D | DWARFLinker.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFLinker.cpp | 2745 auto ProcessExpr = [&](SmallVectorImpl<uint8_t> &SrcBytes, in cloneAllCompileUnits() 2749 DataExtractor Data(SrcBytes, IsLittleEndian, in cloneAllCompileUnits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6079 SmallVector<int, SystemZ::VectorBytes> SrcBytes; in tryPrepareForUnpack() local 6084 SrcBytes.push_back(Bytes[Elt]); in tryPrepareForUnpack() 6098 if (SrcBytes[i] == -1) in tryPrepareForUnpack() 6100 if (SrcBytes[i] % 16 != int(i)) in tryPrepareForUnpack() 6102 if (SrcBytes[i] % 16 != int(i + SystemZ::VectorBytes / 2)) in tryPrepareForUnpack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 15033 SmallVector<unsigned, 4> SrcBytes; in performAddCombine() local 15035 SrcBytes.push_back(Src0Mask & 0xFF000000); in performAddCombine() 15040 if (is_contained(SrcBytes, NextByte)) { in performAddCombine() 15044 SrcBytes.push_back(NextByte); in performAddCombine()
|