| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | Types.cpp | 39 uint64_t MaxIndex = Size; in getMinimalTypeForEnumBitfield() local 40 if (MaxIndex > 0) in getMinimalTypeForEnumBitfield() 41 MaxIndex--; in getMinimalTypeForEnumBitfield() 42 assert(MaxIndex <= 64 && "Too many bits"); in getMinimalTypeForEnumBitfield() 43 return getMinimalTypeForRange(1ULL << MaxIndex); in getMinimalTypeForEnumBitfield()
|
| H A D | CodeGenSchedule.cpp | 272 int64_t MaxIndex = *std::max_element(Indices.begin(), Indices.end()); in constructOperandMask() local 273 assert(MaxIndex >= 0 && "Invalid negative indices in input!"); in constructOperandMask() 274 OperandMask = OperandMask.zext(MaxIndex + 1); in constructOperandMask()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
| H A D | inline19.C | 16 int MaxIndex() const { return 10; } in MaxIndex() function 22 new TBtItem[MaxIndex()+1]; in TBtInnerNode()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | MisExpect.cpp | 132 size_t MaxIndex = 0; in verifyMisExpect() local 137 MaxIndex = Idx; in verifyMisExpect() 144 const uint64_t ProfiledWeight = RealWeights[MaxIndex]; in verifyMisExpect()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-xray/ |
| H A D | xray-color-helper.cpp | 191 size_t MaxIndex = ColorMap.size() - 1; in getColorTuple() local 194 double SectionWidth = IntervalWidth / static_cast<double>(MaxIndex); in getColorTuple() 199 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)]; in getColorTuple()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1179 unsigned MaxIndex = Attrs.back().first; in get() local 1182 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get() 1183 MaxIndex = Attrs[Attrs.size() - 2].first; in get() 1185 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get() 1365 unsigned MaxIndex = attrIdxToArrayIdx(ArgNos.back() + FirstArgIndex); in addParamAttribute() local 1366 if (MaxIndex >= AttrSets.size()) in addParamAttribute() 1367 AttrSets.resize(MaxIndex + 1); in addParamAttribute()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 1547 unsigned MaxIndex; member 1562 if (Val.Tgt <= Id && Id <= Val.Tgt + Val.MaxIndex) { in getTgtName() 1563 Index = (Val.MaxIndex == 0) ? -1 : (Id - Val.Tgt); in getTgtName() 1574 if (Val.MaxIndex == 0 && Name == Val.Name) in getTgtId() 1577 if (Val.MaxIndex > 0 && Name.startswith(Val.Name)) { in getTgtId() 1581 if (Suffix.getAsInteger(10, Id) || Id > Val.MaxIndex) in getTgtId()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Interp.h | 1058 unsigned MaxIndex = Ptr.getNumElems(); in OffsetHelper() local 1069 << static_cast<unsigned>(MaxIndex); in OffsetHelper() 1073 unsigned MaxOffset = MaxIndex - Ptr.getIndex(); in OffsetHelper()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | riscv_vector.td | 2335 unsigned MaxIndex = OpVecTy->getMinNumElements() / VecTy->getMinNumElements(); 2336 assert(isPowerOf2_32(MaxIndex)); 2338 Ops[1] = Builder.CreateAnd(Ops[1], MaxIndex - 1); 2360 unsigned MaxIndex = ResVecTy->getMinNumElements() / VecTy->getMinNumElements(); 2361 assert(isPowerOf2_32(MaxIndex)); 2363 Ops[1] = Builder.CreateAnd(Ops[1], MaxIndex - 1);
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 16309 const int64_t MaxIndex = 12; in EmitPPCBuiltinExpr() local 16310 int64_t Index = std::clamp(ArgCI->getSExtValue(), (int64_t)0, MaxIndex); in EmitPPCBuiltinExpr() 16329 Index = MaxIndex - Index; in EmitPPCBuiltinExpr() 16351 const int64_t MaxIndex = 12; in EmitPPCBuiltinExpr() local 16352 int64_t Index = std::clamp(ArgCI->getSExtValue(), (int64_t)0, MaxIndex); in EmitPPCBuiltinExpr() 16356 Index = MaxIndex - Index; in EmitPPCBuiltinExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 4608 unsigned MaxIndex = in CheckRISCVBuiltinFunctionCall() local 4611 return SemaBuiltinConstantArgRange(TheCall, 1, 0, MaxIndex - 1); in CheckRISCVBuiltinFunctionCall() 4620 unsigned MaxIndex = in CheckRISCVBuiltinFunctionCall() local 4623 return SemaBuiltinConstantArgRange(TheCall, 1, 0, MaxIndex - 1); in CheckRISCVBuiltinFunctionCall()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 21482 unsigned MaxIndex = 0; in reduceBuildVecToShuffle() local 21493 MaxIndex = std::max(MaxIndex, Index); in reduceBuildVecToShuffle() 21496 NearestPow2 = PowerOf2Ceil(MaxIndex); in reduceBuildVecToShuffle() 21497 if (InVT.isSimple() && NearestPow2 > 2 && MaxIndex < NearestPow2 && in reduceBuildVecToShuffle()
|
| H A D | TargetLowering.cpp | 9380 unsigned MaxIndex = NumSubElts < NElts ? NElts - NumSubElts : 0; in clampDynamicVectorIndex() local 9382 DAG.getConstant(MaxIndex, dl, IdxVT)); in clampDynamicVectorIndex()
|