Home | History | Annotate | Download | only in ARM

Lines Matching refs:AllOnes

3546     SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createNEONModImm(0xe, 0xff),
3548 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v8i8, AllOnes);
3550 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes));
7764 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) {
7768 return AllOnes ? C->isAllOnesValue() : C->isNullValue();
7774 // (select cc 0, y) [AllOnes=0]
7775 // (select cc y, 0) [AllOnes=0]
7776 // (zext cc) [AllOnes=0]
7777 // (sext cc) [AllOnes=0/1]
7778 // (select cc -1, y) [AllOnes=1]
7779 // (select cc y, -1) [AllOnes=1]
7783 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes,
7793 if (isZeroOrAllOnes(N1, AllOnes)) {
7798 if (isZeroOrAllOnes(N2, AllOnes)) {
7807 if (AllOnes)
7815 Invert = !AllOnes;
7816 if (AllOnes)
7817 // When looking for an AllOnes constant, N is an sext, and the 'other'
7834 // (and (select cc, -1, c), x) -> (select cc, x, (and, x, c)) [AllOnes=1]
7839 // is null, or all ones when AllOnes is set.
7852 // @param AllOnes Require the select constant to be all ones instead of null.
7857 bool AllOnes = false) {
7863 if (!isConditionalZeroOrAllOnes(Slct.getNode(), AllOnes, CCOp, SwapSelectOps,
7881 SDValue combineSelectAndUseCommutative(SDNode *N, bool AllOnes,
7886 SDValue Result = combineSelectAndUse(N, N0, N1, DCI, AllOnes);
7891 SDValue Result = combineSelectAndUse(N, N1, N0, DCI, AllOnes);