Lines Matching defs:getRandom
207 uint32_t getRandom() {
214 return PT->at(getRandom() % PT->size());
219 if (getRandom() & 1)
223 if (getRandom() & 1)
232 unsigned index = getRandom();
241 if (getRandom() & 1)
245 if (getRandom() & 1)
263 unsigned index = getRandom();
274 unsigned index = getRandom();
285 return (getRandom() & 1) ? pickVectorType() : pickScalarType();
308 bool Scalable = EnableScalableVectors && getRandom() & 1;
313 unsigned width = 1<<((getRandom() % 3) + (getRandom() % 3));
319 return ScalarTypes[getRandom() % ScalarTypes.size()];
388 unsigned R = getRandom() % (isFloat ? 7 : 13);
421 switch (getRandom() % 2) {
440 if (getRandom() & 1)
446 switch (getRandom() % 7) {
458 PT->push_back(ConstantInt::get(Ty, getRandom()));
507 Constant *CI = ConstantInt::get(I32, getRandom() % (Width*2));
509 if (!(getRandom() % 5))
566 if ((getRandom() & 1) && VSize == DestSize) {
578 if (getRandom() & 1)
587 if (getRandom() & 1)
595 if (getRandom() & 1)
630 if (getRandom() & 1)
652 op = getRandom() %
656 op = getRandom() %