Home
last modified time | relevance | path

Searched refs:isOneConstant (Results 1 – 19 of 19) 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.cpp1690 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST()
2169 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
2190 if (isOneConstant(Op1)) { in LowerSETCC()
2328 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
2445 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
2480 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.cpp4621 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()
9299 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()
10518 if (isOneConstant(N->getOperand(2))) in lowerCttzElts()
13388 if (!IsMaskVector && isNullConstant(Offset) && isOneConstant(EVL1)) in lowerVPSpliceExperimental()
14284 isOneConstant(N->getOperand(0))) in ReplaceNodeResults()
14406 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()
15371 if (N0.getOpcode() != ISD::XOR || !isOneConstant(N0.getOperand(1))) in combineAddOfBooleanXor()
15439 } else if (N1.getOpcode() == ISD::XOR && isOneConstant(N1.getOperand(1)) && in combineSubOfBoolean()
15558 if (isOneConstant(N01)) { in combineDeMorganOfBoolean()
15559 if (!isOneConstant(N11) && !(IsAnd && isAllOnesConstant(N11))) in combineDeMorganOfBoolean()
[all …]
H A DRISCVISelDAGToDAG.cpp2660 if (!isOneConstant(Node->getOperand(2))) in Select()
2671 bool IsStrided = !isOneConstant(VL); in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp778 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
782 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
3707 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3909 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp23728 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
24548 if (isOneConstant(Op1) || isNullConstant(Op1)) { in emitFlagsForSetcc()
24746 Cond = isOneConstant(RHS) ? X86::COND_E : X86::COND_B; in getX86XALUOOp()
24827 isOneConstant(CmpVal.getOperand(1))) { in LowerSELECTWithCmpZero()
25089 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
25094 if (Cond.getOpcode() == ISD::AND && isOneConstant(Cond.getOperand(1))) in LowerSELECT()
25671 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()
25758 if (!(Cond.getOpcode() == ISD::AND && isOneConstant(Cond.getOperand(1)))) in LowerBRCOND()
47837 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
47924 if ((CC == ISD::SETGT && (isNullConstant(RHS) || isOneConstant(RHS))) || in combineSelect()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5851 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
5864 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
6823 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()
13225 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
15081 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()
15086 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC()
18446 isOneConstant(LHS->getOperand(0)->getOperand(1)) && in PerformBRCONDCombine()
18447 isOneConstant(LHS->getOperand(1)) && isNullConstant(RHS)) { in PerformBRCONDCombine()
18509 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in PerformCMOVCombine()
18536 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1865 LLVM_ABI bool isOneConstant(SDValue V);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3230 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3623 isOneConstant(Carry0.getOperand(1))) { in combineUADDO_CARRYDiamond()
5430 if (isOneConstant(N1)) in visitMULHS()
5489 if (isOneConstant(N1)) in visitMULHU()
5799 if (isOneConstant(N1)) { in visitUMUL_LOHI()
6737 if (!isOneConstant(T.getOperand(1))) in combineSelectAsExtAnd()
7160 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()
9943 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
9955 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
10040 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DLegalizeIntegerTypes.cpp3672 if (isOneConstant(LoOps[1])) in ExpandIntRes_ADDSUB()
3811 if (N->getOpcode() == ISD::UADDO && isOneConstant(RHS)) { in ExpandIntRes_UADDSUBO()
H A DSelectionDAG.cpp4577 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForUnsignedMul()
4590 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForSignedMul()
12457 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
H A DTargetLowering.cpp5037 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()
5081 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
11398 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
H A DLegalizeDAG.cpp4220 (Tmp2.getOpcode() == ISD::AND && isOneConstant(Tmp2.getOperand(1)))) in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4093 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()
10465 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
19416 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine()
19418 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine()
20803 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode()
20805 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode()
20819 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck()
24809 if (isCMP(Cmp) && CC == AArch64CC::NE && isOneConstant(Cmp.getOperand(1))) { in performBRCONDCombine()
25267 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()
25269 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2055 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4484 return isOneConstant(V->getOperand(1)) ? V->getOperand(0) : SDValue(); in getAddOneOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5875 isOneConstant(N->getOperand(2)) && isNullConstant(N->getOperand(3)) && in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp832 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()