Lines Matching defs:isInt
1105 static bool isValidIntOrFloat(Type type, int64_t dataEltSize, bool isInt,
1118 if (!isInt) {
1122 << "expected float type when isInt is false, but found "
1132 << "expected integer type when isInt is true, but found " << type
1152 bool isInt, bool isSigned) {
1153 return DenseIntOrFPElementsAttr::getRawComplex(type, data, dataEltSize, isInt,
1159 bool isInt,
1162 isInt, isSigned);
1165 bool DenseElementsAttr::isValidIntOrFloat(int64_t dataEltSize, bool isInt,
1167 return ::isValidIntOrFloat(getElementType(), dataEltSize, isInt, isSigned);
1169 bool DenseElementsAttr::isValidComplex(int64_t dataEltSize, bool isInt,
1173 dataEltSize / 2, isInt, isSigned);
1360 bool isInt,
1364 dataEltSize / 2, isInt, isSigned) &&
1378 int64_t dataEltSize, bool isInt,
1380 assert(::isValidIntOrFloat(type.getElementType(), dataEltSize, isInt,