Lines Matching defs:Src1

45 static APFloat fmed3AMDGCN(const APFloat &Src0, const APFloat &Src1,
47 APFloat Max3 = maxnum(maxnum(Src0, Src1), Src2);
52 return maxnum(Src1, Src2);
54 APFloat::cmpResult Cmp1 = Max3.compare(Src1);
59 return maxnum(Src0, Src1);
643 Value *Src1 = II.getArgOperand(1);
644 const ConstantInt *CMask = dyn_cast<ConstantInt>(Src1);
650 II.setArgOperand(1, ConstantInt::get(Src1->getType(),
656 if (isa<PoisonValue>(Src0) || isa<PoisonValue>(Src1))
660 if (IC.getSimplifyQuery().isUndefValue(Src1))
666 Src1, ConstantInt::getNullValue(Src1->getType()));
698 if (Value *Src1 = foldFPTruncToF16RTZ(II.getArgOperand(1))) {
701 V = IC.Builder.CreateInsertElement(V, Src1, (uint64_t)1);
713 Value *Src1 = II.getArgOperand(1);
715 if (isa<UndefValue>(Src0) && isa<UndefValue>(Src1)) {
816 Value *Src1 = II.getArgOperand(1);
824 V = IC.Builder.CreateMinNum(Src1, Src2);
825 } else if (match(Src1, PatternMatch::m_NaN()) || isa<UndefValue>(Src1)) {
828 V = IC.Builder.CreateMaxNum(Src0, Src1);
843 if (isa<Constant>(Src0) && !isa<Constant>(Src1)) {
844 std::swap(Src0, Src1);
848 if (isa<Constant>(Src1) && !isa<Constant>(Src2)) {
849 std::swap(Src1, Src2);
853 if (isa<Constant>(Src0) && !isa<Constant>(Src1)) {
854 std::swap(Src0, Src1);
860 II.setArgOperand(1, Src1);
866 if (const ConstantFP *C1 = dyn_cast<ConstantFP>(Src1)) {
882 if (Value *Y = matchFPExtFromF16(Src1)) {
906 Value *Src1 = II.getArgOperand(1);
909 if (auto *CSrc1 = dyn_cast<Constant>(Src1)) {
935 II.setArgOperand(0, Src1);
952 ((match(Src1, PatternMatch::m_One()) &&
954 (match(Src1, PatternMatch::m_AllOnes()) &&
957 IC.replaceOperand(II, 1, ConstantInt::getNullValue(Src1->getType()));
977 if (match(Src1, PatternMatch::m_Zero()) &&
1313 Value *Src1 = II.getArgOperand(1);
1317 auto *Src1Ty = cast<FixedVectorType>(Src1->getType());
1348 Src1 = IC.Builder.CreateExtractVector(
1349 FixedVectorType::get(Src1Ty->getElementType(), Src1NumElts), Src1,
1359 Args[1] = Src1;
1362 IID, {Src0->getType(), Src1->getType()}, Args, &II);