Home
last modified time | relevance | path

Searched refs:LHS2 (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h250 InstructionCost LHS2(LHS);
251 LHS2 += RHS;
252 return LHS2;
257 InstructionCost LHS2(LHS);
258 LHS2 -= RHS;
259 return LHS2;
264 InstructionCost LHS2(LHS);
265 LHS2 *= RHS;
266 return LHS2;
271 InstructionCost LHS2(LHS);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2454 Value *LHS1, *LHS2, *RHS1, *RHS2; in hoistMinMax() local
2456 !MatchICmpAgainstInvariant(Cond2, P2, LHS2, RHS2)) in hoistMinMax()
2459 if (!MatchingPred || LHS1 != LHS2) in hoistMinMax()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp4161 Value *LHS2, *RHS2; in visitSelectInst() local
4162 if (SelectPatternFlavor SPF2 = matchSelectPattern(LHS, LHS2, RHS2).Flavor) in visitSelectInst()
4163 if (Instruction *R = foldSPFofSPF(cast<Instruction>(LHS), SPF2, LHS2, in visitSelectInst()
4166 if (SelectPatternFlavor SPF2 = matchSelectPattern(RHS, LHS2, RHS2).Flavor) in visitSelectInst()
4167 if (Instruction *R = foldSPFofSPF(cast<Instruction>(RHS), SPF2, LHS2, in visitSelectInst()
H A DInstCombineCompares.cpp3329 Value *LHS2, *RHS2; in matchThreeWayIntCompare() local
3330 if (!match(UnequalVal, m_Select(m_ICmp(PredB, m_Value(LHS2), m_Value(RHS2)), in matchThreeWayIntCompare()
3335 if (LHS2 != LHS) { in matchThreeWayIntCompare()
3337 std::swap(LHS2, RHS2); in matchThreeWayIntCompare()
3340 if (LHS2 != LHS) in matchThreeWayIntCompare()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp761 SDValue LHS2 = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, MVT::i16, LHS_1, in getAVRCmp() local
788 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHS2, RHS2, Cmp); in getAVRCmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp546 SDValue LHS2 = Val.getOperand(0); in matchSetCC() local
550 if (LHS == LHS2 && RHS == RHS2) { in matchSetCC()
553 if (CC == ISD::getSetCCInverse(CC2, LHS2.getValueType())) in matchSetCC()
555 } else if (LHS == RHS2 && RHS == LHS2) { in matchSetCC()
559 if (CC == ISD::getSetCCInverse(CC2, LHS2.getValueType())) in matchSetCC()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1157 const Value *LHS2 = nullptr, *RHS2 = nullptr; in isSignedMinMaxClamp() local
1158 SelectPatternFlavor SPF2 = matchSelectPattern(LHS, LHS2, RHS2).Flavor; in isSignedMinMaxClamp()
1168 In = LHS2; in isSignedMinMaxClamp()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5776 SDValue LHS1, LHS2; in OptimizeVFPBrcond() local
5778 expandf64Toi32(LHS, DAG, LHS1, LHS2); in OptimizeVFPBrcond()
5780 LHS2 = DAG.getNode(ISD::AND, dl, MVT::i32, LHS2, Mask); in OptimizeVFPBrcond()
5784 SDValue Ops[] = { Chain, ARMcc, LHS1, LHS2, RHS1, RHS2, Dest }; in OptimizeVFPBrcond()
12297 Register LHS2 = MI.getOperand(2).getReg(); in EmitInstrWithCustomInserter() local
12304 .addReg(LHS2).addImm(0) in EmitInstrWithCustomInserter()
12314 .addReg(LHS2).addReg(RHS2) in EmitInstrWithCustomInserter()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp8910 SDValue LHS2 = Val.getOperand(0); in matchSetCC() local
8914 if (LHS == LHS2 && RHS == RHS2) { in matchSetCC()
8917 if (CC == ISD::getSetCCInverse(CC2, LHS2.getValueType())) in matchSetCC()
8919 } else if (LHS == RHS2 && RHS == LHS2) { in matchSetCC()
8923 if (CC == ISD::getSetCCInverse(CC2, LHS2.getValueType())) in matchSetCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23858 SDValue LHS1, LHS2; in splitVSETCC() local
23859 std::tie(LHS1, LHS2) = splitVector(LHS, DAG, dl); in splitVSETCC()
23870 DAG.getNode(ISD::SETCC, dl, HiVT, LHS2, RHS2, CC)); in splitVSETCC()