Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1446 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
1925 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
1946 if (isOneConstant(Op1)) { in LowerSETCC()
2085 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
2235 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
2270 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()
3260 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp667 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
671 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
3210 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3424 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp22769 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
23544 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()
23965 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
24529 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()
41978 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
42072 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()
42414 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine()
42416 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine()
42541 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
42571 isOneConstant(CarryOp1.getOperand(1))) in combineCarryThroughADD()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1644 bool isOneConstant(SDValue V);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2194 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()
2597 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
2989 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()
4482 if (isOneConstant(N1)) in visitMULHS()
4534 if (isOneConstant(N1)) in visitMULHU()
4667 if (isOneConstant(N->getOperand(1))) { in visitUMUL_LOHI()
5574 if (!isBitwiseNot(Not) || !Not.hasOneUse() || !isOneConstant(And1)) in combineShiftAnd1ToBitTest()
7834 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
7845 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
7952 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DTargetLowering.cpp3826 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()
3870 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
H A DSelectionDAG.cpp9542 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1051 if (CC == ISD::SETLT && isOneConstant(RHS)) { in translateSetCCForBranch()
6148 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()
6201 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1901 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5650 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
5663 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
6554 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()
12705 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
17240 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3099 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()
6885 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
15745 if (Cond == ISD::SETNE && isOneConstant(RHS) && in performSETCCCombine()
15747 isNullConstant(LHS->getOperand(0)) && isOneConstant(LHS->getOperand(1)) && in performSETCCCombine()