| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelDAGToDAG.cpp | 319 } else if (isOneConstant(Op2)) { in selectAddCarry() 362 } else if (isOneConstant(Op2)) { in selectSubCarry()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 1690 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 D | VECustomDAG.cpp | 543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 4621 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 D | RISCVISelDAGToDAG.cpp | 2660 if (!isOneConstant(Node->getOperand(2))) in Select() 2671 bool IsStrided = !isOneConstant(VL); in Select()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 778 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 D | X86ISelLowering.cpp | 23728 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 D | ARMISelLowering.cpp | 5851 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 D | SelectionDAGNodes.h | 1865 LLVM_ABI bool isOneConstant(SDValue V);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 3230 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 D | LegalizeIntegerTypes.cpp | 3672 if (isOneConstant(LoOps[1])) in ExpandIntRes_ADDSUB() 3811 if (N->getOpcode() == ISD::UADDO && isOneConstant(RHS)) { in ExpandIntRes_UADDSUBO()
|
| H A D | SelectionDAG.cpp | 4577 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 D | TargetLowering.cpp | 5037 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 D | LegalizeDAG.cpp | 4220 (Tmp2.getOpcode() == ISD::AND && isOneConstant(Tmp2.getOperand(1)))) in ExpandNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 4093 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 D | SparcISelLowering.cpp | 2055 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 4484 return isOneConstant(V->getOperand(1)) ? V->getOperand(0) : SDValue(); in getAddOneOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5875 isOneConstant(N->getOperand(2)) && isNullConstant(N->getOperand(3)) && in Select()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 832 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()
|