| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 683 Value *TrueV = SelI->getTrueValue(); in matchLeftShift() local 729 ShouldSameV = TrueV; in matchLeftShift() 733 ShouldXoredV = TrueV; in matchLeftShift() 797 Value *TrueV = SelI->getTrueValue(); in matchRightShift() local 831 if (!match(TrueV, m_LShr(m_Value(R), m_One()))) in matchRightShift() 834 if (!match(FalseV, m_c_Xor(m_Specific(TrueV), m_Value(Q)))) in matchRightShift() 844 if (!match(TrueV, m_c_Xor(m_Specific(FalseV), m_Value(Q)))) in matchRightShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 8933 SDValue TrueV = N->getOperand(1); in combineSelectToBinOp() local 8940 if (isAllOnesConstant(TrueV)) { in combineSelectToBinOp() 8948 return DAG.getNode(ISD::OR, DL, VT, Neg, DAG.getFreeze(TrueV)); in combineSelectToBinOp() 8952 if (isNullConstant(TrueV)) { in combineSelectToBinOp() 8960 return DAG.getNode(ISD::AND, DL, VT, Neg, DAG.getFreeze(TrueV)); in combineSelectToBinOp() 8965 if (isa<ConstantSDNode>(TrueV) && isa<ConstantSDNode>(FalseV)) { in combineSelectToBinOp() 8966 const APInt &TrueVal = TrueV->getAsAPIntVal(); in combineSelectToBinOp() 8976 if (CondV.getOpcode() == ISD::SETCC && TrueV.getOpcode() == ISD::SETCC && in combineSelectToBinOp() 8984 if (std::optional<bool> MatchResult = matchSetCC(LHS, RHS, CC, TrueV)) { in combineSelectToBinOp() 8985 return DAG.getNode(*MatchResult ? ISD::OR : ISD::AND, DL, VT, TrueV, in combineSelectToBinOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 569 SDValue TrueV = N->getOperand(1); in combineSelectToBinOp() local 575 if (isAllOnesConstant(TrueV)) { in combineSelectToBinOp() 583 return DAG.getNode(ISD::OR, DL, VT, Neg, DAG.getFreeze(TrueV)); in combineSelectToBinOp() 587 if (isNullConstant(TrueV)) { in combineSelectToBinOp() 595 return DAG.getNode(ISD::AND, DL, VT, Neg, DAG.getFreeze(TrueV)); in combineSelectToBinOp() 599 if (isa<ConstantSDNode>(TrueV) && isa<ConstantSDNode>(FalseV)) { in combineSelectToBinOp() 600 const APInt &TrueVal = TrueV->getAsAPIntVal(); in combineSelectToBinOp() 610 if (CondV.getOpcode() == ISD::SETCC && TrueV.getOpcode() == ISD::SETCC && in combineSelectToBinOp() 618 if (std::optional<bool> MatchResult = matchSetCC(LHS, RHS, CC, TrueV)) { in combineSelectToBinOp() 619 return DAG.getNode(*MatchResult ? ISD::OR : ISD::AND, DL, VT, TrueV, in combineSelectToBinOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 709 SDValue TrueV = Op.getOperand(2); in LowerSELECT_CC() local 718 SDValue Ops[] = {LHS, RHS, TargetCC, TrueV, FalseV}; in LowerSELECT_CC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRISelLowering.cpp | 832 SDValue TrueV = Op.getOperand(2); in LowerSELECT_CC() local 840 SDValue Ops[] = {TrueV, FalseV, TargetCC, Cmp}; in LowerSELECT_CC() 854 SDValue TrueV = DAG.getConstant(1, DL, Op.getValueType()); in LowerSETCC() local 856 SDValue Ops[] = {TrueV, FalseV, TargetCC, Cmp}; in LowerSETCC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.cpp | 1095 SDValue TrueV = Op.getOperand(2); in LowerSELECT_CC() local 1103 SDValue Ops[] = {TrueV, FalseV, TargetCC, Flag}; in LowerSELECT_CC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 975 SDValue TrueV = Op.getOperand(2); in LowerSELECT_CC() local 984 return DAG.getNode(LanaiISD::SELECT_CC, DL, Op.getValueType(), TrueV, FalseV, in LowerSELECT_CC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 3294 Value *TrueV = SpeculatedStore->getValueOperand(); in speculativelyExecuteBB() local 3297 std::swap(TrueV, FalseV); in speculativelyExecuteBB() 3299 BrCond, TrueV, FalseV, "spec.store.select", BI); in speculativelyExecuteBB() 3387 Value *TrueV = ThenV, *FalseV = OrigV; in speculativelyExecuteBB() local 3389 std::swap(TrueV, FalseV); in speculativelyExecuteBB() 3390 Value *V = Builder.CreateSelect(BrCond, TrueV, FalseV, "spec.select", BI); in speculativelyExecuteBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 5892 static OffsetResult select(Value *Cond, Value *TrueV, Value *FalseV) { in select() 5893 return {OffsetKind::Select, Cond, TrueV, FalseV}; in select()
|