Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp115 const unsigned MaxLen = 40; in emitRawBytes()
116 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes()
124 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes()
127 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp124 Instruction *Index, Value *Start, Value *MaxLen);
136 PHINode *IndPhi, Value *MaxLen, Instruction *Index,
272 Value *MaxLen; in recognizeByteCompare() local
275 m_Br(m_ICmp(Pred, m_Specific(Index), m_Value(MaxLen)), in recognizeByteCompare()
360 ((WhileCondVal != Index && WhileCondVal != MaxLen) || in recognizeByteCompare()
371 transformByteCompare(GEPA, GEPB, PN, MaxLen, Index, StartIdx, /*IncIdx=*/true, in recognizeByteCompare()
587 GetElementPtrInst *GEPB, Instruction *Index, Value *Start, Value *MaxLen) { in expandFindMismatch() argument
678 Value *ExtEnd = Builder.CreateZExt(MaxLen, I64Type); in expandFindMismatch()
681 Value *LimitCheck = Builder.CreateICmpULE(Start, MaxLen); in expandFindMismatch()
803 Value *IVCmp = Builder.CreateICmpEQ(PhiInc, MaxLen); in expandFindMismatch()
[all …]
/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/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()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp324 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) { in RunOneTest() argument
326 if (MaxLen && MaxLen < U.size()) in RunOneTest()
327 U.resize(MaxLen); in RunOneTest()
531 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge()
683 Options.MaxLen = Flags.max_len; in FuzzerDriver()
863 RunOneTest(F, Path.c_str(), Options.MaxLen); in FuzzerDriver()
885 if (Options.MaxLen == 0) in FuzzerDriver()
894 size_t MaxLen = INT_MAX; // Large max length. in FuzzerDriver() local
899 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()
801 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp102 unsigned MaxLen = 32; in tryCombineAll() local
104 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in tryCombineAll()
H A DAArch64PreLegalizerCombiner.cpp785 unsigned MaxLen = CInfo.EnableOpt ? 0 : 32; in tryCombineAll() local
787 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in tryCombineAll()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp219 size_t MaxLen = 0; in printDynamicSection() local
221 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size()); in printDynamicSection()
222 std::string TagFmt = " %-" + std::to_string(MaxLen) + "s "; in printDynamicSection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp779 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local
789 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath()
791 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/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h439 LegalizeResult lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
H A DCombinerHelper.h294 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1687 unsigned MaxLen = 0; in emitDiagTable() local
1690 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable()
/freebsd/contrib/llvm-project/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()
2375 return {MVT::getVectorVT(Ty0.getVectorElementType(), MaxLen), in typeWidenToWider() local
2376 MVT::getVectorVT(Ty1.getVectorElementType(), MaxLen)}; in typeWidenToWider()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp9129 LegalizerHelper::lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in lowerMemCpyFamily() argument
9170 if (MaxLen && KnownLen > MaxLen) in lowerMemCpyFamily()
H A DCombinerHelper.cpp1640 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in tryCombineMemCpyFamily() argument
1644 return Helper.lowerMemCpyFamily(MI, MaxLen) == in tryCombineMemCpyFamily()