Lines Matching defs:OrOpd0
3455 static bool tryOrrWithShift(SDNode *N, SDValue OrOpd0, SDValue OrOpd1,
3460 assert(((N->getOperand(0) == OrOpd0 && N->getOperand(1) == OrOpd1) ||
3461 (N->getOperand(1) == OrOpd0 && N->getOperand(0) == OrOpd1)) &&
3462 "Expect OrOpd0 and OrOpd1 to be operands of ISD::OR");
3476 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::AND, SrcAndImm) &&
3477 isMask_64(SrcAndImm) && OrOpd0.getOperand(0) == Src) {
3478 // OrOpd0 = AND Src, #Mask
3488 SDValue Ops[] = {OrOpd0, ShiftedOperand,
3500 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::SHL, ShlImm)) {
3501 if (OrOpd0.getOperand(0) == Src && OrOpd0.hasOneUse()) {
3516 // 1) OrOpd0 would be the operand from which extract bits (i.e., folded into
3519 // Instead of selecting N to BFI, fold OrOpd0 as a left shift directly.
3520 if (OrOpd0.getOperand(0) == OrOpd1) {
3531 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::SRL, SrlImm)) {
3538 // 1) OrOpd0 would be the operand from which extract bits (i.e., folded into
3541 // Instead of selecting N to BFXIL, fold OrOpd0 as a right shift directly.
3542 if (OrOpd0.getOperand(0) == OrOpd1) {
3595 SDNode *OrOpd0 = OrOpd0Val.getNode();
3601 if (isBitfieldExtractOp(CurDAG, OrOpd0, BFXOpc, Src, ImmR, ImmS,