Home
last modified time | relevance | path

Searched refs:MaxLen (Results 1 – 20 of 20) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp117 const unsigned MaxLen = 40; in emitRawBytes()
118 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes()
126 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes()
129 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp31 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()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCSubtargetInfo.cpp90 size_t MaxLen = 0; in getLongestEntryLength() local
92 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength()
93 return MaxLen; in getLongestEntryLength()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DHeaderMap.cpp158 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local
159 unsigned Len = strnlen(Data, MaxLen); in getString()
162 if (Len == MaxLen && Data[Len - 1]) in getString()
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp320 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 DFuzzerOptions.h19 size_t MaxLen = 0; member
H A DFuzzerTracePC.cpp396 static size_t InternalStrnlen(const char *S, size_t MaxLen) { in InternalStrnlen() argument
398 for (; Len < MaxLen && S[Len]; Len++) {} in InternalStrnlen()
H A DFuzzerLoop.cpp156 MaxInputLen = MaxMutationLen = Options.MaxLen; in Fuzzer()
804 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp94 unsigned MaxLen = 32; in combine() local
96 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
H A DAArch64PreLegalizerCombiner.cpp402 unsigned MaxLen = EnableOpt ? 0 : 32; in combine() local
404 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
/openbsd/gnu/llvm/llvm/tools/llvm-objdump/
H A DELFDump.cpp182 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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp765 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local
775 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath()
777 return MaxLen; in computeCrossBlockCriticalPath()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp239 std::optional<uint32_t> MaxLen; in visitTypeBegin() local
242 MaxLen = MaxRecordLength - sizeof(RecordPrefix); in visitTypeBegin()
243 error(IO.beginRecord(MaxLen)); in visitTypeBegin()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h411 LegalizeResult lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
H A DCombinerHelper.h296 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
/openbsd/gnu/llvm/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1490 unsigned MaxLen = 0; in emitDiagTable() local
1493 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1020 unsigned MaxLen) { in findStrip() argument
1021 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip()
1024 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip()
1029 return { F, MaxLen }; in findStrip()
H A DHexagonISelLoweringHVX.cpp2374 unsigned MaxLen = std::max(Len0, Len1); in typeWidenToWider() local
2375 return {MVT::getVectorVT(Ty0.getVectorElementType(), MaxLen), in typeWidenToWider()
2376 MVT::getVectorVT(Ty1.getVectorElementType(), MaxLen)}; in typeWidenToWider()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp8081 LegalizerHelper::lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in lowerMemCpyFamily() argument
8124 if (MaxLen && KnownLen > MaxLen) in lowerMemCpyFamily()
H A DCombinerHelper.cpp1280 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in tryCombineMemCpyFamily() argument
1284 return Helper.lowerMemCpyFamily(MI, MaxLen) == in tryCombineMemCpyFamily()