Lines Matching defs:getRandom
205 uint32_t getRandom() {
212 return PT->at(getRandom() % PT->size());
217 if (getRandom() & 1)
221 if (getRandom() & 1)
230 unsigned index = getRandom();
239 if (getRandom() & 1)
243 if (getRandom() & 1)
261 unsigned index = getRandom();
272 unsigned index = getRandom();
283 return (getRandom() & 1) ? pickVectorType() : pickScalarType();
296 bool Scalable = EnableScalableVectors && getRandom() & 1;
301 unsigned width = 1<<((getRandom() % 3) + (getRandom() % 3));
307 return ScalarTypes[getRandom() % ScalarTypes.size()];
376 unsigned R = getRandom() % (isFloat ? 7 : 13);
410 switch (getRandom() % 2) {
429 if (getRandom() & 1)
435 switch (getRandom() % 7) {
447 PT->push_back(ConstantInt::get(Ty, getRandom()));
495 Constant *CI = ConstantInt::get(I32, getRandom() % (Width*2));
497 if (!(getRandom() % 5))
553 if ((getRandom() & 1) && VSize == DestSize) {
565 if (getRandom() & 1)
575 if (getRandom() & 1)
584 if (getRandom() & 1)
620 if (getRandom() & 1)
643 op = getRandom() %
647 op = getRandom() %