Lines Matching refs:CanFold
5436 bool CanFold = true; in LowerBuildVectorv4x32() local
5437 for (unsigned i = EltIdx + 1; i < 4 && CanFold; ++i) { in LowerBuildVectorv4x32()
5445 CanFold = SrcVector == V1 && in LowerBuildVectorv4x32()
5449 if (!CanFold) in LowerBuildVectorv4x32()
6126 bool CanFold = true; in isHorizontalBinOp() local
6133 for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i) { in isHorizontalBinOp()
6145 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse(); in isHorizontalBinOp()
6147 if (!CanFold) in isHorizontalBinOp()
6155 CanFold = (Op0.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in isHorizontalBinOp()
6160 if (!CanFold) in isHorizontalBinOp()
6184 CanFold = I1 == I0 + 1 && Op0.getOperand(0) == Expected; in isHorizontalBinOp()
6188 CanFold = I0 == I1 + 1 && Op1.getOperand(0) == Expected; in isHorizontalBinOp()
6190 CanFold = false; in isHorizontalBinOp()
6195 return CanFold; in isHorizontalBinOp()
6431 bool CanFold = true; in LowerToHorizontalOp() local
6444 CanFold = false; in LowerToHorizontalOp()
6446 if (CanFold) { in LowerToHorizontalOp()
26088 bool CanFold = false; in combineShuffle() local
26097 CanFold = true; in combineShuffle()
26102 for (unsigned i = 0, e = SVTNumElts; i != e && CanFold; ++i) in combineShuffle()
26103 CanFold = SVOp->getMaskElt(i) == (int)(i * 2); in combineShuffle()
26104 for (unsigned i = SVTNumElts, e = NumElts; i != e && CanFold; ++i) in combineShuffle()
26105 CanFold = SVOp->getMaskElt(i) < 0; in combineShuffle()
26107 if (CanFold) { in combineShuffle()