Lines Matching defs:isConstantOrUndef
712 /// isConstantOrUndef - Op is either an undef node or a ConstantSDNode. Return
714 static bool isConstantOrUndef(int Op, int Val) {
723 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1))
727 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1) ||
728 !isConstantOrUndef(N->getMaskElt(i+8), i*2+1))
739 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) ||
740 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3))
744 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) ||
745 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3) ||
746 !isConstantOrUndef(N->getMaskElt(i+8), i*2+2) ||
747 !isConstantOrUndef(N->getMaskElt(i+9), i*2+3))
764 if (!isConstantOrUndef(N->getMaskElt(i*UnitSize*2+j),
766 !isConstantOrUndef(N->getMaskElt(i*UnitSize*2+UnitSize+j),
816 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i))
821 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15))