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