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

Lines Matching defs:Val0

322     Value *Val0 = getRandomVal();
323 Value *Val1 = getRandomValue(Val0->getType());
326 if (Val0->getType()->isPointerTy() ||
331 if (Val0->getType()->getScalarSizeInBits() == 1)
335 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
357 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term));
422 Value *Val0 = getRandomVectorValue();
423 Value *V = ExtractElementInst::Create(Val0,
425 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
435 Value *Val0 = getRandomVectorValue();
436 Value *Val1 = getRandomValue(Val0->getType());
438 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements();
452 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff",
463 Value *Val0 = getRandomVectorValue();
464 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
466 Value *V = InsertElementInst::Create(Val0, Val1,
468 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
566 Value *Val0 = getRandomVal();
567 Value *Val1 = getRandomValue(Val0->getType());
573 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) {
574 unsigned NumElem = cast<VectorType>(Val0->getType())->getNumElements();
579 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator());
589 Value *Val0 = getRandomVal();
590 Value *Val1 = getRandomValue(Val0->getType());
592 if (Val0->getType()->isPointerTy()) return;
593 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy();
607 op, Val0, Val1, "Cmp", BB->getTerminator());