Home | History | Annotate | Download | only in Utils

Lines Matching refs:TableSize

3472                       uint64_t TableSize,
3482 /// WouldFitInRegister - Return true if a table with TableSize elements of
3485 uint64_t TableSize,
3519 uint64_t TableSize,
3527 assert(TableSize >= Values.size() && "Can't fit values in table!");
3535 SmallVector<Constant*, 64> TableContents(TableSize);
3550 if (Values.size() < TableSize) {
3554 for (uint64_t I = 0; I < TableSize; ++I) {
3571 if (WouldFitInRegister(DL, TableSize, ValueType)) {
3573 APInt TableInt(TableSize * IT->getBitWidth(), 0);
3574 for (uint64_t I = TableSize; I > 0; --I) {
3590 ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize);
3637 uint64_t TableSize,
3648 if (TableSize >= UINT_MAX/IT->getBitWidth())
3650 return DL->fitsInLegalInteger(TableSize * IT->getBitWidth());
3657 uint64_t TableSize,
3661 if (SI->getNumCases() > TableSize || TableSize >= UINT64_MAX / 10)
3662 return false; // TableSize overflowed, or mul below might overflow.
3675 SwitchLookupTable::WouldFitInRegister(DL, TableSize, Ty);
3695 return SI->getNumCases() * 10 >= TableSize * 4;
3767 uint64_t TableSize = RangeSpread.getLimitedValue() + 1;
3768 bool TableHasHoles = (NumResults < TableSize);
3783 if (!(DL && DL->fitsInLegalInteger(TableSize)))
3793 if (!ShouldBuildLookupTable(SI, TableSize, TTI, DL, ResultTypes))
3812 assert(MaxTableSize >= TableSize &&
3820 const bool GeneratingCoveredLookupTable = MaxTableSize == TableSize;
3826 MinCaseVal->getType(), TableSize));
3845 APInt MaskInt(TableSize, 0);
3846 APInt One(TableSize, 1);
3878 SwitchLookupTable Table(Mod, TableSize, MinCaseVal, ResultLists[PHI],