• Home
  • Raw
  • Download

Lines Matching refs:Rand

91   uint32_t Rand() {  in Rand()  function in llvm::__anon35362e5a0111::Random
100 uint32_t Val = Rand(); in Rand32()
102 return Val | (Rand() << 16); in Rand32()
167 return PT->at(Ran->Rand() % PT->size()); in getRandomVal()
172 if (Ran->Rand() & 1) in getRandomConstant()
176 if (Ran->Rand() & 1) in getRandomConstant()
185 unsigned index = Ran->Rand(); in getRandomValue()
194 if (Ran->Rand() & 1) in getRandomValue()
198 if (Ran->Rand() & 1) in getRandomValue()
218 unsigned index = Ran->Rand(); in getRandomPointerValue()
229 unsigned index = Ran->Rand(); in getRandomVectorValue()
240 return (Ran->Rand() & 1 ? pickVectorType() : pickScalarType()); in pickType()
254 unsigned width = 1<<((Ran->Rand() % 3) + (Ran->Rand() % 3)); in pickVectorType()
284 return ScalarTypes[Ran->Rand() % ScalarTypes.size()]; in pickScalarType()
344 unsigned R = Ran->Rand() % (isFloat ? 7 : 13); in Act()
375 switch (Ran->Rand() % 2) { in Act()
393 if (Ran->Rand() & 1) in Act()
399 switch (Ran->Rand() % 7) { in Act()
408 PT->push_back(ConstantInt::get(Ty, Ran->Rand())); in Act()
432 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), in Act()
450 Constant *CI = ConstantInt::get(I32, Ran->Rand() % (Width*2)); in Act()
452 if (!(Ran->Rand() % 5)) in Act()
475 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), in Act()
511 if ((Ran->Rand() & 1) && VSize == DestSize) { in Act()
524 if (Ran->Rand() & 1) in Act()
534 if (Ran->Rand() & 1) in Act()
543 if (Ran->Rand() & 1) in Act()
580 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) { in Act()
604 op = Ran->Rand() % in Act()
608 op = Ran->Rand() % in Act()