Home
last modified time | relevance | path

Searched refs:LHS0 (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1340 if (LHS0 == RHS1 && RHS0 == LHS1) { in foldLogicOfFCmps()
1360 if (LHS0 == RHS0 && LHS1 == RHS1) { in foldLogicOfFCmps()
3104 Value *LHS0 = LHS->getOperand(0); in foldAndOrOfICmpEqConstantAndICmp() local
3139 Builder.CreateSub(LHS0, ConstantInt::get(LHS0->getType(), *CInt + 1)), in foldAndOrOfICmpEqConstantAndICmp()
3167 if (LHS0 == RHS1 && LHS1 == RHS0) { in foldAndOrOfICmps()
3169 std::swap(LHS0, LHS1); in foldAndOrOfICmps()
3171 if (LHS0 == RHS0 && LHS1 == RHS1) { in foldAndOrOfICmps()
3980 if (LHS0 == RHS1 && LHS1 == RHS0) { in foldXorOfICmps()
3981 std::swap(LHS0, LHS1); in foldXorOfICmps()
4015 if (LHS0 == RHS0) { in foldXorOfICmps()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1851 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1); in simplifyAndOrOfFCmps() local
1853 if (LHS0->getType() != RHS0->getType()) in simplifyAndOrOfFCmps()
1871 isKnownNeverNaN(LHS0, DL, TLI, 0, Q.AC, Q.CxtI, Q.DT)) || in simplifyAndOrOfFCmps()
1872 ((LHS0 == RHS0 || LHS0 == RHS1) && in simplifyAndOrOfFCmps()
1884 if (((RHS1 == LHS0 || RHS1 == LHS1) && in simplifyAndOrOfFCmps()
1886 ((RHS0 == LHS0 || RHS0 == LHS1) && in simplifyAndOrOfFCmps()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp827 SDValue LHS0 = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, MVT::i16, LHS_0, in getAVRCmp() local
856 Cmp = getAVRCmp(LHS0, RHS0, DAG, DL); in getAVRCmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1010 auto *LHS0 = dyn_cast<LoadSDNode>(LHS.getOperand(0)); in isDesirableToCommuteWithShift() local
1012 return LHS0 && LHS1 && RHSLd && LHS0->getExtensionType() == ISD::ZEXTLOAD && in isDesirableToCommuteWithShift()
1013 LHS1->getAPIntValue() == LHS0->getMemoryVT().getScalarSizeInBits() && in isDesirableToCommuteWithShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6164 SDValue LHS0 = LHS->getOperand(0); in foldAndOrOfSETCC() local
6175 EVT OpVT = LHS0.getValueType(); in foldAndOrOfSETCC()
6206 if (LHS0 == RHS0) { in foldAndOrOfSETCC()
6207 CommonValue = LHS0; in foldAndOrOfSETCC()
6213 Operand1 = LHS0; in foldAndOrOfSETCC()
6219 if (LHS0 == RHS1) { in foldAndOrOfSETCC()
6220 CommonValue = LHS0; in foldAndOrOfSETCC()
6226 Operand1 = LHS0; in foldAndOrOfSETCC()
6268 LHS0 == RHS0 && LHS1C && RHS1C && OpVT.isInteger()) { in foldAndOrOfSETCC()
6282 SDValue AbsOp = DAG.getNode(ISD::ABS, DL, OpVT, LHS0); in foldAndOrOfSETCC()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp14482 SDValue LHS0 = LHS.getOperand(0); in combine_CC() local
14483 if (LHS0.getOpcode() == ISD::AND && in combine_CC()
14484 LHS0.getOperand(1).getOpcode() == ISD::Constant) { in combine_CC()
14485 uint64_t Mask = LHS0.getConstantOperandVal(1); in combine_CC()
14492 LHS = LHS0.getOperand(0); in combine_CC()
14495 DAG.getNode(ISD::SHL, DL, LHS.getValueType(), LHS0.getOperand(0), in combine_CC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp47457 SDValue LHS0 = LHS.getOperand(0); in combineVectorHADDSUB() local
47461 if ((LHS0 == LHS1 || LHS0.isUndef() || LHS1.isUndef()) && in combineVectorHADDSUB()
47465 LHS0.isUndef() ? LHS1 : LHS0, in combineVectorHADDSUB()