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

Lines Matching defs:Val0

320     Value *Val0 = getRandomVal();
321 Value *Val1 = getRandomValue(Val0->getType());
324 if (Val0->getType()->isPointerTy() ||
329 if (Val0->getType()->getScalarSizeInBits() == 1)
333 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
355 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term));
420 Value *Val0 = getRandomVectorValue();
421 Value *V = ExtractElementInst::Create(Val0,
423 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
433 Value *Val0 = getRandomVectorValue();
434 Value *Val1 = getRandomValue(Val0->getType());
436 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements();
450 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff",
461 Value *Val0 = getRandomVectorValue();
462 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
464 Value *V = InsertElementInst::Create(Val0, Val1,
466 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
564 Value *Val0 = getRandomVal();
565 Value *Val1 = getRandomValue(Val0->getType());
571 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) {
572 unsigned NumElem = cast<VectorType>(Val0->getType())->getNumElements();
577 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator());
587 Value *Val0 = getRandomVal();
588 Value *Val1 = getRandomValue(Val0->getType());
590 if (Val0->getType()->isPointerTy()) return;
591 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy();
605 op, Val0, Val1, "Cmp", BB->getTerminator());