Searched refs:isOneConstant (Results 1 – 14 of 14) sorted by relevance
1751 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()2477 if (isOneConstant(N1)) { in visitMULHS()2518 if (isOneConstant(N1)) in visitMULHU()4190 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()4202 if (isOneConstant(N1) && VT == MVT::i1 && in visitXOR()4271 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()5086 if (VT == MVT::i1 && isOneConstant(N1)) in visitSELECT()5103 isNullConstant(N1) && isOneConstant(N2)) { in visitSELECT()5125 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()5135 if (VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()[all …]
6696 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
578 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()582 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
18151 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()18737 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()18991 isOneConstant(Cmp.getOperand(0).getOperand(1))) { in LowerSELECT()19032 isOneConstant(Cond.getOperand(1))) in LowerSELECT()19638 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()19683 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()19728 if (isOneConstant(RHS)) { in LowerBRCOND()19735 if (isOneConstant(RHS)) { in LowerBRCOND()24051 if (isOneConstant(RHS)) { in LowerXALUO()24066 if (isOneConstant(RHS)) { in LowerXALUO()[all …]
1367 bool isOneConstant(SDValue V);
1981 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()2204 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()3418 if (isOneConstant(N1)) in visitMULHS()3465 if (isOneConstant(N1)) in visitMULHU()6029 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()6041 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()6112 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()7165 if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()7178 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()12115 if (isOneConstant(Op0) && Op0.hasOneUse() && in rebuildSetCC()[all …]
8075 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
1590 bool isOneConstant(SDValue V);
4730 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()4743 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()5603 if (!isOneConstant(N->getOperand(1))) in Expand64BitShift()10319 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()12654 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
1919 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
1930 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
3637 if (LHS.getResNo() == 1 && isOneConstant(RHS) && in LowerBR_CC()9150 if (!isOneConstant(IfFalse.getOperand(1))) in performAcrossLaneMinMaxReductionCombine()
2051 if (isOneConstant(Other) && isOverflowIntrOpRes(Sel)) { in LowerXOR()4283 if (isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
4846 if (!isOneConstant(N->getOperand(1))) in Expand64BitShift()