Searched refs:MaxIndex (Results 1 – 11 of 11) sorted by relevance
40 uint64_t MaxIndex = Size; in getMinimalTypeForEnumBitfield() local41 if (MaxIndex > 0) in getMinimalTypeForEnumBitfield()42 MaxIndex--; in getMinimalTypeForEnumBitfield()43 assert(MaxIndex <= 64 && "Too many bits"); in getMinimalTypeForEnumBitfield()44 return getMinimalTypeForRange(1ULL << MaxIndex); in getMinimalTypeForEnumBitfield()
191 size_t MaxIndex = ColorMap.size() - 1; in getColorTuple() local194 double SectionWidth = IntervalWidth / static_cast<double>(MaxIndex); in getColorTuple()199 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)]; in getColorTuple()
90 unsigned MaxIndex; member478 PalHeader.MaxIndex=ReadBlobLSBShort(palette); in ReadCUTImage()486 if(PalHeader.MaxIndex<1) goto ErasePalette; in ReadCUTImage()487 image->colors=PalHeader.MaxIndex+1; in ReadCUTImage()494 for(i=0;i<=(int) PalHeader.MaxIndex;i++) in ReadCUTImage()
925 unsigned MaxIndex = Attrs.back().first; in get() local928 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get()929 MaxIndex = Attrs[Attrs.size() - 2].first; in get()931 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()1089 unsigned MaxIndex = attrIdxToArrayIdx(ArgNos.back() + FirstArgIndex); in addParamAttribute() local1090 if (MaxIndex >= AttrSets.size()) in addParamAttribute()1091 AttrSets.resize(MaxIndex + 1); in addParamAttribute()
945 unsigned MaxIndex = 0; in lower() local949 MaxIndex = std::max(MaxIndex, TypeIdIndices[MI->get<Metadata *>()]); in lower()951 Sets.emplace_back(I, MaxIndex); in lower()
15 ;; 3. MaxIndex:54 ;;int MaxIndex(int n, int *a) {167 ; CHECK-LABEL: MaxIndex171 define i32 @MaxIndex(i32 %n, i32* nocapture readonly %a) #0 {
2397 uint64_t MaxIndex = Info.SubtargetFeatures.size(); in getMinimalRequiredFeaturesType() local2398 if (MaxIndex > 0) in getMinimalRequiredFeaturesType()2399 MaxIndex--; in getMinimalRequiredFeaturesType()2400 return getMinimalTypeForRange(1ULL << MaxIndex); in getMinimalRequiredFeaturesType()
290 vb[0].MaxIndex = 2; in blorp_emit_vertex_buffers()311 vb[1].MaxIndex = 0; in blorp_emit_vertex_buffers()
2379 unsigned MaxIndex = 0; in SimplifyUnreachable() local2384 (I->second.first == MaxPop && MaxIndex > I->second.second)) { in SimplifyUnreachable()2386 MaxIndex = I->second.second; in SimplifyUnreachable()
8128 uint32_t MaxIndex = MaxSize == NoSizeLimit8131 return TypeForSize[std::min(TyIndex, MaxIndex)];8141 uint32_t MaxIndex = MaxSize == NoSizeLimit8144 return TypeForSize[std::min(TyIndex, MaxIndex)];
15751 unsigned MaxIndex = 0; in reduceBuildVecToShuffle() local15763 MaxIndex = std::max(MaxIndex, Index); in reduceBuildVecToShuffle()15766 NearestPow2 = PowerOf2Ceil(MaxIndex); in reduceBuildVecToShuffle()15767 if (InVT.isSimple() && NearestPow2 > 2 && MaxIndex < NearestPow2 && in reduceBuildVecToShuffle()