Searched refs:isOneConstant (Results 1 – 11 of 11) sorted by relevance
1446 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()1925 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()1946 if (isOneConstant(Op1)) { in LowerSETCC()2085 isOneConstant(Cond.getOperand(1))) in LowerSELECT()2235 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()2270 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()3260 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
667 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()671 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()3210 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()3424 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
22628 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()23403 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()23797 isOneConstant(Cond.getOperand(1))) in LowerSELECT()24361 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()41721 isOneConstant(AndNode.getOperand(1))) { in combineSelect()41812 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()42099 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine()42101 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine()42226 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()42256 isOneConstant(CarryOp1.getOperand(1))) in combineCarryThroughADD()[all …]
1632 bool isOneConstant(SDValue V);
2192 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()2585 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()2977 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()4457 if (isOneConstant(N1)) in visitMULHS()4505 if (isOneConstant(N1)) in visitMULHU()4638 if (isOneConstant(N->getOperand(1))) { in visitUMUL_LOHI()5544 if (!isBitwiseNot(Not) || !Not.hasOneUse() || !isOneConstant(And1)) in combineShiftAnd1ToBitTest()7796 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()7807 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()7914 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()[all …]
3801 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()3845 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
9457 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
996 if (CC == ISD::SETLT && isOneConstant(RHS)) { in translateSetCCForBranch()5782 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()5835 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()
1898 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
5498 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()5511 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()6402 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()12418 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()16806 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
3046 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()6616 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()