Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYISelDAGToDAG.cpp312 } else if (isOneConstant(Op2)) { in selectAddCarry()
355 } else if (isOneConstant(Op2)) { in selectSubCarry()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1486 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBTST()
1965 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
1986 if (isOneConstant(Op1)) { in LowerSETCC()
2125 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
2275 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
2310 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()
3395 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVECustomDAG.cpp543 if (!Scale || isOneConstant(Scale)) in getGatherScatterAddress()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2772 if (isOneConstant(VL)) in lowerScalarSplat()
2791 if (isOneConstant(VL) && in lowerScalarSplat()
2800 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()
4656 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()
7812 isOneConstant(N->getOperand(0))) in ReplaceNodeResults()
7895 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()
8490 } else if (N1.getOpcode() == ISD::XOR && isOneConstant(N1.getOperand(1)) && in combineSubOfBoolean()
8534 if (isOneConstant(N01)) { in combineDeMorganOfBoolean()
8535 if (!isOneConstant(N11) && !(IsAnd && isAllOnesConstant(N11))) in combineDeMorganOfBoolean()
8537 } else if (isOneConstant(N11)) { in combineDeMorganOfBoolean()
[all …]
H A DRISCVISelDAGToDAG.cpp1819 if (!isOneConstant(Node->getOperand(2))) in Select()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp722 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
726 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
3321 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3546 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp24470 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
25243 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()
25416 Cond = isOneConstant(RHS) ? X86::COND_E : X86::COND_B; in getX86XALUOOp()
25632 isOneConstant(CmpOp0.getOperand(1))) { in LowerSELECT()
25688 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
26258 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()
26345 if (!(Cond.getOpcode() == ISD::AND && isOneConstant(Cond.getOperand(1)))) in LowerBRCOND()
45959 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
46047 if ((CC == ISD::SETGT && (isNullConstant(RHS) || isOneConstant(RHS))) || in combineSelect()
46053 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1692 bool isOneConstant(SDValue V);
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2357 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()
2764 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3177 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()
4748 if (isOneConstant(N1)) in visitMULHS()
4808 if (isOneConstant(N1)) in visitMULHU()
5002 if (isOneConstant(N1)) { in visitUMUL_LOHI()
6084 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()
8767 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
8778 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
8862 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DTargetLowering.cpp4546 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()
4590 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
6041 assert(!isOneConstant(N1) && "Unexpected divisor"); in BuildUDIV()
9910 if (IsAdd && isOneConstant(RHS)) { in expandUADDSUBO()
H A DSelectionDAG.cpp10889 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3657 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()
8408 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
16133 !isOneConstant(CSel0.getOperand(1)) || in performANDORCSELCombine()
16135 !isOneConstant(CSel1.getOperand(1))) in performANDORCSELCombine()
17373 if (isOneConstant(OpLHS) && isNullConstant(OpRHS)) in getCSETCondCode()
17375 if (isNullConstant(OpLHS) && isOneConstant(OpRHS)) in getCSETCondCode()
17389 if (!isOneConstant(CmpOp.getOperand(1))) in foldOverflowCheck()
20251 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()
20253 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5743 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
5756 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
6682 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()
12992 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
14840 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()
14845 if (CSInc.getOpcode() == ARMISD::CMOV && isOneConstant(CSInc.getOperand(1)) && in IsCMPZCSINC()
18242 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2048 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()