Lines Matching refs:getOperand
323 && isInt32Immediate(N->getOperand(1).getNode(), Imm); in isOpcWithIntImmediate()
359 !isInt32Immediate(N->getOperand(1).getNode(), Shift) || (Shift > 31)) in isRotateAndMask()
392 SDValue Op0 = N->getOperand(0); in SelectBitfieldInsert()
393 SDValue Op1 = N->getOperand(1); in SelectBitfieldInsert()
413 if (Op0.getOperand(0).getOpcode() == ISD::SHL || in SelectBitfieldInsert()
414 Op0.getOperand(0).getOpcode() == ISD::SRL) { in SelectBitfieldInsert()
415 if (Op1.getOperand(0).getOpcode() != ISD::SHL && in SelectBitfieldInsert()
416 Op1.getOperand(0).getOpcode() != ISD::SRL) { in SelectBitfieldInsert()
423 if (Op1Opc == ISD::AND && Op1.getOperand(0).getOpcode() != ISD::SHL && in SelectBitfieldInsert()
424 Op1.getOperand(0).getOpcode() != ISD::SRL) { in SelectBitfieldInsert()
436 isInt32Immediate(Op1.getOperand(1), Value)) { in SelectBitfieldInsert()
437 Op1 = Op1.getOperand(0); in SelectBitfieldInsert()
441 unsigned SHOpc = Op1.getOperand(0).getOpcode(); in SelectBitfieldInsert()
443 isInt32Immediate(Op1.getOperand(0).getOperand(1), Value)) { in SelectBitfieldInsert()
444 Op1 = Op1.getOperand(0).getOperand(0); in SelectBitfieldInsert()
447 Op1 = Op1.getOperand(0); in SelectBitfieldInsert()
627 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get(); in SelectSETCC()
631 if (isInt32Immediate(N->getOperand(1), Imm)) { in SelectSETCC()
636 SDValue Op = N->getOperand(0); in SelectSETCC()
665 SDValue Op = N->getOperand(0); in SelectSETCC()
707 SDValue CCReg = SelectCC(N->getOperand(0), N->getOperand(1), CC, dl); in SelectSETCC()
851 SDValue InFlag = N->getOperand(1); in Select()
855 N->getOperand(0), InFlag); in Select()
858 N->getOperand(0), InFlag); in Select()
868 if (isInt32Immediate(N->getOperand(1), Imm)) { in Select()
869 SDValue N0 = N->getOperand(0); in Select()
982 if (isInt32Immediate(N->getOperand(1), Imm) && in Select()
983 isRotateAndMask(N->getOperand(0).getNode(), Imm, false, SH, MB, ME)) { in Select()
984 SDValue Val = N->getOperand(0).getOperand(0); in Select()
990 if (isInt32Immediate(N->getOperand(1), Imm) && in Select()
992 N->getOperand(0).getOpcode() != ISD::ROTL) { in Select()
993 SDValue Val = N->getOperand(0); in Select()
998 if (isInt64Immediate(N->getOperand(1).getNode(), Imm64) && in Select()
1000 SDValue Val = N->getOperand(0); in Select()
1006 if (isInt32Immediate(N->getOperand(1), Imm) && (Imm == 0)) { in Select()
1007 ReplaceUses(SDValue(N, 0), N->getOperand(1)); in Select()
1012 if (isInt32Immediate(N->getOperand(1), Imm) && in Select()
1013 N->getOperand(0).getOpcode() == ISD::OR && in Select()
1014 isInt32Immediate(N->getOperand(0).getOperand(1), Imm2)) { in Select()
1018 SDValue Ops[] = { N->getOperand(0).getOperand(0), in Select()
1019 N->getOperand(0).getOperand(1), in Select()
1037 if (isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::AND, Imm) && in Select()
1039 SDValue Ops[] = { N->getOperand(0).getOperand(0), in Select()
1049 if (isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::AND, Imm) && in Select()
1051 SDValue Ops[] = { N->getOperand(0).getOperand(0), in Select()
1060 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(4))->get(); in Select()
1066 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1))) in Select()
1067 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select()
1068 if (ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(N->getOperand(3))) in Select()
1075 N->getOperand(0), getI32Imm(~0U)); in Select()
1077 SDValue(Tmp, 0), N->getOperand(0), in Select()
1081 SDValue CCReg = SelectCC(N->getOperand(0), N->getOperand(1), CC, dl); in Select()
1096 SDValue Ops[] = { CCReg, N->getOperand(2), N->getOperand(3), in Select()
1108 getI32Imm(cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()); in Select()
1109 SDValue Ops[] = { Pred, N->getOperand(2), N->getOperand(3), in Select()
1110 N->getOperand(0), N->getOperand(4) }; in Select()
1114 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(1))->get(); in Select()
1115 SDValue CondCode = SelectCC(N->getOperand(2), N->getOperand(3), CC, dl); in Select()
1117 N->getOperand(4), N->getOperand(0) }; in Select()
1122 SDValue Chain = N->getOperand(0); in Select()
1123 SDValue Target = N->getOperand(1); in Select()