Searched refs:isOneConstant (Results 1 – 14 of 14) sorted by relevance
312 } else if (isOneConstant(Op2)) { in selectAddCarry()355 } else if (isOneConstant(Op2)) { in selectSubCarry()
1486 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST()1965 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()1986 if (isOneConstant(Op1)) { in LowerSETCC()2125 isOneConstant(Cond.getOperand(1))) in LowerSELECT()2275 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()2310 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()3395 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
2772 if (isOneConstant(VL)) in lowerScalarSplat()2791 if (isOneConstant(VL) && in lowerScalarSplat()2800 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()4656 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()7812 isOneConstant(N->getOperand(0))) in ReplaceNodeResults()7895 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()8490 } else if (N1.getOpcode() == ISD::XOR && isOneConstant(N1.getOperand(1)) && in combineSubOfBoolean()8534 if (isOneConstant(N01)) { in combineDeMorganOfBoolean()8535 if (!isOneConstant(N11) && !(IsAnd && isAllOnesConstant(N11))) in combineDeMorganOfBoolean()8537 } else if (isOneConstant(N11)) { in combineDeMorganOfBoolean()[all …]
1819 if (!isOneConstant(Node->getOperand(2))) in Select()
722 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()726 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()3321 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()3546 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
24470 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()25243 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()25416 Cond = isOneConstant(RHS) ? X86::COND_E : X86::COND_B; in getX86XALUOOp()25632 isOneConstant(CmpOp0.getOperand(1))) { in LowerSELECT()25688 isOneConstant(Cond.getOperand(1))) in LowerSELECT()26258 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()26345 if (!(Cond.getOpcode() == ISD::AND && isOneConstant(Cond.getOperand(1)))) in LowerBRCOND()45959 isOneConstant(AndNode.getOperand(1))) { in combineSelect()46047 if ((CC == ISD::SETGT && (isNullConstant(RHS) || isOneConstant(RHS))) || in combineSelect()46053 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()[all …]
1692 bool isOneConstant(SDValue V);
2357 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()2764 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()3177 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()4748 if (isOneConstant(N1)) in visitMULHS()4808 if (isOneConstant(N1)) in visitMULHU()5002 if (isOneConstant(N1)) { in visitUMUL_LOHI()6084 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()8767 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()8778 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()8862 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()[all …]
4546 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()4590 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()6041 assert(!isOneConstant(N1) && "Unexpected divisor"); in BuildUDIV()9910 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
10889 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
3657 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()8408 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()16133 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine()16135 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine()17373 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode()17375 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode()17389 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck()20251 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()20253 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
5743 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()5756 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()6682 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()12992 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()14840 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()14845 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC()18242 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
2048 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()