Home | History | Annotate | Download | only in ARM

Lines Matching refs:AllOnes

3839     SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createNEONModImm(0xe, 0xff),
3841 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v8i8, AllOnes);
3843 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes));
7557 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) {
7561 return AllOnes ? C->isAllOnesValue() : C->isNullValue();
7567 // (select cc 0, y) [AllOnes=0]
7568 // (select cc y, 0) [AllOnes=0]
7569 // (zext cc) [AllOnes=0]
7570 // (sext cc) [AllOnes=0/1]
7571 // (select cc -1, y) [AllOnes=1]
7572 // (select cc y, -1) [AllOnes=1]
7576 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes,
7586 if (isZeroOrAllOnes(N1, AllOnes)) {
7591 if (isZeroOrAllOnes(N2, AllOnes)) {
7600 if (AllOnes)
7608 Invert = !AllOnes;
7609 if (AllOnes)
7610 // When looking for an AllOnes constant, N is an sext, and the 'other'
7627 // (and (select cc, -1, c), x) -> (select cc, x, (and, x, c)) [AllOnes=1]
7632 // is null, or all ones when AllOnes is set.
7645 // @param AllOnes Require the select constant to be all ones instead of null.
7650 bool AllOnes = false) {
7656 if (!isConditionalZeroOrAllOnes(Slct.getNode(), AllOnes, CCOp, SwapSelectOps,
7674 SDValue combineSelectAndUseCommutative(SDNode *N, bool AllOnes,
7679 SDValue Result = combineSelectAndUse(N, N0, N1, DCI, AllOnes);
7684 SDValue Result = combineSelectAndUse(N, N1, N0, DCI, AllOnes);