Home
last modified time | relevance | path

Searched refs:isOneConstant (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelDAGToDAG.cpp319 } else if (isOneConstant(Op2)) { in selectAddCarry()
362 } else if (isOneConstant(Op2)) { in selectSubCarry()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1688 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST()
2167 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
2188 if (isOneConstant(Op1)) { in LowerSETCC()
2326 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
2444 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
2479 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()
3547 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVECustomDAG.cpp543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp4332 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()
7842 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()
9001 if (isOneConstant(N->getOperand(2))) in lowerCttzElts()
12389 isOneConstant(N->getOperand(0))) in ReplaceNodeResults()
12511 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()
13412 if (N0.getOpcode() != ISD::XOR || !isOneConstant(N0.getOperand(1))) in combineAddOfBooleanXor()
13477 } else if (N1.getOpcode() == ISD::XOR && isOneConstant(N1.getOperand(1)) && in combineSubOfBoolean()
13568 if (isOneConstant(N01)) { in combineDeMorganOfBoolean()
13569 if (!isOneConstant(N11) && !(IsAnd && isAllOnesConstant(N11))) in combineDeMorganOfBoolean()
13571 } else if (isOneConstant(N1 in combineDeMorganOfBoolean()
[all...]
H A DRISCVISelDAGToDAG.cpp2307 if (!isOneConstant(Node->getOperand(2))) in Select()
2318 bool IsStrided = !isOneConstant(VL); in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp734 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
738 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
3641 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3843 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp22986 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
23784 if (isOneConstant(Op1) || isNullConstant(Op1)) { in emitFlagsForSetcc()
23971 Cond = isOneConstant(RHS) ? X86::COND_E : X86::COND_B; in getX86XALUOOp()
24187 isOneConstant(CmpOp0.getOperand(1))) { in LowerSELECT()
24242 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
24820 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()
24907 if (!(Cond.getOpcode() == ISD::AND && isOneConstant(Cond.getOperand(1)))) in LowerBRCOND()
46094 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
46182 if ((CC == ISD::SETGT && (isNullConstant(RHS) || isOneConstant(RHS))) || in combineSelect()
46188 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1767 bool isOneConstant(SDValue V);
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5773 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
5786 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
6757 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()
13158 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
15004 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()
15009 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC()
18369 isOneConstant(LHS->getOperand(0)->getOperand(1)) && in PerformBRCONDCombine()
18370 isOneConstant(LHS->getOperand(1)) && isNullConstant(RHS)) { in PerformBRCONDCombine()
18434 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in PerformCMOVCombine()
18463 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3070 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3482 isOneConstant(Carry0.getOperand(1))) { in combineUADDO_CARRYDiamond()
5086 if (isOneConstant(N1)) in visitMULHS()
5145 if (isOneConstant(N1)) in visitMULHU()
5424 if (isOneConstant(N1)) { in visitUMUL_LOHI()
6352 if (!isOneConstant(T.getOperand(1))) in combineSelectAsExtAnd()
6768 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()
9489 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
9500 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
9584 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DLegalizeIntegerTypes.cpp3476 if (isOneConstant(LoOps[1])) in ExpandIntRes_ADDSUB()
3613 if (N->getOpcode() == ISD::UADDO && isOneConstant(RHS)) { in ExpandIntRes_UADDSUBO()
H A DSelectionDAG.cpp4306 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForUnsignedMul()
4319 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForSignedMul()
11878 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
H A DTargetLowering.cpp4821 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()
4865 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
10896 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
H A DLegalizeDAG.cpp4082 (Tmp2.getOpcode() == ISD::AND && isOneConstant(Tmp2.getOperand(1)))) in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4080 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()
9832 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
18773 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine()
18775 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine()
20092 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode()
20094 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode()
20108 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck()
23890 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()
23892 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2086 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5862 isOneConstant(N->getOperand(2)) && isNullConstant(N->getOperand(3)) && in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4256 return isOneConstant(V->getOperand(1)) ? V->getOperand(0) : SDValue(); in getAddOneOp()