Home | History | Annotate | Download | only in llvm-stress

Lines Matching defs:Rand

68   uint32_t Rand() {
77 uint32_t Val = Rand();
79 return Val | (Rand() << 16);
88 /// Rand operator for STL algorithms.
147 return PT->at(Ran->Rand() % PT->size());
152 if (Ran->Rand() & 1)
156 if (Ran->Rand() & 1)
165 unsigned index = Ran->Rand();
174 if (Ran->Rand() & 1)
178 if (Ran->Rand() & 1)
198 unsigned index = Ran->Rand();
209 unsigned index = Ran->Rand();
220 return (Ran->Rand() & 1 ? pickVectorType() : pickScalarType());
234 unsigned width = 1<<((Ran->Rand() % 3) + (Ran->Rand() % 3));
251 switch (Ran->Rand() % 30) {
337 unsigned R = Ran->Rand() % (isFloat ? 7 : 13);
368 switch (Ran->Rand() % 2) {
386 if (Ran->Rand() & 1)
392 switch (Ran->Rand() % 7) {
401 PT->push_back(ConstantInt::get(Ty, Ran->Rand()));
425 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
443 Constant *CI = ConstantInt::get(I32, Ran->Rand() % (Width*2));
445 if (!(Ran->Rand() % 5))
468 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
504 if ((Ran->Rand() & 1) && VSize == DestSize) {
517 if (Ran->Rand() & 1)
527 if (Ran->Rand() & 1)
536 if (Ran->Rand() & 1)
573 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) {
597 op = Ran->Rand() %
601 op = Ran->Rand() %