Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp657 unsigned BinOpc; in tryShrinkShlLogicImm() local
660 case ISD::AND: BinOpc = RISCV::ANDI; break; in tryShrinkShlLogicImm()
661 case ISD::OR: BinOpc = RISCV::ORI; break; in tryShrinkShlLogicImm()
662 case ISD::XOR: BinOpc = RISCV::XORI; break; in tryShrinkShlLogicImm()
668 CurDAG->getMachineNode(BinOpc, DL, VT, Shift.getOperand(0), in tryShrinkShlLogicImm()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7621 auto IsBinOpImm = [](SDValue Op, unsigned BinOpc, unsigned Imm) { in MatchFunnelPosNeg() argument
7622 if (Op.getOpcode() != BinOpc) in MatchFunnelPosNeg()
25409 unsigned BinOpc = N1.getOpcode(); in foldSelectOfBinops() local
25410 if (!TLI.isBinOp(BinOpc) || (N2.getOpcode() != BinOpc)) in foldSelectOfBinops()
25429 SDValue NewBinOp = DAG.getNode(BinOpc, DL, OpVTs, NewSel, N1.getOperand(1)); in foldSelectOfBinops()
25443 SDValue NewBinOp = DAG.getNode(BinOpc, DL, OpVTs, N1.getOperand(0), NewSel); in foldSelectOfBinops()