Searched refs:isOneConstant (Results 1 – 14 of 14) sorted by relevance
308 } else if (isOneConstant(Op2)) { in selectAddCarry()351 } else if (isOneConstant(Op2)) { in selectSubCarry()
1458 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST()1937 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()1958 if (isOneConstant(Op1)) { in LowerSETCC()2097 isOneConstant(Cond.getOperand(1))) in LowerSELECT()2247 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()2282 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()3368 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
718 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()722 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()3315 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()3537 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
24017 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()24790 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()25235 isOneConstant(Cond.getOperand(1))) in LowerSELECT()44762 isOneConstant(AndNode.getOperand(1))) { in combineSelect()44856 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()45211 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine()45213 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine()45369 isOneConstant(CarryOp1.getOperand(1))) in combineCarryThroughADD()47954 if (isOneConstant(N1) && N0->hasOneUse()) { in combineAnd()48531 if (!isOneConstant(N1)) in foldXorTruncShiftIntoCmp()[all …]
2448 if (isOneConstant(VL)) in lowerScalarSplat()2467 if (isOneConstant(VL) && in lowerScalarSplat()2476 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()6960 isOneConstant(N->getOperand(0))) in ReplaceNodeResults()7042 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()7585 if (!isOneConstant(ScalarV.getOperand(2))) in combineBinOpToReduce()8112 N->getValueType(0) == MVT::i32 && isOneConstant(N->getOperand(1)) && in performANDCombine()8158 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0)) && in performXORCombine()8809 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in combine_CC()
1702 if (!isOneConstant(Node->getOperand(2))) in Select()
2348 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()2755 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()3147 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()4681 if (isOneConstant(N1)) in visitMULHS()4741 if (isOneConstant(N1)) in visitMULHU()4935 if (isOneConstant(N1)) { in visitUMUL_LOHI()6002 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()8492 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()8503 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()8588 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()[all …]
4460 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()4504 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()9236 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
10629 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
1675 bool isOneConstant(SDValue V);
3495 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()7613 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()14771 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine()14773 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine()15905 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode()15907 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode()15921 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck()18367 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()18369 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
5716 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()5729 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()6655 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()12918 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()14763 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()14768 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC()18165 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
2001 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()