|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
usr/include/c++/7.4.0/bits/algorithmfwd.h 383 min(const _Tp&, const _Tp&);
References
gen/tools/lldb/scripts/LLDBWrapPython.cpp80034 ret_val = std::min(ret_val, static_cast<size_t>(max));
include/llvm/ADT/APInt.h 1646 return std::min(unsigned(llvm::countTrailingZeros(U.VAL)), BitWidth);
include/llvm/ADT/BitVector.h 526 for (unsigned i = 0, e = std::min(ThisWords, RHSWords); i != e; ++i)
537 for (i = 0; i != std::min(ThisWords, RHSWords); ++i)
563 for (i = 0; i != std::min(ThisWords, RHSWords); ++i)
580 for (i = 0; i != std::min(ThisWords, RHSWords); ++i)
591 for (i = 0; i != std::min(ThisWords, RHSWords); ++i)
901 MaskWords = std::min(MaskWords, (size() + 31) / 32);
include/llvm/ADT/IntervalMap.h 319 unsigned Count = std::min(std::min(unsigned(Add), SSize), N - Size);
319 unsigned Count = std::min(std::min(unsigned(Add), SSize), N - Size);
324 unsigned Count = std::min(std::min(unsigned(-Add), Size), N - SSize);
324 unsigned Count = std::min(std::min(unsigned(-Add), Size), N - SSize);
include/llvm/ADT/SmallBitVector.h 479 for (unsigned i = 0, e = std::min(size(), RHS.size()); i != e; ++i)
516 for (i = 0, e = std::min(size(), RHS.size()); i != e; ++i)
531 for (unsigned i = 0, e = std::min(size(), RHS.size()); i != e; ++i)
546 for (i = 0, e = std::min(size(), RHS.size()); i != e; ++i)
include/llvm/ADT/SmallVector.h 239 NewCapacity = std::min(std::max(NewCapacity, MinSize), size_t(UINT32_MAX));
include/llvm/ADT/StringRef.h 196 if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
306 size_t FindBegin = std::min(From, Length);
366 From = std::min(From, Length);
599 Start = std::min(Start, Length);
600 return StringRef(Data + Start, std::min(N, Length - Start));
700 Start = std::min(Start, Length);
701 End = std::min(std::max(Start, End), Length);
810 return drop_front(std::min(Length, find_first_not_of(Char)));
817 return drop_front(std::min(Length, find_first_not_of(Chars)));
824 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1));
831 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
include/llvm/ADT/edit_distance.h 80 Row[x] = std::min(
82 std::min(Row[x-1], Row[x])+1);
86 else Row[x] = std::min(Row[x-1], Row[x]) + 1;
89 BestThisRow = std::min(BestThisRow, Row[x]);
include/llvm/Analysis/VectorUtils.h 439 Alignment = std::min(Alignment, NewAlign);
include/llvm/Demangle/ItaniumDemangle.h 538 SoFar.first = std::min(SoFar.first, RT->RK);
include/llvm/Demangle/StringView.h 44 size_t FindBegin = std::min(From, size());
include/llvm/IR/ModuleSummaryIndex.h 97 Sum = std::min(Sum, uint64_t(MaxRelBlockFreq));
include/llvm/MCA/HardwareUnits/RetireControlUnit.h 69 Quantity = std::min(Quantity, NumROBEntries);
include/llvm/MCA/Stages/MicroOpQueueStage.h 56 std::min(static_cast<unsigned>(Buffer.size()),
include/llvm/ProfileData/InstrProf.h 642 return std::min(Val1 / Sum1, Val2 / Sum2);
include/llvm/Support/Alignment.h 215 inline Align commonAlignment(Align A, Align B) { return std::min(A, B); }
include/llvm/Support/Allocator.h 397 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128));
515 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x)));
include/llvm/Support/BinaryStreamRef.h 65 N = std::min(N, getLength());
84 N = std::min(N, getLength());
include/llvm/Support/FormatProviders.h 72 Result = std::min<size_t>(99u, Prec);
include/llvm/Support/GraphWriter.h 335 N = N.substr(0, std::min<std::size_t>(N.size(), 140));
include/llvm/Support/MathExtras.h 780 return std::max(X, Y) - std::min(X, Y);
include/llvm/Support/ScaledNumber.h 307 int32_t ShiftL = std::min<int32_t>(countLeadingZeros(LDigits), ScaleDiff);
843 int32_t ScaleShift = std::min(Shift, ScaledNumbers::MaxScale - Scale);
873 int32_t ScaleShift = std::min(Shift, Scale - ScaledNumbers::MinScale);
include/llvm/Support/YAMLTraits.h 541 std::min(Input.find_first_not_of("0123456789"), Input.size()));
include/llvm/Transforms/IPO/Attributor.h 1219 Assumed = std::max(std::min(Assumed, Value), Known);
1241 Known = std::min(Known, KnownValue);
1242 Assumed = std::min(Assumed, AssumedValue);
lib/Analysis/BlockFrequencyInfoImpl.cpp 537 Min = std::min(Min, Freqs[Index].Scaled);
lib/Analysis/DemandedBits.cpp 137 std::min(BitWidth, Known.countMaxLeadingZeros()+1));
147 std::min(BitWidth, Known.countMaxTrailingZeros()+1));
lib/Analysis/DomTreeUpdater.cpp 421 const size_t dropIndex = std::min(PendDTUpdateIndex, PendPDTUpdateIndex);
lib/Analysis/InlineCost.cpp 249 Cost = (int)std::min(UpperBound, Cost + Inc);
871 return B ? std::min(A, B.getValue()) : A;
1989 NumStores = std::min(NumStores, 8U);
lib/Analysis/InstructionSimplify.cpp 4187 unsigned NumCommonIdxs = std::min(NumInsertValueIdxs, NumIdxs);
lib/Analysis/LoopAccessAnalysis.cpp 1305 uint64_t MaxVFWithoutSLForwardIssues = std::min(
1619 std::min(static_cast<uint64_t>(Distance), MaxSafeDepDistBytes);
1630 MaxSafeRegisterWidth = std::min(MaxSafeRegisterWidth, MaxVFInBits);
lib/Analysis/PhiValues.cpp 68 DepthMap[Phi] = std::min(DepthMap[Phi], DepthMap[PhiPhiOp]);
lib/Analysis/ScalarEvolution.cpp 1613 TZ = std::min(TZ, SE.GetMinTrailingZeros(WholeAddExpr->getOperand(I)));
3114 ze = std::min(x+1, (int)OtherAddRec->getNumOperands());
5443 return std::min(GetMinTrailingZeros(T->getOperand()),
5464 MinOpRes = std::min(MinOpRes, GetMinTrailingZeros(A->getOperand(i)));
5475 std::min(SumOpRes + GetMinTrailingZeros(M->getOperand(i)), BitWidth);
5483 MinOpRes = std::min(MinOpRes, GetMinTrailingZeros(A->getOperand(i)));
5491 MinOpRes = std::min(MinOpRes, GetMinTrailingZeros(M->getOperand(i)));
5499 MinOpRes = std::min(MinOpRes, GetMinTrailingZeros(M->getOperand(i)));
6277 unsigned GCD = std::min(MulZeros, TZ);
6588 return 1U << std::min((uint32_t)31, GetMinTrailingZeros(TCExpr));
lib/Analysis/ValueTracking.cpp 359 LeadZ = std::min(LeadZ, BitWidth);
415 unsigned SmallestOperand = std::min(TrailBitsKnown0 - TrailZero0,
417 unsigned ResultBitsKnown = std::min(SmallestOperand + TrailZ, BitWidth);
1052 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1);
1325 TrailZ = std::min<unsigned>(TrailZ,
1338 TrailZ = std::min(TrailZ,
1385 Known.Zero.setLowBits(std::min(Known2.countMinTrailingZeros(),
1489 PossibleLZ = std::min(PossibleLZ, BitWidth - 1);
1500 PossibleTZ = std::min(PossibleTZ, BitWidth - 1);
2351 MinSignBits = std::min(MinSignBits, Elt->getValue().getNumSignBits());
2415 return std::min(TyBits, NumBits + Denominator->logBase2());
2486 FirstAnswer = std::min(Tmp, Tmp2);
2499 return std::min(CLow->getNumSignBits(), CHigh->getNumSignBits());
2504 return std::min(Tmp, Tmp2);
2532 return std::min(Tmp, Tmp2) - 1;
2561 return std::min(Tmp, Tmp2) - 1;
2588 Tmp = std::min(
2634 Tmp = std::min(Tmp, Tmp2);
lib/Bitcode/Reader/MetadataLoader.cpp 140 RefsUpperBound(std::min((size_t)std::numeric_limits<unsigned>::max(),
596 HistoricSize = std::min(SubExpr.size(), HistoricSize);
lib/Bitcode/Reader/ValueList.h 56 RefsUpperBound(std::min((size_t)std::numeric_limits<unsigned>::max(),
lib/CodeGen/Analysis.cpp 312 DataBits = std::min((uint64_t)DataBits,
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 796 Major = std::min<int>(Major, std::numeric_limits<uint16_t>::max());
lib/CodeGen/AsmPrinter/DwarfExpression.cpp 164 {Reg, std::min<unsigned>(Size, MaxSize - Offset), "sub-register"});
215 addOpPiece(std::min(Size - Offset, 64u), Offset);
403 SizeInBits = std::min<unsigned>(SizeInBits, SubRegisterSizeInBits);
lib/CodeGen/DFAPacketizer.cpp 334 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset());
lib/CodeGen/EarlyIfConversion.cpp 809 unsigned MinCrit = std::min(TBBTrace.getCriticalPath(),
lib/CodeGen/ExpandMemCmp.cpp 322 std::min(getNumLoads() - LoadIndex, NumLoadsPerBlockForZeroCmp);
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 165 KnownZeroLow = std::min(KnownZeroLow, Known2.countMinTrailingZeros());
203 KnownZeroHigh = std::min(KnownZeroHigh, Known2.countMinLeadingZeros());
204 KnownZeroLow = std::min(KnownZeroLow, Known2.countMinTrailingZeros());
253 Known.Zero.setLowBits(std::min(TrailZ, BitWidth));
254 Known.Zero.setHighBits(std::min(LeadZ, BitWidth));
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 3368 i <= std::min(DstIdx, SrcParts - 1); ++i) {
3375 i <= std::min(DstIdx - 1, SrcParts - 1); ++i) {
3487 SegSize = std::min(NarrowSize, OpStart + OpSize - SrcStart);
3490 SegSize = std::min(SrcStart + NarrowSize - OpStart, OpSize);
3557 SegSize = std::min(NarrowSize, OpStart + OpSize - DstStart);
3562 std::min(NarrowSize - InsertOffset, OpStart + OpSize - DstStart);
lib/CodeGen/LiveInterval.cpp 109 Def = std::min(Def, S->start);
1257 size_t NumMoved = std::min(Spills.size(), GapSize);
lib/CodeGen/LiveIntervals.cpp 1301 NewDefEndPoint = std::min(OldIdxIn->start,
lib/CodeGen/MachineBlockPlacement.cpp 830 BlockFrequency QinU = std::min(Qin, F) * UProb;
874 (P + V), (Qout + std::max(Qin, F) * VProb + std::min(Qin, F) * UProb),
878 (Qout + std::min(Qin, F) * AdjustedSuccSumProb +
lib/CodeGen/MachineInstr.cpp 1069 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax);
1231 int64_t MinOffset = std::min(OffsetA, OffsetB);
lib/CodeGen/MachinePipeliner.cpp 1416 alap = std::min(alap, (int)(getALAP(succ) - IS->getLatency() +
2005 SchedEnd = std::min(SchedEnd, EarlyStart + (int)II - 1);
2012 std::min(SchedEnd, std::min(LateStart, EarlyStart + (int)II - 1));
2012 std::min(SchedEnd, std::min(LateStart, EarlyStart + (int)II - 1));
2352 EarlyCycle = std::min(EarlyCycle, it->second);
2419 *MinEnd = std::min(*MinEnd, End);
2424 *MinLateStart = std::min(*MinLateStart, LateStart);
2432 *MinLateStart = std::min(*MinLateStart, cycle);
2440 *MinLateStart = std::min(*MinLateStart, LateStart);
lib/CodeGen/MachineVerifier.cpp 926 for (unsigned I = 0, E = std::min(MCID.getNumOperands(), NumOps);
lib/CodeGen/ModuloSchedule.cpp 417 unsigned NumPhis = std::min(NumStages, MaxPhis);
lib/CodeGen/PrologEpilogInserter.cpp 442 Align = std::min(Align, StackAlign);
lib/CodeGen/RegAllocPBQP.cpp 375 IEdgeKey EK(std::min(NId, MId), std::max(NId, MId));
lib/CodeGen/RegisterClassInfo.cpp 116 MinCost = std::min(MinCost, Cost);
lib/CodeGen/RegisterCoalescer.cpp 3163 ED = ED.isValid() ? std::min(ED, I->start) : I->start;
3168 NewEnd = std::min(NewEnd, LE);
3170 NewEnd = std::min(NewEnd, ED);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 9723 std::min(Op.getScalarValueSizeInBits(),
12954 unsigned ActualSize = std::min(InputSize, OutputSize);
14916 std::min(BitWidth, ShAmt + NewBW));
15909 std::min(NumConsecutiveStores, LastConsecutiveLoad + 1);
15910 NumElem = std::min(LastLegalType, NumElem);
19870 unsigned Alignment = std::min(LLD->getAlignment(), RLD->getAlignment());
20586 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1);
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 475 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits());
493 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 2434 Alignment = std::min(Alignment, 4u);
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp 4037 Alignment = std::min(Alignment, 4u);
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp 3405 for (unsigned i = 0, e = std::min(InVTNumElts, WidenNumElts); i != e; ++i) {
5110 unsigned MinNumElts = std::min(WidenNumElts, InNumElts);
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp 544 NodeNumDefs = std::min(N->getNumValues(), TID.getNumDefs());
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 930 unsigned LookAhead = std::min((unsigned)Sequence.size(),
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 570 NodeNumDefs = std::min(Node->getNumValues(), NRegDefs);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2732 Known.Zero.setLowBits(std::min(TrailZ, BitWidth));
2733 Known.Zero.setHighBits(std::min(LeadZ, BitWidth));
2746 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1);
3289 unsigned MinSignBits = std::min(LowSignBits, HighSignBits);
3456 Tmp = std::min(Tmp, Tmp2);
3484 Tmp = std::min(Tmp, Tmp2);
3532 Tmp2 = std::min(Tmp2, Tmp - SubOffset);
3583 FirstAnswer = std::min(Tmp, Tmp2);
3595 return std::min(Tmp, Tmp2);
3600 return std::min(Tmp, Tmp2);
3618 return std::min(Tmp, Tmp2);
3627 return std::min(Tmp, Tmp2);
3635 return std::min(Tmp, Tmp2);
3698 return std::min(Tmp, Tmp2)-1;
3725 return std::min(Tmp, Tmp2)-1;
3757 return std::max(std::min(KnownSign - rIndex * BitWidth, BitWidth), 0);
3785 Tmp = std::min(Tmp, Tmp2);
3791 Tmp = std::min(Tmp, Tmp2);
3847 Tmp = std::min(Tmp, Tmp2);
3871 Tmp = std::min(Tmp, Tmp2);
3881 Tmp = std::min(Tmp, Tmp2);
3914 Tmp = std::min(Tmp, Value.getNumSignBits());
3919 Tmp = std::min(Tmp, Value.getNumSignBits());
3965 return std::max(FirstAnswer, std::min(VTBits, Mask.countLeadingZeros()));
5692 unsigned NumBytes = std::min(NumVTBytes, unsigned(Slice.Length));
7674 unsigned Order = std::min(N->getIROrder(), OLoc.getIROrder());
9266 unsigned Align = AlignBits ? 1 << std::min(31U, AlignBits) : 0;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 4070 SmallVector<SDValue, 4> Chains(std::min(MaxParallelChains, NumValues));
4221 SmallVector<SDValue, 4> Chains(std::min(MaxParallelChains, NumValues));
7383 unsigned Align = std::min(DstAlign, SrcAlign);
10329 if (std::min(NumLeft, NumRight) < 3 && std::max(NumLeft, NumRight) > 3) {
lib/CodeGen/SplitKit.cpp 1144 End = std::min(End, AssignI.start());
1180 VNInfo *VNI = LI.extendInBlock(BlockStart, std::min(BlockEnd, End));
1200 VNInfo *VNI = LI.extendInBlock(BlockStart, std::min(BlockEnd, End));
1577 SlotIndex SegStart = enterIntvBefore(std::min(BI.FirstInstr,
1789 SlotIndex From = enterIntvBefore(std::min(To, LeaveBefore));
1833 SlotIndex Idx = enterIntvBefore(std::min(LSP, BI.FirstInstr));
1854 SlotIndex From = enterIntvBefore(std::min(Idx, BI.FirstInstr));
lib/CodeGen/SwitchLoweringUtils.cpp 307 for (int64_t j = std::min(N - 1, i + BitWidth - 1); j > i; --j) {
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp 72 Min = (Min.hasValue()) ? std::min(*Min, *ThisMin) : *ThisMin;
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 160 size_t DropN = std::min(N.size(), BytesToDrop / 2);
161 size_t DropU = std::min(U.size(), BytesToDrop - DropN);
lib/DebugInfo/MSF/MappedBlockStream.cpp 42 std::min(I1.second, I2.second));
211 uint32_t BytesFromFirstBlock = std::min(Size, BlockSize - OffsetInBlock);
260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock);
401 std::min(BytesLeft, getBlockSize() - OffsetInBlock);
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp 200 uint16_t ModiCount = std::min<uint32_t>(UINT16_MAX, ModiList.size());
201 uint16_t FileCount = std::min<uint32_t>(UINT16_MAX, SourceFileNames.size());
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp 21 uint32_t Offset = 0, DataLength = std::min(Limit, Stream.getLength());
lib/DebugInfo/PDB/Native/PDBFile.cpp 163 uint32_t BlocksThisByte = std::min(BlocksRemaining, 8U);
lib/DebugInfo/PDB/UDTLayout.cpp 137 End = std::min(SizeOf, End);
lib/ExecutionEngine/ExecutionEngineBindings.cpp 157 std::min(sizeof(options), SizeOfPassedOptions));
lib/ExecutionEngine/Interpreter/Interpreter.cpp 93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount));
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp 46 SlabStart = std::min(SlabStart, KV.second.base());
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h 45 ImageBase = std::min(ImageBase, Section.getLoadAddress());
lib/IR/ConstantFold.cpp 1174 unsigned SrcWidth = std::min(DstWidth, Log2(*GVAlign));
lib/LineEditor/LineEditor.cpp 43 size_t Len = std::min(CommonPrefix.size(), I->TypedText.size());
lib/MC/MCAsmStreamer.cpp 412 size_t newp = std::min(len, c.find_first_of("\r\n", p));
953 size_t J = I, EJ = std::min(I + Cols, Data.size());
999 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1));
lib/MC/MCCodeView.cpp 472 LocBegin = std::min(LocBegin, Extent.first);
605 compressAnnotation(std::min(EndSymLength, LocAfterLength), Buffer);
649 uint16_t Chunk = std::min((uint32_t)MaxDefRange, RangeSize);
lib/MC/MCDisassembler/Disassembler.cpp 288 size_t OutputSize = std::min(OutStringSize-1, InsnStr.size());
lib/MC/MCSchedule.cpp 99 Throughput = Throughput ? std::min(Throughput.getValue(), Temp) : Temp;
143 Throughput = Throughput ? std::min(Throughput.getValue(), Temp) : Temp;
163 DelayCycles = std::min(DelayCycles, E.Cycles);
lib/MC/WasmObjectWriter.cpp 602 std::min<uint64_t>(alignTo(DataBytes.size(), Align->getAlignment()),
lib/MCA/Stages/DispatchStage.cpp 134 std::min(DispatchWidth, NumMicroOps));
162 unsigned Required = std::min(NumMicroOps, DispatchWidth);
lib/Object/COFFObjectFile.cpp 139 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End);
143 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End);
165 return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue()));
1095 return std::min(Sec->VirtualSize, Sec->SizeOfRawData);
lib/Object/MachOObjectFile.cpp 957 uint32_t len = std::min(NullPos, left) + 1;
lib/ObjectYAML/ELFEmitter.cpp 673 PHeader.p_offset = std::min(PHeader.p_offset, SHeader->sh_offset);
lib/Option/ArgList.cpp 41 R.first = std::min<unsigned>(R.first, Args.size() - 1);
63 R.first = std::min(R.first, I->second.first);
lib/ProfileData/GCOV.cpp 450 CycleCount = std::min(E->CyclesCount, CycleCount);
lib/ProfileData/InstrProfReader.cpp 143 size_t count = std::min(Buffer.getBufferSize(), sizeof(uint64_t));
lib/Support/APFloat.cpp 739 std::min(fill->getNumWords(), numParts));
3859 X.exponent += std::min(std::max(Exp, -MaxIncrement - 1), MaxIncrement);
lib/Support/APInt.cpp 100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords());
635 return std::min(Count, BitWidth);
1410 uint32_t limit = std::min(u[j+i],v[i]);
2524 unsigned n = std::min(dstParts, srcParts);
2693 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
2720 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
lib/Support/CachePruning.cpp 158 std::min(Policy.MaxSizePercentageOfAvailableSpace, 100u);
278 auto TotalSizeTarget = std::min<uint64_t>(
lib/Support/FileCheck.cpp 578 FixedMatchEnd = std::min(FixedMatchEnd, PatternStr.find("[["));
793 for (size_t i = 0, e = std::min(size_t(4096), Buffer.size()); i != e; ++i) {
1660 Block->Pos = std::min(Block->Pos, M.Pos);
lib/Support/NativeFormatting.cpp 137 size_t W = std::min(kMaxWidth, Width.getValueOr(0u));
lib/Support/ScaledNumber.cpp 168 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros);
214 if (int Shift = std::min(int16_t(countLeadingZeros64(D)), E)) {
lib/Support/SmallPtrSet.cpp 256 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty);
lib/Support/SmallVector.cpp 50 std::min(std::max(NewCapacity, MinCapacity), size_t(UINT32_MAX));
lib/Support/SourceMgr.cpp 432 &CaretLine[std::min((size_t)R.second, CaretLine.size())],
lib/Support/StringRef.cpp 38 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
64 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) {
193 From = std::min(From, Length);
241 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
250 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
266 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
282 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
291 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
307 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
lib/Support/Unix/Path.inc 217 len = std::min(len, ssize_t(sizeof(exe_path) - 1));
lib/Support/circular_raw_ostream.cpp 26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray)));
lib/Support/raw_ostream.cpp 487 unsigned NumToWrite = std::min(NumChars,
711 size_t ChunkSize = std::min(Size, MaxWriteSize);
lib/TableGen/TableGenBackend.cpp 42 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen);
lib/Target/AArch64/AArch64CallingConvention.cpp 46 const Align Align = std::min(OrigAlign, StackAlign);
lib/Target/AArch64/AArch64FastISel.cpp 4166 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift);
4286 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift);
4395 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift);
lib/Target/AArch64/AArch64ISelLowering.cpp 6308 Source->MinElt = std::min(Source->MinElt, EltNo);
6428 std::min(OrigEltTy.getSizeInBits(), VT.getScalarSizeInBits());
11682 MinOffset = std::min(MinOffset, C->getZExtValue());
lib/Target/AArch64/AArch64InstrInfo.cpp 3088 unsigned ThisVal = std::min<unsigned>(Offset, MaxEncodableValue);
lib/Target/AArch64/AArch64MachineFunctionInfo.h 202 MinOffset = std::min<int64_t>(Offset, MinOffset);
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp 651 unsigned SignBits = std::min(LHSSignBits, RHSSignBits);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 1544 unsigned SignBits = std::min(LHSSignBits, RHSSignBits);
4437 Known.Zero.setLowBits(std::min(TrailZ, 32u));
4447 unsigned MaxValBits = std::min(LHSValBits + RHSValBits, 32u);
4464 unsigned MaxValBits = std::min(LHSValBits + RHSValBits, 32u);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 689 OccupancyHint = std::min(OccupancyHint, ST.getMaxWavesPerEU());
693 MaxOccupancy = std::min(OccupancyHint, MaxOccupancy);
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 332 NumWaves = std::min(NumWaves, MaxWaves);
602 return std::min(std::max(getTotalNumVGPRs() / RoundedRegs, 1u), MaxWaves);
627 std::min(getMaxWavesPerEU(),
630 Occupancy = std::min(Occupancy, getOccupancyWithNumSGPRs(NumSGPRs));
632 Occupancy = std::min(Occupancy, getOccupancyWithNumVGPRs(NumVGPRs));
682 return std::min(MaxNumSGPRs - getReservedNumSGPRs(MF),
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 2122 AlignSize = std::min(RegWidth, 4u);
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp 276 unsigned MaxInstBytesNum = std::min((size_t)TargetMaxInstBytes, Bytes_.size());
428 : std::min((size_t)4, Bytes_.size());
lib/Target/AMDGPU/GCNHazardRecognizer.cpp 222 for (unsigned i = 0, e = std::min(WaitStates, MaxLookAhead - 1); i < e; ++i)
335 for (unsigned i = 1, e = std::min(NumWaitStates, getMaxLookAhead());
396 MinWaitStates = Found ? std::min(MinWaitStates, W) : W;
lib/Target/AMDGPU/GCNIterativeScheduler.cpp 471 NewOcc = std::min(NewOcc, MaxRP.getOccupancy(ST));
503 TgtOcc = std::min(Occ, TgtOcc);
508 unsigned FinalOccupancy = std::min(Occ, MFI->getOccupancy());
533 FinalOccupancy = std::min(FinalOccupancy, RP.getOccupancy(ST));
587 TgtOcc = std::min(Occ, TgtOcc);
592 unsigned FinalOccupancy = std::min(Occ, MFI->getOccupancy());
610 FinalOccupancy = std::min(FinalOccupancy, RP.getOccupancy(ST));
lib/Target/AMDGPU/GCNNSAReassign.cpp 236 MaxNumVGPRs = std::min(ST->getMaxNumVGPRs(MFI->getOccupancy()), MaxNumVGPRs);
288 MinInd = I ? std::min(MinInd, LI->beginIndex()) : LI->beginIndex();
lib/Target/AMDGPU/GCNRegBankReassign.cpp 743 MaxNumVGPRs = std::min(ST->getMaxNumVGPRs(Occupancy), MaxNumVGPRs);
744 MaxNumSGPRs = std::min(ST->getMaxNumSGPRs(Occupancy, true), MaxNumSGPRs);
lib/Target/AMDGPU/GCNRegPressure.cpp 142 const auto SGPROcc = std::min(MaxOccupancy,
144 const auto VGPROcc = std::min(MaxOccupancy,
146 const auto OtherSGPROcc = std::min(MaxOccupancy,
148 const auto OtherVGPROcc = std::min(MaxOccupancy,
151 const auto Occ = std::min(SGPROcc, VGPROcc);
152 const auto OtherOcc = std::min(OtherSGPROcc, OtherVGPROcc);
lib/Target/AMDGPU/GCNRegPressure.h 55 return std::min(ST.getOccupancyWithNumSGPRs(getSGPRNum()),
lib/Target/AMDGPU/GCNSchedStrategy.cpp 368 unsigned WavesAfter = std::min(Occ, PressureAfter.getOccupancy(ST));
369 unsigned WavesBefore = std::min(Occ, PressureBefore.getOccupancy(ST));
lib/Target/AMDGPU/SIFrameLowering.cpp 300 AllSGPR128s = AllSGPR128s.slice(std::min(static_cast<unsigned>(AllSGPR128s.size()), NumPreloaded));
lib/Target/AMDGPU/SIInsertWaitcnts.cpp 170 Wait.VmCnt = std::min(Wait.VmCnt, Count);
173 Wait.ExpCnt = std::min(Wait.ExpCnt, Count);
176 Wait.LgkmCnt = std::min(Wait.LgkmCnt, Count);
179 Wait.VsCnt = std::min(Wait.VsCnt, Count);
1131 OldWait.VsCnt = std::min(OldWait.VsCnt, ICnt);
1133 Wait.VsCnt = std::min(Wait.VsCnt, ICnt);
1333 ScoreLBs[T] = std::min(M.OldLB + M.MyShift, M.OtherLB + M.OtherShift);
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp 628 unsigned MinOffset = std::min(A->getOffset(), B->getOffset());
664 unsigned MinMask = std::min(CI.DMask0, CI.DMask1);
717 CI.BaseOff = std::min(CI.Offset0, CI.Offset1);
1100 unsigned MergedOffset = std::min(CI.Offset0, CI.Offset1);
1152 unsigned MergedOffset = std::min(CI.Offset0, CI.Offset1);
1339 .addImm(std::min(CI.Offset0, CI.Offset1)) // offset
lib/Target/AMDGPU/SILowerI1Copies.cpp 391 FoundLoopLevel = std::min(FoundLoopLevel, Level + 1);
393 FoundLoopLevel = std::min(FoundLoopLevel, Level);
lib/Target/AMDGPU/SIRegisterInfo.cpp 1743 return std::min(ST.getMaxNumVGPRs(Occupancy), ST.getMaxNumVGPRs(MF));
1745 return std::min(ST.getMaxNumSGPRs(Occupancy, true), ST.getMaxNumSGPRs(MF));
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 281 return std::min(N, 16u);
368 MinNumSGPRs -= std::min(MinNumSGPRs, (unsigned)TRAP_NUM_SGPRS);
370 return std::min(MinNumSGPRs, getAddressableNumSGPRs(STI));
385 MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS);
387 return std::min(MaxNumSGPRs, AddressableNumSGPRs);
457 return std::min(MinNumVGPRs, getAddressableNumVGPRs(STI));
466 return std::min(MaxNumVGPRs, AddressableNumVGPRs);
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h 370 return Waitcnt(std::min(VmCnt, Other.VmCnt), std::min(ExpCnt, Other.ExpCnt),
370 return Waitcnt(std::min(VmCnt, Other.VmCnt), std::min(ExpCnt, Other.ExpCnt),
371 std::min(LgkmCnt, Other.LgkmCnt),
372 std::min(VsCnt, Other.VsCnt));
lib/Target/ARM/ARMBaseInstrInfo.cpp 3592 return std::min(Size / 4, 16U);
lib/Target/ARM/ARMCallingConv.cpp 197 unsigned Align = std::min(PendingMembers[0].getExtraInfo(), StackAlign);
268 unsigned RestAlign = std::min(Align, Size);
lib/Target/ARM/ARMFrameLowering.cpp 461 unsigned DPRAlign = DPRCSSize ? std::min(8U, Align) : 4U;
1524 Limit = std::min(Limit, (1U << 8) - 1);
1545 Limit = std::min(Limit, (1U << 8) - 1);
1548 Limit = std::min(Limit, ((1U << 8) - 1) * 2);
1553 Limit = std::min(Limit, ((1U << 8) - 1) * 4);
1559 Limit = std::min(Limit, (1U << 8) - 1);
1567 Limit = std::min(Limit, ((1U << 7) - 1) * 1);
1570 Limit = std::min(Limit, ((1U << 7) - 1) * 2);
1573 Limit = std::min(Limit, ((1U << 7) - 1) * 4);
lib/Target/ARM/ARMISelLowering.cpp 2491 unsigned ByValRegEnd = std::min<unsigned>(Reg + Size / 4, ARM::R4);
3995 ArgRegBegin = std::min(ArgRegBegin, RBegin);
4005 ArgRegBegin = std::min(ArgRegBegin, (unsigned)GPRArgRegs[RegIdx]);
4804 int64_t NegVal = std::min(Val1, Val2);
7383 Source->MinElt = std::min(Source->MinElt, EltNo);
7499 int BitsDefined = std::min(OrigEltTy.getSizeInBits(),
12601 std::min(4U, LD->getAlignment()),
13429 std::min(4U, St->getAlignment() / 2),
17054 return std::min(ABITypeAlign, DL.getStackAlignment());
lib/Target/ARM/ARMTargetTransformInfo.cpp 123 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(~Imm, Ty));
128 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(-Imm, Ty));
lib/Target/ARM/Disassembler/ARMDisassembler.cpp 1592 regs = std::min(16u, regs);
lib/Target/ARM/ThumbRegisterInfo.cpp 309 unsigned CopyImm = std::min(Bytes, CopyRange) / CopyScale;
326 unsigned ExtraImm = std::min(Bytes, ExtraRange) / ExtraScale;
lib/Target/BPF/BPFISelLowering.cpp 325 e = std::min(static_cast<unsigned>(ArgLocs.size()), MaxArgs);
lib/Target/Hexagon/HexagonBitSimplify.cpp 2246 if (std::min(P, Pos) != 0 && std::min(P, Pos) != 32)
2246 if (std::min(P, Pos) != 0 && std::min(P, Pos) != 32)
2270 SrcSR = (std::min(Pos, P) == 32) ? Hexagon::isub_hi : Hexagon::isub_lo;
lib/Target/Hexagon/HexagonConstExtenders.cpp 73 Max = adjustDown(std::min(Max, A.Max), Align, Offset);
1728 uint32_t A = std::min<uint32_t>(R.Align, 1u << countTrailingZeros(UD));
lib/Target/Hexagon/HexagonFrameLowering.cpp 1518 MinOffset = std::min(MinOffset, S->Offset);
1531 unsigned Align = std::min(TRI->getSpillAlignment(*RC), getStackAlignment());
1535 MinOffset = std::min(MinOffset, Off);
2520 MinLS = std::min(MinLS, LS);
lib/Target/Hexagon/HexagonGenExtract.cpp 186 uint32_t W = std::min(U, T);
lib/Target/Hexagon/HexagonGenInsert.cpp 338 for (uint16_t i = 0, w = std::min(W1, W2); i < w; ++i) {
880 for (uint16_t i = 0, w = std::min(W, AW); i < w; ++i) {
lib/Target/Hexagon/HexagonGenMux.cpp 279 unsigned MinX = std::min(CI.TrueX, CI.FalseX);
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 1988 MaxPowerOf2 = std::min(MaxPowerOf2, PowerOf2);
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 767 MinSrc = (MinSrc == -1) ? M : std::min(MinSrc, M);
lib/Target/Hexagon/HexagonSplitDouble.cpp 695 auto *Tmp2 = MF.getMachineMemOperand(Ptr, F, 4/*size*/, std::min(A, 4));
lib/Target/Hexagon/HexagonStoreWidening.cpp 360 if (SizeAccum + S2Size > std::min(MaxSize, Alignment))
lib/Target/Hexagon/HexagonSubtarget.cpp 284 for (unsigned j = i+1, m = std::min(i+32, e); j != m; ++j) {
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp 187 const Align BoundAlignment = std::min(Alignment.valueOrOne(), Align(8));
lib/Target/Lanai/LanaiInstrInfo.cpp 109 int LowOffset = std::min(OffsetA, OffsetB);
lib/Target/Mips/MipsFastISel.cpp 1486 IncomingArgSizeInBytes = std::min(getABI().GetCalleeAllocdArgSizeInBytes(CC),
lib/Target/Mips/MipsISelLowering.cpp 4236 unsigned Alignment = std::min(Flags.getByValAlign(), RegSizeInBytes);
4299 Alignment = std::min(Alignment, LoadSizeInBytes);
4375 Align = std::min(Align, TFL->getStackAlignment());
lib/Target/Mips/MipsISelLowering.h 311 return std::min(ABIAlign, Align(8));
lib/Target/Mips/MipsSEISelLowering.cpp 1192 std::min(Nd.getAlignment(), 4U), Nd.getMemOperand()->getFlags());
1228 std::min(Nd.getAlignment(), 4U),
lib/Target/PowerPC/PPCFrameLowering.cpp 1973 MinGPR = std::min<unsigned>(MinGPR, PPC::R30);
1985 MinG8R = std::min<unsigned>(MinG8R, BP);
1988 MinGPR = std::min<unsigned>(MinGPR, BP);
2015 std::min<unsigned>(TRI->getEncodingValue(MinGPR),
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 547 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb))
868 Count = std::min(Count, RCount);
879 Count = std::min(Count, RCount);
1539 VRI.FirstGroupStartIdx = std::min(VRI.FirstGroupStartIdx, BG.StartIdx);
6486 MaxDisplacement = std::min((int) GV->getAlignment() - 1, MaxDisplacement);
lib/Target/PowerPC/PPCISelLowering.cpp 3786 GPR_idx = std::min(GPR_idx, Num_GPR_Regs);
4376 GPR_idx = std::min(GPR_idx+4, Num_GPR_Regs); // FIXME correct for ppc64?
5903 GPR_idx = std::min(GPR_idx, NumGPRs);
lib/Target/PowerPC/PPCInstrInfo.cpp 3411 unsigned MinOp = std::min(Op1, Op2);
3415 MI.RemoveOperand(std::min(Op1, Op2));
4307 int LowOffset = std::min(OffsetA, OffsetB);
lib/Target/Sparc/SparcISelLowering.cpp 2540 std::min(PtrVT.getSizeInBits(), VT.getSizeInBits()) / 8);
lib/Target/SystemZ/SystemZISelLowering.cpp 3595 BitSize = std::min(BitSize, OrigBitSize);
6400 unsigned Common = std::min(LHS, RHS);
7347 uint64_t ThisLength = std::min(Length, uint64_t(256));
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp 107 std::min(Align, Size1), DstPtrInfo);
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 1113 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor);
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp 71 P2Align = std::min(P2Align,
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp 362 const uint8_t ThisNopLength = (uint8_t) std::min(Count, MaxNopLength);
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp 526 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset());
lib/Target/X86/X86CallingConv.cpp 278 bool UseRegs = PendingMembers.size() <= std::min(2U, NumRegs - FirstFree);
lib/Target/X86/X86FrameLowering.cpp 320 uint64_t ThisVal = std::min(Offset, Chunk);
838 uint64_t SEHFrameOffset = std::min(SPAdjust, Win64MaxSEHOffset);
3192 MinFixedObjOffset = std::min(MinFixedObjOffset, MFI.getObjectOffset(I));
lib/Target/X86/X86ISelLowering.cpp 4821 unsigned NumElts = std::min(DataVT.getVectorNumElements(),
4833 unsigned NumElts = std::min(DataVT.getVectorNumElements(),
8003 unsigned ScalarSize = std::min(RepeatSize, 64u);
11321 Range1.first = std::min(Range1.first, M);
11328 Range2.first = std::min(Range2.first, M);
19413 unsigned NumPackedSignBits = std::min<unsigned>(VT.getScalarSizeInBits(), 16);
23712 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(),
23748 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(),
27430 unsigned Factor = std::min(512/VT.getSizeInBits(),
27586 unsigned Factor = std::min(512/VT.getSizeInBits(),
28128 unsigned NewEltWidth = std::min(128 / VT.getVectorNumElements(), 32U);
31459 Width = std::min(Width, Size);
31701 unsigned Tmp = std::min(Tmp0, Tmp1);
31742 return std::min(Tmp0, Tmp1);
31749 return std::min(Tmp0, Tmp1);
31794 Tmp0 = std::min(Tmp0, Tmp1);
37816 unsigned MinSignBits = std::min(SignBits[0], SignBits[1]);
41143 unsigned NumPackedSignBits = std::min<unsigned>(SVT.getSizeInBits(), 16);
lib/Target/X86/X86InstrInfo.cpp 5030 std::min(Alignment, Subtarget.getFrameLowering()->getStackAlignment());
lib/Target/X86/X86MCInstLower.cpp 1058 unsigned NumPrefixes = std::min(NumBytes - NopSize, 5U);
lib/Transforms/IPO/PartialInlining.cpp 1421 CalleeEntryCountV -= std::min(CalleeEntryCountV, CallSiteCount);
lib/Transforms/IPO/WholeProgramDevirt.cpp 1454 if (std::min(TotalPaddingBefore, TotalPaddingAfter) > 128)
lib/Transforms/InstCombine/InstCombineCalls.cpp 4260 Call.getContext(), std::min(Len, Op1C->getZExtValue() + 1)));
4476 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs);
lib/Transforms/InstCombine/InstCombineCasts.cpp 803 std::min(ShiftAmt, ASize - 1)));
805 Value *Shift = Builder.CreateAShr(A, std::min(ShiftAmt, ASize - 1));
1710 int ActualSize = std::min(InputSize, OutputSize);
lib/Transforms/InstCombine/InstCombinePHI.cpp 580 LoadAlignment = std::min(LoadAlignment, MaybeAlign(LI->getAlignment()));
lib/Transforms/InstCombine/InstCombineShifts.cpp 1063 unsigned NewShAmt = std::min(ShAmt, SrcTyBitWidth - 1);
1217 AmtSum = std::min(AmtSum, BitWidth - 1);
1226 ShAmt = std::min(ShAmt, SrcTy->getScalarSizeInBits() - 1);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 560 BitWidth, std::min(SignBits + ShiftAmt - 1, BitWidth)));
595 Known.Zero.setHighBits(std::min(
lib/Transforms/InstCombine/InstructionCombining.cpp 2615 LeadingKnownZeros = std::min(
2617 LeadingKnownOnes = std::min(
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2274 MinRZ, std::min(kMaxGlobalRedzone, (SizeInBytes / MinRZ / 4) * MinRZ));
2799 std::min<size_t>(sizeof(uint64_t), ASan.LongSize / 8);
3048 Desc.Line = std::min(Desc.Line ? Desc.Line : Line, Line);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1300 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize);
lib/Transforms/Instrumentation/InstrProfiling.cpp 359 std::min(MaxProm, std::max(MaxPromForTarget, PendingCandsInTarget) -
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1638 unsigned CopyAlign = std::min(ArgAlign, kShadowTLSAlignment);
3319 unsigned Alignment = std::min(ParamAlignment, kShadowTLSAlignment);
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 249 TrailingOnes = std::min(TrailingOnes,
251 Alignment = std::min(1u << TrailingOnes, +Value::MaximumAlignment);
lib/Transforms/Scalar/DeadStoreElimination.cpp 448 LaterIntStart = std::min(LaterIntStart, ILI->second);
lib/Transforms/Scalar/GVNHoist.cpp 892 ReplacementLoad->setAlignment(MaybeAlign(std::min(
897 MaybeAlign(std::min(ReplacementStore->getAlignment(),
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1151 unsigned Align = std::min(SI->getAlignment(), LI->getAlignment());
lib/Transforms/Scalar/LoopStrengthReduce.cpp 292 UsedByIndices.resize(std::min(UsedByIndices.size(), LastLUIdx));
1299 C.SetupCost = std::min<unsigned>(C.SetupCost, 1 << 16);
4925 int NumReqRegsToFind = std::min(F.getNumRegs(), ReqRegs.size());
lib/Transforms/Scalar/LoopUnrollPass.cpp 714 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,
lib/Transforms/Scalar/NewGVN.cpp 213 Root[I] = std::min(Root.lookup(I), Root.lookup(Op));
lib/Transforms/Scalar/SROA.cpp 935 uint64_t Size = std::min(AllocSize - Offset.getLimitedValue(),
1822 std::min(S.endOffset(), P.endOffset()) - P.beginOffset();
2364 NewEndOffset = std::min(EndOffset, NewAllocaEndOffset);
3123 LI->setAlignment(MaybeAlign(std::min(LoadAlign, getSliceAlign())));
3132 SI->setAlignment(MaybeAlign(std::min(StoreAlign, getSliceAlign())));
4340 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte);
4376 Size = std::min(Size, AbsEnd - Start);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 2513 CostMultiplier = std::min(SiblingsMultiplier * (1 << ClonesPower),
lib/Transforms/Utils/InlineFunction.cpp 1489 std::min(CallSiteCount.hasValue() ? CallSiteCount.getValue() : 0,
1942 ChildTCK = std::min(CallSiteTailKind, ChildTCK);
lib/Transforms/Utils/Local.cpp 1194 TrailZ = std::min(TrailZ, unsigned(sizeof(unsigned) * CHAR_BIT - 1));
1196 unsigned Align = 1u << std::min(Known.getBitWidth() - 1, TrailZ);
1199 Align = std::min(Align, +Value::MaximumAlignment);
lib/Transforms/Utils/LoopUnrollPeel.cpp 321 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1);
327 DesiredPeelCount = std::min(DesiredPeelCount, MaxPeelCount);
lib/Transforms/Utils/LowerMemIntrinsics.cpp 97 SrcAlign = std::min(SrcAlign, LoopOpSize);
98 DestAlign = std::min(DestAlign, LoopOpSize);
lib/Transforms/Utils/SimplifyCFG.cpp 3094 SI->setAlignment(Align(std::min(MaxAlignment, TypeAlignment)));
5595 Shift = std::min(Shift, countTrailingZeros((uint64_t)V));
lib/Transforms/Utils/SimplifyLibCalls.cpp 245 DerefMin = std::min(X->getZExtValue(), Y->getZExtValue());
444 std::min(Len1, Len2)),
517 Len2 = std::min(Len2, Length);
524 Len1 = std::min(Len1, Length);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 860 unsigned Len = std::min<unsigned>(CE - CI, 64);
lib/Transforms/Vectorize/LoopVectorize.cpp 4954 WidestRegister = std::min(WidestRegister, MaxSafeRegisterWidth);
5114 MinWidth = std::min(MinWidth,
5198 IC = std::min(IC, TmpIC);
5216 MaxInterleaveCount = std::min(*BestKnownTC / VF, MaxInterleaveCount);
5253 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost));
5268 SmallIC = std::min(SmallIC, F);
5269 StoresIC = std::min(StoresIC, F);
5270 LoadsIC = std::min(LoadsIC, F);
5375 std::min(TTI.getRegisterBitWidth(true), MaxSafeDepDist);
6309 return std::min(CallCost, getVectorIntrinsicCost(CI, VF));
lib/Transforms/Vectorize/SLPVectorizer.cpp 5599 MinCost = std::min(MinCost, Cost);
7041 auto Len = std::min<unsigned>(BE - BI, MaxElts);
7126 unsigned Len = std::min<unsigned>(CE - CI, 16);
tools/bugpoint/CrashDebugger.cpp 838 unsigned NumPrint = std::min<size_t>(NamedMDs.size(), 10);
tools/clang/include/clang/AST/TypeLoc.h 564 BuiltinRange.setBegin(std::min(Range.getBegin(), BuiltinRange.getBegin()));
tools/clang/lib/AST/ASTContext.cpp 1686 Align = std::min(Align, FieldAlign);
tools/clang/lib/AST/ASTDiagnostic.cpp 1316 unsigned FromParamIndex = std::min(TotalArgs, ParamsFrom->size() - 1);
1317 unsigned ToParamIndex = std::min(TotalArgs, ParamsTo->size() - 1);
tools/clang/lib/AST/DeclarationName.cpp 73 for (unsigned I = 0, N = std::min(LN, RN); I != N; ++I) {
tools/clang/lib/AST/ExprConstant.cpp 2973 std::min(S->getLength(), Elts), Elts);
2992 NewElts = std::min(Size, std::max(NewElts, 8u));
3454 unsigned I = 0, N = std::min(A.Entries.size(), B.Entries.size());
tools/clang/lib/AST/Interp/State.cpp 97 CallStackNotes = std::min(CallStackNotes, Limit + 1);
tools/clang/lib/AST/MicrosoftMangle.cpp 3522 unsigned NumBytesToMangle = std::min(MaxBytesToMangle, StringByteLength);
tools/clang/lib/AST/RawCommentList.cpp 415 : std::min<size_t>(
tools/clang/lib/AST/RecordLayoutBuilder.cpp 992 BaseAlign = std::min(BaseAlign, MaxFieldAlignment);
993 UnpackedBaseAlign = std::min(UnpackedBaseAlign, MaxFieldAlignment);
1218 BaseAlign = std::min(BaseAlign, MaxFieldAlignment);
1219 UnpackedBaseAlign = std::min(UnpackedBaseAlign, MaxFieldAlignment);
1591 UnpackedFieldAlign = std::min(UnpackedFieldAlign, MaxFieldAlignmentInBits);
1595 FieldAlign = std::min(FieldAlign, MaxFieldAlignmentInBits);
1846 FieldAlign = std::min(FieldAlign, MaxFieldAlignment);
1847 UnpackedFieldAlign = std::min(UnpackedFieldAlign, MaxFieldAlignment);
2422 Info.Alignment = std::min(Info.Alignment, MaxFieldAlignment);
2468 Info.Alignment = std::min(Info.Alignment, MaxFieldAlignment);
2499 RoundingAlignment = std::min(RoundingAlignment, MaxFieldAlignment);
2559 PointerInfo.Alignment = std::min(PointerInfo.Alignment, MaxFieldAlignment);
2853 VtorDispAlignment = std::min(VtorDispAlignment, MaxFieldAlignment);
2912 RoundingAlignment = std::min(RoundingAlignment, MaxFieldAlignment);
tools/clang/lib/Analysis/CloneDetection.cpp 234 std::min(sizeof(HashCode), sizeof(HashResult)));
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp 408 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(),
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp 748 unsigned Sz = std::min(ESz, MSz);
tools/clang/lib/Basic/FixedPoint.cpp 36 std::min(DstScale + DstSema.getIntegralBits(), NewVal.getBitWidth()));
tools/clang/lib/Basic/Targets/OSTargets.cpp 115 Str[2] = '0' + std::min(Min, 9U);
116 Str[3] = '0' + std::min(Rev, 9U);
tools/clang/lib/Basic/Targets/WebAssembly.cpp 141 SIMDLevel = std::min(SIMDLevel, SIMDEnum(SIMD128 - 1));
149 SIMDLevel = std::min(SIMDLevel, SIMDEnum(UnimplementedSIMD128 - 1));
tools/clang/lib/CodeGen/CGAtomic.cpp 1344 std::min(AtomicSizeInBits, SourceSizeInBits) / 8);
tools/clang/lib/CodeGen/CGBuiltin.cpp 45 return std::min(High, std::max(Low, Value));
8071 Ops[0], ConstantInt::get(Int64Ty, std::min(static_cast<uint64_t>(63),
8087 Ops[1], ConstantInt::get(Int64Ty, std::min(static_cast<uint64_t>(63),
10731 unsigned MinElts = std::min(Ops[0]->getType()->getVectorNumElements(),
10839 unsigned MinElts = std::min(Ops[2]->getType()->getVectorNumElements(),
tools/clang/lib/CodeGen/CGCall.cpp 2409 unsigned Alignment = std::min((unsigned)AlignmentCI->getZExtValue(),
tools/clang/lib/CodeGen/CGClass.cpp 76 return std::min(actualBaseAlign, expectedTargetAlign);
106 return std::min(actualBaseAlign, expectedTargetAlign);
tools/clang/lib/CodeGen/CGExpr.cpp 4268 Address result(phi, std::min(lhs->getAlignment(), rhs->getAlignment()));
tools/clang/lib/CodeGen/CGExprCXX.cpp 1633 unsigned AllocatorAlign = llvm::PowerOf2Floor(std::min<uint64_t>(
tools/clang/lib/CodeGen/CGExprConstant.cpp 195 std::min((uint64_t)Bits.getBitWidth(), CharWidth - OffsetWithinChar);
1187 unsigned NumInitableElts = std::min(NumInitElements, NumElements);
tools/clang/lib/CodeGen/CGObjCMac.cpp 5295 unsigned claimed = std::min(MaxNibble - lastSkip, numWords);
5320 unsigned claimed = std::min(MaxNibble - lastScan, numWords);
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 138 return getIntNType(std::min(FD->getBitWidthValue(Context),
528 ScissorOffset = std::min(ScissorOffset,
tools/clang/lib/CodeGen/CGVTables.cpp 1055 TypeVis = std::min(TypeVis,
1060 TypeVis = std::min(TypeVis,
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 281 std::min(FileLineRanges[R.FileID].first, R.LineStart);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 515 CharUnits localEnd = std::min(end, chunkEnd);
tools/clang/lib/CodeGen/TargetInfo.cpp 381 CharUnits Align = std::min(Addr1.getAlignment(), Addr2.getAlignment());
3240 std::min(TySizeInBytes-SourceOffset, 8U)*8);
5946 ABIAlign = std::min(std::max(TyAlign, (uint64_t)4), (uint64_t)8);
6320 TyAlignForABI = std::min(TyAlignForABI, CharUnits::fromQuantity(8));
6324 TyAlignForABI = std::min(TyAlignForABI, CharUnits::fromQuantity(16));
6404 const unsigned Div = std::min<unsigned>(MaxSize, Alignment);
7112 Align = std::min(std::max(Align, (uint64_t)MinABIStackAlignInBytes),
7269 std::min(TyInfo.second, CharUnits::fromQuantity(StackAlignInBytes));
7857 NumRegsLeft -= std::min(NumRegsLeft, NumRegs);
7883 NumRegsLeft -= std::min(NumRegs, NumRegsLeft);
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 1138 return Value ? llvm::Log2_32_Ceil(std::min(Value, 65536u)) : Value;
tools/clang/lib/Format/BreakableToken.cpp 425 std::min<int>(IndentAtLineBreak, std::max(0, ContentColumn[i]));
tools/clang/lib/Format/ContinuationIndenter.cpp 843 std::max(1u, std::min(Current.NewlinesBefore, MaxEmptyLinesToKeep));
1117 std::min(State.LowestLevelOnLine, Current.NestingLevel);
1326 std::min(State.Column, State.Stack.back().NestedBlockIndent);
tools/clang/lib/Format/FormatToken.cpp 259 MinSizeInColumn[Column] = std::min(MinSizeInColumn[Column], Length);
tools/clang/lib/Format/UnwrappedLineFormatter.cpp 1134 RangeMinLevel = std::min(RangeMinLevel, TheLine.Level);
1183 unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u);
1190 std::min(RootToken.NewlinesBefore, Style.MaxEmptyLinesToKeep + 1);
1197 Newlines = std::min(Newlines, 1u);
1200 Newlines = std::min(Newlines, 1u);
1221 Newlines = std::min(1u, Newlines);
tools/clang/lib/Format/UsingDeclarationsSorter.cpp 42 for (size_t I = 0, E = std::min(SizeA, SizeB); I < E; ++I) {
tools/clang/lib/Format/WhitespaceManager.cpp 424 MaxColumn = std::min(MaxColumn, ChangeMaxColumn);
548 MaxColumn = std::min(MaxColumn, ChangeMaxColumn);
681 MaxColumn = std::min(MaxColumn, ChangeMaxColumn);
tools/clang/lib/Frontend/InitPreprocessor.cpp 660 "1" + Twine(std::min(8U, version.getMinor().getValueOr(0))));
tools/clang/lib/Frontend/TextDiagnostic.cpp 371 CaretStart = std::min(FixItStartCol, CaretStart);
396 unsigned SourceStart = map.columnToByte(std::min<unsigned>(CaretStart,
398 unsigned SourceEnd = map.columnToByte(std::min<unsigned>(CaretEnd,
617 const unsigned Length = std::min(Str.find('\n'), Str.size());
960 unsigned Min = std::min(A.first, B.first);
977 A.second = std::min(A.second + (Slack + 1) / 2, Max);
980 A.second = std::min(A.first + MaxRange - 1, Max);
tools/clang/lib/Lex/LiteralSupport.cpp 1043 unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin);
1750 End = Err + std::min<unsigned>(llvm::getNumBytesForUTF8(*Err), End-Err);
tools/clang/lib/Sema/SemaChecking.cpp 8789 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
8852 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
10149 return IntRange(std::min(L.Width, R.Width),
10235 std::min(MaxWidth, OutputTypeRange.Width),
10370 L.Width = std::min(L.Width - log2, MaxWidth);
10388 meet.Width = std::min(meet.Width, MaxWidth);
14764 Alignment = std::min(
tools/clang/lib/Sema/SemaCodeComplete.cpp 7691 std::min(IndexedGetterPriority, UnorderedGetterPriority),
tools/clang/lib/Sema/SemaDeclObjC.cpp 4481 for (unsigned i = 0, n = std::min(numParams, numPrevParams); i != n; ++i) {
tools/clang/lib/Sema/SemaInit.cpp 986 return std::min(InitializableMembers, 1);
6885 N = std::min<unsigned>(Callee->getNumParams(), Args.size());
tools/clang/lib/Sema/SemaLookup.cpp 2332 SubobjectAccess = std::min(SubobjectAccess, Path->Access);
tools/clang/lib/Sema/SemaOpenMP.cpp 1531 for (const_iterator I = begin() + std::min(Skip, getStackSize()), E = end();
tools/clang/lib/Sema/SemaOverload.cpp 6417 unsigned ArgSizeNoVarargs = std::min(Function->param_size(), Args.size());
6976 for (unsigned I = 0, N = std::min(ParamTypes.size(), Args.size()); I != N;
tools/clang/lib/Sema/SemaStmt.cpp 1237 for (size_t I = 0, E = std::min(UnhandledNames.size(), (size_t)3);
tools/clang/lib/Sema/SemaTemplateVariadic.cpp 373 for (size_t I = 0, E = std::min(Names.size(), (size_t)2); I != E; ++I)
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 890 for (unsigned i = 0, ei = std::min(static_cast<unsigned>(formals.size()),
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 51 std::min(static_cast<char>(Lhs), static_cast<char>(Rhs)));
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 274 long long CurAlignmentBits = 1ull << (std::min)(TrailingZeros, 62u);
tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp 127 G.reserve(std::min(Steps,PreReservationCap));
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 869 while (std::min(Max1 = L1.peekMax(), Max2 = L2.peekMax()) >
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp 253 NextLineOffset = std::min(Code.size(), Offset + Line.size() + 1);
260 Offset, std::min(Line.size() + 1, Code.size() - Offset))),
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 70 size_t Limit = std::min(L.size(), R.size());
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp 107 Symbol.Signals.Seen = std::min(Symbol.Signals.Seen, 1u);
108 Symbol.Signals.Used = std::min(Symbol.Signals.Used, 1u);
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 253 unsigned NumArgs = std::min<unsigned>(Args.size(), Callee->getNumParams());
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.h 259 CurrentLevel = std::min(Level, CurrentLevel);
tools/clang/tools/extra/clangd/AST.cpp 224 auto MinLength = std::min(CurrentParts.size(), OriginalParts.size());
tools/clang/tools/extra/clangd/FuzzyMatch.cpp 77 : PatN(std::min<int>(MaxPat, Pattern.size())),
103 ScoreScale * std::min(PerfectBonus * PatN, std::max<int>(0, Best));
182 WordN = std::min<int>(MaxWord, NewWord.size());
tools/clang/tools/extra/clangd/Quality.cpp 314 Scope = std::min(Scope, computeScope(SemaCCResult.Declaration));
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp 436 return std::min(NextNew, NextOld);
tools/clang/tools/extra/clangd/SourceCode.cpp 188 Offset = std::min(Code.size(), Offset);
598 Offset = std::min(Code.size(), Offset);
tools/clang/tools/extra/clangd/index/dex/Iterator.cpp 174 Result = std::min(Result, Child->peek());
231 Index = std::min(ID, Size);
335 return std::min(Child->estimateSize(), Limit);
tools/clang/unittests/Sema/CodeCompleteTest.cpp 93 Offset = std::min(Code.size(), Offset);
tools/dsymutil/CompileUnit.cpp 106 this->LowPc = std::min(LowPc, FuncLowPc + PcOffset);
tools/dsymutil/DwarfLinker.h 72 MinDwarfVersion = std::min(MinDwarfVersion, Version);
tools/dsymutil/dsymutil.cpp 528 std::min<unsigned>(Options.LinkOpts.Threads, DebugMapPtrsOrErr->size());
tools/lld/COFF/Chunks.cpp 648 setAlignment(std::min(32U, uint32_t(PowerOf2Ceil(sym.getValue()))));
tools/lld/COFF/Writer.cpp 326 std::min(name.size(), (size_t)COFF::NameSize));
tools/lld/ELF/Arch/PPC64.cpp 124 uint64_t index = std::min<uint64_t>(offset / 8, relas.size() - 1);
tools/lld/ELF/InputFiles.cpp 1147 ret = std::min<uint64_t>(ret, sections[sym.st_shndx].sh_addralign);
tools/lld/ELF/LinkerScript.cpp 1036 min = std::min<uint64_t>(min, sec->addr);
tools/lld/ELF/ScriptParser.cpp 1243 return [=] { return std::min(a().getValue(), b().getValue()); };
tools/lld/ELF/Symbols.cpp 350 return std::min(va, vb);
tools/lld/ELF/SyntheticSections.cpp 2646 std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
3089 std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
tools/lld/ELF/Writer.cpp 1234 priority = std::min(priority, ent.priority);
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp 333 unsigned entriesInPage = std::min(1021U, (unsigned)remainingInfos.size());
tools/lldb/include/lldb/Core/FormatEntity.h 152 for (size_t i = 0; i < std::min<size_t>(n, m); ++i) {
tools/lldb/include/lldb/Utility/RangeMap.h 55 base = std::min<BaseType>(base, rhs.base);
tools/lldb/source/API/SBFileSpec.cpp 110 return std::min(dst_len - 1, result.size());
tools/lldb/source/Breakpoint/BreakpointResolver.cpp 220 closest_line = std::min(closest_line, sc.line_entry.line);
tools/lldb/source/Breakpoint/BreakpointSite.cpp 180 std::min<lldb::addr_t>(bp_end_addr, end_addr) - addr;
188 std::min<lldb::addr_t>(bp_end_addr, end_addr) - m_addr;
tools/lldb/source/Core/Communication.cpp 259 const size_t len = std::min<size_t>(dst_len, m_bytes.size());
tools/lldb/source/Core/IOHandler.cpp 1484 size_t pos = std::min<size_t>(lower_pos, upper_pos);
tools/lldb/source/Core/ValueObject.cpp 847 size_t bytes_read = std::min<uint64_t>(*max_bytes - offset, bytes);
tools/lldb/source/Host/common/Editline.cpp 903 size_t next_size = all ? remaining : std::min(page_size, remaining);
tools/lldb/source/Host/common/NativeProcessProtocol.cpp 661 std::min(saved_opcodes.size(), bp_data.size()),
684 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left);
tools/lldb/source/Host/common/TaskPool.cpp 105 const size_t num_workers = std::min<size_t>(end, GetHardwareConcurrencyHint());
tools/lldb/source/Interpreter/CommandHistory.cpp 101 stop_idx = std::min(stop_idx + 1, m_history.size());
tools/lldb/source/Interpreter/CommandInterpreter.cpp 2514 this_line = this_line.substr(0, std::min(first_newline, last_space));
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp 2192 const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp 2165 const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 850 uint32_t n = std::min(reg.Avail(), size);
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp 214 const size_t steps_to_run = std::min(count, m_count);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 1713 std::min(section_min_file_offset, segment_min_file_offset);
4335 symbol_byte_size = std::min<lldb::addr_t>(
4538 symbol_byte_size = std::min<lldb::addr_t>(
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 131 const uint32_t loop_count = std::min<uint32_t>(DEBUG_PTRACE_MAXBYTES, count);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp 389 size_t chunk_size = std::min(part.size(), bytes_left);
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp 222 composite_offset = std::min(composite_offset,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 3028 std::min<uint64_t>(dst_len, buffer.size());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 110 data.data(), std::min(data.size(), reg_byte_size));
202 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize()));
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp 587 std::min(size - bytes_read, (size_t)bytes_left);
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp 409 const size_t overlap = std::min(size, range->range_ref.size() - offset);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp 1319 addr_t range_size = std::min<addr_t>(exe_byte_size, oso_byte_size);
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp 892 uint32_t max_op_byte_size = std::min(buffer_remaining_bytes, m_arch.GetMaximumOpcodeByteSize());
tools/lldb/source/Symbol/LineTable.cpp 490 std::min<lldb::addr_t>(entry.file_addr,
512 std::min<lldb::addr_t>(entry.file_addr,
tools/lldb/source/Symbol/Symtab.cpp 451 const uint32_t count = std::min<uint32_t>(m_symbols.size(), end_index);
469 const uint32_t count = std::min<uint32_t>(m_symbols.size(), end_index);
491 const uint32_t count = std::min<uint32_t>(m_symbols.size(), end_index);
tools/lldb/source/Target/Platform.cpp 1651 const auto to_read = std::min(static_cast<uint64_t>(buffer.size()),
tools/lldb/source/Target/Process.cpp 2008 std::min<addr_t>(bytes_left, cache_line_bytes_left);
2056 std::min<addr_t>(bytes_left, cache_line_bytes_left);
4543 return std::min<microseconds>(default_one_thread_timeout,
tools/lldb/source/Target/Target.cpp 1847 std::min<addr_t>(bytes_left, cache_line_bytes_left);
tools/lldb/source/Utility/DataExtractor.cpp 1108 max_data = std::min(max_data, GetByteSize());
tools/lldb/source/Utility/FileSpec.cpp 378 return std::min(path_max_len - 1, result.length());
tools/lldb/source/Utility/StringList.cpp 109 for (count = 0; count < std::min(prefix.size(), arg.size()); ++count) {
tools/lldb/tools/lldb-vscode/VSCode.cpp 227 std::min<int>(actual_length, sizeof(buffer))));
tools/lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h 129 Size = std::min(Size, Data.size() - (size_t)Addr);
139 size_t Size = std::min(Chunk.size(), Data.size() - (size_t)Addr);
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 75 std::min<size_t>(Lines.size() + 1, LineInfo.Line + Context + 1);
tools/llvm-cov/CodeCoverage.cpp 947 std::max(1U, std::min(llvm::heavyweight_hardware_concurrency(),
tools/llvm-cov/CoverageExporterJson.cpp 157 NumThreads = std::max(1U, std::min(llvm::heavyweight_hardware_concurrency(),
tools/llvm-cov/CoverageReport.cpp 360 std::max(1U, std::min(llvm::heavyweight_hardware_concurrency(),
tools/llvm-cov/SourceCoverageViewText.cpp 115 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1);
168 Str = Str.substr(0, std::min(Str.size(), (size_t)LineNumberColumnWidth));
tools/llvm-dwarfdump/Statistics.cpp 310 GlobalStats.ScopeBytesCovered += std::min(BytesInScope, BytesCovered);
315 std::min(BytesInScope, BytesCovered);
319 GlobalStats.VarScopeBytesCovered += std::min(BytesInScope, BytesCovered);
tools/llvm-exegesis/lib/BenchmarkResult.cpp 422 MinValue = std::min(MinValue, BM.PerInstructionValue);
tools/llvm-lipo/llvm-lipo.cpp 131 P2MinAlignment = std::min(P2MinAlignment, P2CurrentAlignment);
136 std::min(P2MinAlignment, static_cast<uint32_t>(
tools/llvm-mca/llvm-mca.cpp 552 *STI, *IP, Insts, std::min(TimelineIterations, S.getNumIterations()),
tools/llvm-objcopy/ELF/Object.cpp 314 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize);
329 DataSize = std::min(DataSize, 0x10000U - SegOffset);
tools/llvm-objdump/MachODump.cpp 7567 uint64_t End = containsNextSym ? std::min(NextSym, SectSize) : SectSize;
9258 uint32_t len = std::min(NullPos, left) + 1;
tools/llvm-objdump/llvm-objdump.cpp 1296 uint64_t End = std::min<uint64_t>(SectionAddr + SectSize, StopAddress);
1298 End = std::min(End, std::get<0>(Symbols[SI + 1]));
1322 const auto Limit = End - (std::min)(EndAlign, End - Start);
tools/llvm-pdbutil/DumpOutputStyle.cpp 920 uint32_t RowColumns = std::min(ItemsLeft, ColumnsPerRow);
tools/llvm-pdbutil/FormatUtil.cpp 26 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3);
36 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3);
tools/llvm-pdbutil/LinePrinter.cpp 156 uint32_t Used = std::min(BlockSize, StreamBytesRemaining);
197 (Size == 0) ? S->getLength() : std::min(Offset + Size, S->getLength());
229 Len = std::min(Len, Reader.bytesRemaining());
255 uint32_t UsedBytes = std::min(L, File.getBlockSize());
tools/llvm-profdata/llvm-profdata.cpp 311 std::min(hardware_concurrency(), unsigned((Inputs.size() + 1) / 2));
tools/llvm-xray/xray-account.cpp 129 MM = std::make_pair(std::min(MM.first, V), std::max(MM.second, V));
132 template <class T> T diff(T L, T R) { return std::max(L, R) - std::min(L, R); }
326 std::min(AccountTop.getValue(), static_cast<int>(Results.size()));
tools/llvm-xray/xray-color-helper.cpp 113 double n = std::max(std::min(B, 1.0), 0.0);
198 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)];
tools/llvm-xray/xray-graph-diff.cpp 279 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff));
300 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff));
tools/llvm-xray/xray-graph.cpp 161 template <class T> T diff(T L, T R) { return std::max(L, R) - std::min(L, R); }
tools/llvm-xray/xray-stacks.cpp 433 std::max(E.second, R.TSC) - std::min(E.second, R.TSC));
437 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC));
440 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC));
tools/polly/include/polly/Support/ScopHelper.h 199 return std::min(asMemTransferInst()->getDestAlignment(),
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 128 Begin = Begin ? std::min(Begin, DL) : DL;
tools/polly/lib/Analysis/ScopInfo.cpp 323 int SharedDims = std::min(NewSizes.size(), DimensionSizes.size());
tools/polly/lib/Support/ISLTools.cpp 583 unsigned Len = std::min(ALen, BLen);
tools/polly/lib/Support/ScopLocation.cpp 39 LineBegin = std::min(LineBegin, NewLine);
tools/polly/lib/Transform/ScheduleOptimizer.cpp 570 auto MinDim = std::min(DstPos, SrcPos);
unittests/Support/AlignmentTest.cpp 257 EXPECT_EQ(std::min(A, B), A);
280 EXPECT_EQ(std::min(A, B), A);
unittests/Support/VirtualFileSystemTest.cpp 765 unsigned LastElt = std::min(InputToCheck.size(), Expected.size());
usr/include/c++/7.4.0/bits/basic_string.h 2837 const size_type __len = std::min(__size, __osize);
usr/include/c++/7.4.0/bits/deque.tcc 996 = std::min(__len, std::min(__first._M_last - __first._M_cur,
996 = std::min(__len, std::min(__first._M_last - __first._M_cur,
1059 = std::min(__len, std::min(__first._M_last - __first._M_cur,
1059 = std::min(__len, std::min(__first._M_last - __first._M_cur,
1098 const difference_type __clen = std::min(__len,
1099 std::min(__llen, __rlen));
usr/include/c++/7.4.0/bits/fstream.tcc 396 __ilen = std::min(__avail, __buflen);
742 const streamsize __limit = std::min(__chunk, __bufavail);
usr/include/c++/7.4.0/bits/hashtable_policy.h 562 const auto __max_width = std::min<size_t>(sizeof(size_t), 8);
usr/include/c++/7.4.0/bits/istream.tcc 699 _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n));
usr/include/c++/7.4.0/bits/locale_conv.h 426 const streamsize __npb = std::min(__pb1, __pb2);
432 __nbytes = std::min(__nbytes, _M_buf->in_avail());
usr/include/c++/7.4.0/bits/random.tcc 1256 _M_d = std::round(std::max<double>(6.0, std::min(__m, __dx)));
3318 = std::min(static_cast<size_t>(std::numeric_limits<_RealType>::digits),
usr/include/c++/7.4.0/bits/stl_algo.h 2680 __step_size = std::min(_Distance(__last - __first), __step_size);
usr/include/c++/7.4.0/bits/stl_algobase.h 919 if (const size_t __len = std::min(__len1, __len2))
usr/include/c++/7.4.0/bits/streambuf.tcc 55 const streamsize __len = std::min(__buf_len, __remaining);
89 const streamsize __len = std::min(__buf_len, __remaining);
usr/include/c++/7.4.0/bitset 1387 const size_t __nbits = std::min(_Nb, std::min(__n, size_t(__len - __pos)));
1387 const size_t __nbits = std::min(_Nb, std::min(__n, size_t(__len - __pos)));
utils/TableGen/AsmWriterEmitter.cpp 395 unsigned TableSize = std::min(1 << Log2_32(BytesNeeded), 4);
utils/TableGen/CodeGenDAGPatterns.cpp 2438 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs,
4129 for (unsigned i = 0, e = std::min(Result.getOnlyTree()->getNumTypes(),
utils/TableGen/CodeGenRegisters.cpp 633 Length = std::min(Length, unsigned(Lists[i].size()));
utils/TableGen/RegisterInfoEmitter.cpp 939 unsigned Scale = std::min(ScaleB, ScaleA);
utils/benchmark/src/benchmark.cc 266 multiplier = is_significant ? multiplier : std::min(10.0, multiplier);
utils/unittest/googletest/src/gtest.cc 1219 const size_t prefix_context = std::min(l_i, context);