Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
97 size_t MaxLen = 0; in getLongestEntryLength() local
99 MaxLen = std::max(MaxLen, I.size()); in getLongestEntryLength()
100 return MaxLen; in getLongestEntryLength()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp119 const unsigned MaxLen = 40; in emitRawBytes()
120 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes()
128 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes()
131 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp22 constexpr uptr MaxLen = 30; in appendNumber() local
26 RAW_CHECK(MinNumberLength < MaxLen); in appendNumber()
32 uptr NumBuffer[MaxLen]; in appendNumber()
35 RAW_CHECK_MSG(static_cast<uptr>(Pos) < MaxLen, in appendNumber()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp156 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local
158 if (MaxLen == 0) in getString()
161 unsigned Len = strnlen(Data, MaxLen); in getString()
164 if (Len == MaxLen && Data[Len - 1]) in getString()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp154 Instruction *Index, Value *Start, Value *MaxLen);
166 PHINode *IndPhi, Value *MaxLen, Instruction *Index,
320 Value *MaxLen; in recognizeByteCompare() local
324 m_Value(MaxLen)), in recognizeByteCompare()
409 ((WhileCondVal != Index && WhileCondVal != MaxLen) || in recognizeByteCompare()
420 transformByteCompare(GEPA, GEPB, PN, MaxLen, Index, StartIdx, /*IncIdx=*/true, in recognizeByteCompare()
634 GetElementPtrInst *GEPB, Instruction *Index, Value *Start, Value *MaxLen) { in expandFindMismatch() argument
725 Value *ExtEnd = Builder.CreateZExt(MaxLen, I64Type); in expandFindMismatch()
728 Value *LimitCheck = Builder.CreateICmpULE(Start, MaxLen); in expandFindMismatch()
850 Value *IVCmp = Builder.CreateICmpEQ(PhiInc, MaxLen); in expandFindMismatch()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp325 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) { in RunOneTest() argument
327 if (MaxLen && MaxLen < U.size()) in RunOneTest()
328 U.resize(MaxLen); in RunOneTest()
532 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge()
684 Options.MaxLen = Flags.max_len; in FuzzerDriver()
864 RunOneTest(F, Path.c_str(), Options.MaxLen); in FuzzerDriver()
886 if (Options.MaxLen == 0) in FuzzerDriver()
895 size_t MaxLen = INT_MAX; // Large max length. in FuzzerDriver() local
900 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()
806 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp99 unsigned MaxLen = 32; in tryCombineAll() local
101 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in tryCombineAll()
H A DAArch64PreLegalizerCombiner.cpp784 unsigned MaxLen = CInfo.EnableOpt ? 0 : 32; in tryCombineAll() local
786 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in tryCombineAll()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp226 size_t MaxLen = 0; in printDynamicSection() local
228 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size()); in printDynamicSection()
229 std::string TagFmt = " %-" + std::to_string(MaxLen) + "s "; in printDynamicSection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp807 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local
817 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath()
819 return MaxLen; in computeCrossBlockCriticalPath()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1939 unsigned MaxLen = 0; in emitDiagTable() local
1942 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h492 unsigned MaxLen = 0);
H A DCombinerHelper.h321 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1015 unsigned MaxLen) { in findStrip() argument
1016 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip()
1019 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip()
1024 return { F, MaxLen }; in findStrip()
H A DHexagonISelLoweringHVX.cpp2411 unsigned MaxLen = std::max(Len0, Len1); in typeWidenToWider() local
2412 return {MVT::getVectorVT(Ty0.getVectorElementType(), MaxLen), in typeWidenToWider()
2413 MVT::getVectorVT(Ty1.getVectorElementType(), MaxLen)}; in typeWidenToWider()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp10091 LegalizerHelper::lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in lowerMemCpyFamily() argument
10128 if (MaxLen && KnownLen > MaxLen) in lowerMemCpyFamily()
H A DCombinerHelper.cpp1708 unsigned MaxLen) const { in tryCombineMemCpyFamily()
1712 return Helper.lowerMemCpyFamily(MI, MaxLen) == in tryCombineMemCpyFamily()