| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelDAGToDAG.cpp | 312 } else if (isOneConstant(Op2)) { in selectAddCarry() 355 } else if (isOneConstant(Op2)) { in selectSubCarry()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 1687 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST() 2166 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC() 2187 if (isOneConstant(Op1)) { in LowerSETCC() 2325 isOneConstant(Cond.getOperand(1))) in LowerSELECT() 2443 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC() 2478 isOneConstant(Cond.getOperand(1))) in LowerBRCOND() 3546 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VECustomDAG.cpp | 543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 4024 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat() 11570 isOneConstant(N->getOperand(0))) in ReplaceNodeResults() 11692 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults() 12619 if (isOneConstant(N01)) { in combineDeMorganOfBoolean() 12622 } else if (isOneConstant(N11)) { in combineDeMorganOfBoolean() 12731 !isOneConstant(TrueV.getOperand(1)) || in combineOrOfCZERO() 15470 if (((isOneConstant(FalseV) && LHS == TrueV && in PerformDAGCombine() 15472 (isOneConstant(TrueV) && LHS == FalseV && in PerformDAGCombine() 15488 isOneConstant(TrueV.getOperand(1)) && in PerformDAGCombine() 15917 if (isOneConstant(VL)) in PerformDAGCombine() [all …]
|
| H A D | RISCVISelDAGToDAG.cpp | 2118 if (!isOneConstant(Node->getOperand(2))) in Select() 2129 bool IsStrided = !isOneConstant(VL); in Select()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 725 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold() 729 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold() 3579 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() 3781 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
|
| H A D | X86ISelLowering.cpp | 22805 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT() 23586 if (isOneConstant(Op1) || isNullConstant(Op1)) { in emitFlagsForSetcc() 24031 isOneConstant(Cond.getOperand(1))) in LowerSELECT() 45064 isOneConstant(AndNode.getOperand(1))) { in combineSelect() 45516 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine() 45518 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine() 45674 isOneConstant(CarryOp1.getOperand(1))) in combineCarryThroughADD() 48677 if (isOneConstant(N1) && N0->hasOneUse()) { in combineAnd() 49525 if (!isOneConstant(N1)) in foldXorTruncShiftIntoCmp() 53393 isOneConstant(Scale)) { in combineGatherScatter() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2648 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal() 3075 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry() 3490 isOneConstant(Carry0.getOperand(1))) { in combineUADDO_CARRYDiamond() 5117 if (isOneConstant(N1)) in visitMULHS() 5177 if (isOneConstant(N1)) in visitMULHU() 5426 if (isOneConstant(N1)) { in visitUMUL_LOHI() 6348 if (!isOneConstant(T.getOperand(1))) in combineSelectAsExtAnd() 6764 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest() 9485 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR() 9569 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR() [all …]
|
| H A D | TargetLowering.cpp | 4746 isOneConstant(N0.getOperand(1))) { in SimplifySetCC() 4790 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC() 6353 assert(!isOneConstant(N1) && "Unexpected divisor"); in BuildUDIV() 10407 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
|
| H A D | LegalizeIntegerTypes.cpp | 3293 if (isOneConstant(LoOps[1])) in ExpandIntRes_ADDSUB() 3430 if (N->getOpcode() == ISD::UADDO && isOneConstant(RHS)) { in ExpandIntRes_UADDSUBO()
|
| H A D | SelectionDAG.cpp | 4130 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForUnsignedMul() 4143 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForSignedMul() 11537 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
|
| H A D | LegalizeDAG.cpp | 4003 (Tmp2.getOpcode() == ISD::AND && isOneConstant(Tmp2.getOperand(1)))) in ExpandNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1723 bool isOneConstant(SDValue V);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 5756 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC() 5769 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC() 6740 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift() 13141 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine() 14991 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC() 14996 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC() 18346 isOneConstant(LHS->getOperand(0)->getOperand(1)) && in PerformBRCONDCombine() 18347 isOneConstant(LHS->getOperand(1)) && isNullConstant(RHS)) { in PerformBRCONDCombine() 18411 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in PerformCMOVCombine() 18440 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 3778 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR() 8911 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC() 17583 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine() 17585 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine() 18928 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode() 18930 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode() 18944 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck() 22456 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine() 22458 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 2094 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5874 isOneConstant(N->getOperand(2)) && isNullConstant(N->getOperand(3)) && in Select()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 4205 return isOneConstant(V->getOperand(1)) ? V->getOperand(0) : SDValue(); in getAddOneOp()
|