Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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.cpp22628 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
23403 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in emitFlagsForSetcc()
23797 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
24361 (isNullConstant(RHS) || isOneConstant(RHS))) { in LowerBRCOND()
41721 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
41812 if (CC == ISD::SETUGT && isOneConstant(RHS)) { in combineSelect()
42099 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine()
42101 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine()
42226 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
42256 isOneConstant(CarryOp1.getOperand(1))) in combineCarryThroughADD()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1632 bool isOneConstant(SDValue V);
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2192 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()
2585 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
2977 isOneConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()
4457 if (isOneConstant(N1)) in visitMULHS()
4505 if (isOneConstant(N1)) in visitMULHU()
4638 if (isOneConstant(N->getOperand(1))) { in visitUMUL_LOHI()
5544 if (!isBitwiseNot(Not) || !Not.hasOneUse() || !isOneConstant(And1)) in combineShiftAnd1ToBitTest()
7796 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
7807 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
7914 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DTargetLowering.cpp3801 isOneConstant(N0.getOperand(1))) { in SimplifySetCC()
3845 if (Op0.getOpcode() == ISD::AND && isOneConstant(Op0.getOperand(1))) { in SimplifySetCC()
H A DSelectionDAG.cpp9457 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp996 if (CC == ISD::SETLT && isOneConstant(RHS)) { in translateSetCCForBranch()
5782 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()
5835 if (isOneConstant(RHS) && DAG.MaskedValueIsZero(LHS, Mask)) { in PerformDAGCombine()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1898 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5498 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
5511 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
6402 if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL) in Expand64BitShift()
12418 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
16806 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3046 if (isOneConstant(Other) && ISD::isOverflowIntrOpRes(Sel)) { in LowerXOR()
6616 if (ISD::isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()