Lines Matching defs:isConstantOrUndef
1891 /// isConstantOrUndef - Op is either an undef node or a ConstantSDNode. Return
1893 static bool isConstantOrUndef(int Op, int Val) {
1910 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1))
1916 if (!isConstantOrUndef(N->getMaskElt(i), i*2))
1921 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) ||
1922 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j))
1941 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) ||
1942 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3))
1948 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) ||
1949 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1))
1954 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) ||
1955 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) ||
1956 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j) ||
1957 !isConstantOrUndef(N->getMaskElt(i+9), i*2+j+1))
1982 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+4) ||
1983 !isConstantOrUndef(N->getMaskElt(i+1), i*2+5) ||
1984 !isConstantOrUndef(N->getMaskElt(i+2), i*2+6) ||
1985 !isConstantOrUndef(N->getMaskElt(i+3), i*2+7))
1991 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) ||
1992 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1) ||
1993 !isConstantOrUndef(N->getMaskElt(i+2), i*2+2) ||
1994 !isConstantOrUndef(N->getMaskElt(i+3), i*2+3))
1999 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) ||
2000 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) ||
2001 !isConstantOrUndef(N->getMaskElt(i+2), i*2+j+2) ||
2002 !isConstantOrUndef(N->getMaskElt(i+3), i*2+j+3) ||
2003 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j) ||
2004 !isConstantOrUndef(N->getMaskElt(i+9), i*2+j+1) ||
2005 !isConstantOrUndef(N->getMaskElt(i+10), i*2+j+2) ||
2006 !isConstantOrUndef(N->getMaskElt(i+11), i*2+j+3))
2023 if (!isConstantOrUndef(N->getMaskElt(i*UnitSize*2+j),
2025 !isConstantOrUndef(N->getMaskElt(i*UnitSize*2+UnitSize+j),
2131 if (!isConstantOrUndef(N->getMaskElt(i*4+j),
2133 !isConstantOrUndef(N->getMaskElt(i*4+j+8),
2207 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i))
2212 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15))