| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.cpp | 114 const unsigned MaxLen = 40; in emitRawBytes() 115 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes() 123 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes() 126 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 31 constexpr uptr MaxLen = 30; in appendNumber() local 35 RAW_CHECK(MinNumberLength < MaxLen); in appendNumber() 41 uptr NumBuffer[MaxLen]; in appendNumber() 44 RAW_CHECK_MSG(static_cast<uptr>(Pos) < MaxLen, in appendNumber()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSubtargetInfo.cpp | 89 size_t MaxLen = 0; in getLongestEntryLength() local 91 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength() 92 return MaxLen; in getLongestEntryLength()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | HeaderMap.cpp | 157 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local 158 unsigned Len = strnlen(Data, MaxLen); in getString() 161 if (Len == MaxLen && Data[Len - 1]) in getString()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDriver.cpp | 320 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) { in RunOneTest() argument 322 if (MaxLen && MaxLen < U.size()) in RunOneTest() 323 U.resize(MaxLen); in RunOneTest() 528 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge() 680 Options.MaxLen = Flags.max_len; in FuzzerDriver() 860 RunOneTest(F, Path.c_str(), Options.MaxLen); in FuzzerDriver() 882 if (Options.MaxLen == 0) in FuzzerDriver() 891 size_t MaxLen = INT_MAX; // Large max length. in FuzzerDriver() local 896 MaxLen, /*ExitOnError=*/false); in FuzzerDriver()
|
| H A D | FuzzerOptions.h | 19 size_t MaxLen = 0; member
|
| H A D | FuzzerTracePC.cpp | 396 static size_t InternalStrnlen(const char *S, size_t MaxLen) { in InternalStrnlen() argument 398 for (; Len < MaxLen && S[Len]; Len++) {} in InternalStrnlen()
|
| H A D | FuzzerLoop.cpp | 156 MaxInputLen = MaxMutationLen = Options.MaxLen; in Fuzzer() 799 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64O0PreLegalizerCombiner.cpp | 94 unsigned MaxLen = 32; in combine() local 96 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
|
| H A D | AArch64PreLegalizerCombiner.cpp | 401 unsigned MaxLen = EnableOpt ? 0 : 32; in combine() local 403 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 182 size_t MaxLen = 0; in printDynamicSection() local 184 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size()); in printDynamicSection() 185 std::string TagFmt = " %-" + std::to_string(MaxLen) + "s "; in printDynamicSection()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineTraceMetrics.cpp | 766 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local 776 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath() 778 return MaxLen; in computeCrossBlockCriticalPath()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 239 Optional<uint32_t> MaxLen; in visitTypeBegin() local 242 MaxLen = MaxRecordLength - sizeof(RecordPrefix); in visitTypeBegin() 243 error(IO.beginRecord(MaxLen)); in visitTypeBegin()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Diagnostics.cpp | 635 constexpr unsigned MaxLen = 50; in writeCodeToFixMessage() local 643 R = R.take_front(MaxLen); in writeCodeToFixMessage()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 409 LegalizeResult lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
|
| H A D | CombinerHelper.h | 289 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 1492 unsigned MaxLen = 0; in emitDiagTable() local 1495 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAGHVX.cpp | 897 unsigned MaxLen) { in findStrip() argument 898 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip() 901 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip() 906 return { F, MaxLen }; in findStrip()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7815 LegalizerHelper::lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in lowerMemCpyFamily() argument 7858 if (MaxLen && KnownLen > MaxLen) in lowerMemCpyFamily()
|
| H A D | CombinerHelper.cpp | 1261 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in tryCombineMemCpyFamily() argument 1265 return Helper.lowerMemCpyFamily(MI, MaxLen) == in tryCombineMemCpyFamily()
|