Lines Matching defs:OrOpd0
3404 static bool tryOrrWithShift(SDNode *N, SDValue OrOpd0, SDValue OrOpd1,
3409 assert(((N->getOperand(0) == OrOpd0 && N->getOperand(1) == OrOpd1) ||
3410 (N->getOperand(1) == OrOpd0 && N->getOperand(0) == OrOpd1)) &&
3411 "Expect OrOpd0 and OrOpd1 to be operands of ISD::OR");
3425 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::AND, SrcAndImm) &&
3426 isMask_64(SrcAndImm) && OrOpd0.getOperand(0) == Src) {
3427 // OrOpd0 = AND Src, #Mask
3437 SDValue Ops[] = {OrOpd0, ShiftedOperand,
3449 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::SHL, ShlImm)) {
3450 if (OrOpd0.getOperand(0) == Src && OrOpd0.hasOneUse()) {
3465 // 1) OrOpd0 would be the operand from which extract bits (i.e., folded into
3468 // Instead of selecting N to BFI, fold OrOpd0 as a left shift directly.
3469 if (OrOpd0.getOperand(0) == OrOpd1) {
3480 if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::SRL, SrlImm)) {
3487 // 1) OrOpd0 would be the operand from which extract bits (i.e., folded into
3490 // Instead of selecting N to BFXIL, fold OrOpd0 as a right shift directly.
3491 if (OrOpd0.getOperand(0) == OrOpd1) {
3544 SDNode *OrOpd0 = OrOpd0Val.getNode();
3550 if (isBitfieldExtractOp(CurDAG, OrOpd0, BFXOpc, Src, ImmR, ImmS,