Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp961 unsigned BinOpc = BO2->getOpcode(); in foldBinOpShiftWithShift() local
963 if (!IsValidBinOpc(I.getOpcode()) || !IsValidBinOpc(BinOpc)) in foldBinOpShiftWithShift()
968 BinOpc == Instruction::Xor && match(Mask, m_AllOnes())) { in foldBinOpShiftWithShift()
980 if (BinOpc == I.getOpcode() && in foldBinOpShiftWithShift()
981 IsCompletelyDistributable(I.getOpcode(), BinOpc, ShOpc)) { in foldBinOpShiftWithShift()
996 if (!CanDistributeBinops(I.getOpcode(), BinOpc, ShOpc, CMask, CShift)) in foldBinOpShiftWithShift()
1002 static_cast<Instruction::BinaryOps>(BinOpc), X, NewCMask); in foldBinOpShiftWithShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp662 unsigned BinOpc; in tryShrinkShlLogicImm() local
665 case ISD::AND: BinOpc = RISCV::ANDI; break; in tryShrinkShlLogicImm()
666 case ISD::OR: BinOpc = RISCV::ORI; break; in tryShrinkShlLogicImm()
667 case ISD::XOR: BinOpc = RISCV::XORI; break; in tryShrinkShlLogicImm()
673 CurDAG->getMachineNode(BinOpc, DL, VT, Shift.getOperand(0), in tryShrinkShlLogicImm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8353 auto IsBinOpImm = [](SDValue Op, unsigned BinOpc, unsigned Imm) { in MatchFunnelPosNeg() argument
8354 if (Op.getOpcode() != BinOpc) in MatchFunnelPosNeg()
27513 unsigned BinOpc = N1.getOpcode(); in foldSelectOfBinops() local
27514 if (!TLI.isBinOp(BinOpc) || (N2.getOpcode() != BinOpc) || in foldSelectOfBinops()
27535 SDValue NewBinOp = DAG.getNode(BinOpc, DL, OpVTs, NewSel, N1.getOperand(1)); in foldSelectOfBinops()
27550 DAG.getNode(BinOpc, DL, OpVTs, N1.getOperand(0), NewSel); in foldSelectOfBinops()