Home
last modified time | relevance | path

Searched refs:RHSOpcode (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1116 Instruction::BinaryOps LHSOpcode, RHSOpcode; in tryFactorizationFolds() local
1121 RHSOpcode = getBinOpsForFactorization(TopLevelOpcode, Op1, C, D, Op0); in tryFactorizationFolds()
1125 if (Op0 && Op1 && LHSOpcode == RHSOpcode) in tryFactorizationFolds()
1140 if (Value *Ident = getIdentityValue(RHSOpcode, LHS)) in tryFactorizationFolds()
1142 tryFactorization(I, SQ, Builder, RHSOpcode, LHS, Ident, C, D)) in tryFactorizationFolds()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2409 unsigned LHSOpcode, RHSOpcode, LHSIndex, RHSIndex; in LowerConvertLow() local
2412 !GetConvertedLane(Op.getOperand(1), RHSOpcode, RHSSrcVec, RHSIndex)) in LowerConvertLow()
2415 if (LHSOpcode != RHSOpcode) in LowerConvertLow()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12895 unsigned RHSOpcode = RHS->getOpcode(); in foldPartialReduceMLAMulOp() local
12896 if (!ISD::isExtOpcode(RHSOpcode)) in foldPartialReduceMLAMulOp()
12904 if (LHSOpcode == ISD::SIGN_EXTEND && RHSOpcode == ISD::SIGN_EXTEND) in foldPartialReduceMLAMulOp()
12906 else if (LHSOpcode == ISD::ZERO_EXTEND && RHSOpcode == ISD::ZERO_EXTEND) in foldPartialReduceMLAMulOp()
12908 else if (LHSOpcode == ISD::SIGN_EXTEND && RHSOpcode == ISD::ZERO_EXTEND) in foldPartialReduceMLAMulOp()
12910 else if (LHSOpcode == ISD::ZERO_EXTEND && RHSOpcode == ISD::SIGN_EXTEND) { in foldPartialReduceMLAMulOp()