Searched refs:MaxIndex (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DTypes.cpp39 uint64_t MaxIndex = Size; local
40 if (MaxIndex > 0)
41 MaxIndex--;
42 assert(MaxIndex <= 64 && "Too many bits");
43 return getMinimalTypeForRange(1ULL << MaxIndex);
H A DCodeGenSchedule.cpp274 int64_t MaxIndex = *std::max_element(Indices.begin(), Indices.end());
275 assert(MaxIndex >= 0 && "Invalid negative indices in input!");
276 OperandMask = OperandMask.zext(MaxIndex + 1);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp190 size_t MaxIndex = ColorMap.size() - 1;
193 double SectionWidth = IntervalWidth / static_cast<double>(MaxIndex);
198 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)];
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1119 unsigned MaxIndex = Attrs.back().first; local
1120 // If the MaxIndex is FunctionIndex and there are other indices in front
1122 if (MaxIndex == FunctionIndex && Attrs.size() > 1)
1123 MaxIndex = Attrs[Attrs.size() - 2].first;
1125 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1);
1294 unsigned MaxIndex = attrIdxToArrayIdx(ArgNos.back() + FirstArgIndex); local
1295 if (MaxIndex >= AttrSets.size())
1296 AttrSets.resize(MaxIndex + 1);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h740 unsigned MaxIndex = Ptr.getNumElems();
751 << static_cast<unsigned>(MaxIndex);
762 unsigned MaxOffset = MaxIndex - Ptr.getIndex();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp14423 const int64_t MaxIndex = 12;
14424 int64_t Index = clamp(ArgCI->getSExtValue(), 0, MaxIndex);
14445 Index = MaxIndex - Index;
14467 const int64_t MaxIndex = 12;
14468 int64_t Index = clamp(ArgCI->getSExtValue(), 0, MaxIndex);
14472 Index = MaxIndex - Index;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp18466 unsigned MaxIndex = 0; local
18477 MaxIndex = std::max(MaxIndex, Index);
18480 NearestPow2 = PowerOf2Ceil(MaxIndex);
18481 if (InVT.isSimple() && NearestPow2 > 2 && MaxIndex < NearestPow2 &&

Completed in 237 milliseconds