| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 684 Value *FalseV = SelI->getFalseValue(); in matchLeftShift() local 730 ShouldXoredV = FalseV; in matchLeftShift() 732 ShouldSameV = FalseV; in matchLeftShift() 798 Value *FalseV = SelI->getFalseValue(); in matchRightShift() local 834 if (!match(FalseV, m_c_Xor(m_Specific(TrueV), m_Value(Q)))) in matchRightShift() 841 if (!match(FalseV, m_LShr(m_Value(R), m_One()))) in matchRightShift() 844 if (!match(TrueV, m_c_Xor(m_Specific(FalseV), m_Value(Q)))) in matchRightShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 570 SDValue FalseV = N->getOperand(2); in combineSelectToBinOp() local 577 return DAG.getNode(ISD::OR, DL, VT, Neg, DAG.getFreeze(FalseV)); in combineSelectToBinOp() 580 if (isAllOnesConstant(FalseV)) { in combineSelectToBinOp() 590 return DAG.getNode(ISD::AND, DL, VT, Neg, DAG.getFreeze(FalseV)); in combineSelectToBinOp() 593 if (isNullConstant(FalseV)) { in combineSelectToBinOp() 599 if (isa<ConstantSDNode>(TrueV) && isa<ConstantSDNode>(FalseV)) { in combineSelectToBinOp() 601 const APInt &FalseVal = FalseV->getAsAPIntVal(); in combineSelectToBinOp() 604 return DAG.getNode(ISD::XOR, DL, VT, Neg, FalseV); in combineSelectToBinOp() 611 FalseV.getOpcode() == ISD::SETCC) { in combineSelectToBinOp() 620 DAG.getFreeze(FalseV)); in combineSelectToBinOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 8934 SDValue FalseV = N->getOperand(2); in combineSelectToBinOp() local 8942 return DAG.getNode(ISD::OR, DL, VT, Neg, DAG.getFreeze(FalseV)); in combineSelectToBinOp() 8945 if (isAllOnesConstant(FalseV)) { in combineSelectToBinOp() 8955 return DAG.getNode(ISD::AND, DL, VT, Neg, DAG.getFreeze(FalseV)); in combineSelectToBinOp() 8958 if (isNullConstant(FalseV)) { in combineSelectToBinOp() 8965 if (isa<ConstantSDNode>(TrueV) && isa<ConstantSDNode>(FalseV)) { in combineSelectToBinOp() 8967 const APInt &FalseVal = FalseV->getAsAPIntVal(); in combineSelectToBinOp() 8970 return DAG.getNode(ISD::XOR, DL, VT, Neg, FalseV); in combineSelectToBinOp() 8977 FalseV.getOpcode() == ISD::SETCC) { in combineSelectToBinOp() 8986 DAG.getFreeze(FalseV)); in combineSelectToBinOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 710 SDValue FalseV = Op.getOperand(3); 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 | 833 SDValue FalseV = Op.getOperand(3); in LowerSELECT_CC() local 840 SDValue Ops[] = {TrueV, FalseV, TargetCC, Cmp}; in LowerSELECT_CC() 855 SDValue FalseV = DAG.getConstant(0, 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 | 1096 SDValue FalseV = Op.getOperand(3); 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 | 976 SDValue FalseV = Op.getOperand(3); 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 | 3295 Value *FalseV = SpeculatedStoreValue; 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()
|