Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp598 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
602 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
2651 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
2858 if (!isOneConstant(M0->getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp19134 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
20112 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
20746 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
20791 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()
34257 isOneConstant(AndNode.getOperand(1))) { in combineSelect()
34611 if (isOneConstant(SetCC.getOperand(0))) in checkBoolTestSetCCCombine()
34613 if (isOneConstant(SetCC.getOperand(1))) in checkBoolTestSetCCCombine()
34738 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
36310 if (!isOneConstant(N1)) in combineParity()
36861 if (!isOneConstant(N1)) in foldXorTruncShiftIntoCmp()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1970 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()
2232 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3559 if (isOneConstant(N1)) in visitMULHS()
3606 if (isOneConstant(N1)) in visitMULHU()
6187 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
6198 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
6290 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
7373 if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()
7386 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()
12490 if (isOneConstant(Op0) && Op0.hasOneUse() && in rebuildSetCC()
[all …]
H A DSelectionDAG.cpp8570 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1596 bool isOneConstant(SDValue V);
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4706 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
4719 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
5499 if (!isOneConstant(N->getOperand(1))) in Expand64BitShift()
10303 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
12700 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1890 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2140 if (isOneConstant(Other) && isOverflowIntrOpRes(Sel)) { in LowerXOR()
4409 if (isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()