Lines Matching refs:CanFold
5260 bool CanFold = true; in LowerBuildVectorv4x32() local
5261 for (unsigned i = EltIdx + 1; i < 4 && CanFold; ++i) { in LowerBuildVectorv4x32()
5269 CanFold = SrcVector == V1 && in LowerBuildVectorv4x32()
5273 if (!CanFold) in LowerBuildVectorv4x32()
5889 bool CanFold = true; in isHorizontalBinOp() local
5896 for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i) { in isHorizontalBinOp()
5908 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse(); in isHorizontalBinOp()
5910 if (!CanFold) in isHorizontalBinOp()
5918 CanFold = (Op0.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in isHorizontalBinOp()
5923 if (!CanFold) in isHorizontalBinOp()
5947 CanFold = I1 == I0 + 1 && Op0.getOperand(0) == Expected; in isHorizontalBinOp()
5951 CanFold = I0 == I1 + 1 && Op1.getOperand(0) == Expected; in isHorizontalBinOp()
5953 CanFold = false; in isHorizontalBinOp()
5958 return CanFold; in isHorizontalBinOp()
6201 bool CanFold = true; in LowerToHorizontalOp() local
6218 CanFold = false; in LowerToHorizontalOp()
6220 if (CanFold) { in LowerToHorizontalOp()
23563 bool CanFold = false; in PerformShuffleCombine() local
23572 CanFold = true; in PerformShuffleCombine()
23577 for (unsigned i = 0, e = SVTNumElts; i != e && CanFold; ++i) in PerformShuffleCombine()
23578 CanFold = SVOp->getMaskElt(i) == (int)(i * 2); in PerformShuffleCombine()
23579 for (unsigned i = SVTNumElts, e = NumElts; i != e && CanFold; ++i) in PerformShuffleCombine()
23580 CanFold = SVOp->getMaskElt(i) < 0; in PerformShuffleCombine()
23582 if (CanFold) { in PerformShuffleCombine()