Lines Matching refs:getOperand
484 N->getOperand(0), N->getOperand(1));
553 SDValue LHS = Op.getOperand(0);
558 SDValue RHS = Op.getOperand(1);
563 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
572 ConstantSDNode *CC = cast<ConstantSDNode>(Cond.getOperand(2));
586 SDValue SetCC = N->getOperand(0);
589 !SetCC.getOperand(0).getValueType().isInteger())
592 SDValue False = N->getOperand(2);
613 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC.getOperand(2))->get();
614 SDValue True = N->getOperand(1);
616 SetCC = DAG.getSetCC(DL, SetCC.getValueType(), SetCC.getOperand(0),
617 SetCC.getOperand(1), ISD::getSetCCInverse(CC, true));
624 SDValue True = N->getOperand(1);
649 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC.getOperand(2))->get();
650 SetCC = DAG.getSetCC(DL, SetCC.getValueType(), SetCC.getOperand(0),
651 SetCC.getOperand(1), ISD::getSetCCInverse(CC, true));
665 SDValue ValueIfTrue = N->getOperand(0), ValueIfFalse = N->getOperand(2);
681 SDValue FCC = N->getOperand(1), Glue = N->getOperand(3);
695 SDValue ShiftRight = N->getOperand(0), Mask = N->getOperand(1);
704 if (!(CN = dyn_cast<ConstantSDNode>(ShiftRight.getOperand(1))))
723 ShiftRight.getOperand(0),
738 SDValue And0 = N->getOperand(0), And1 = N->getOperand(1);
746 if (!(CN = dyn_cast<ConstantSDNode>(And0.getOperand(1))) ||
754 if (!(CN = dyn_cast<ConstantSDNode>(And1.getOperand(1))) ||
762 SDValue Shl = And1.getOperand(0);
766 if (!(CN = dyn_cast<ConstantSDNode>(Shl.getOperand(1))))
778 return DAG.getNode(MipsISD::Ins, DL, ValTy, Shl.getOperand(0),
781 And0.getOperand(0));
792 SDValue Add = N->getOperand(1);
797 SDValue Lo = Add.getOperand(1);
800 (Lo.getOperand(0).getOpcode() != ISD::TargetJumpTable))
806 SDValue Add1 = DAG.getNode(ISD::ADD, DL, ValTy, N->getOperand(0),
807 Add.getOperand(0));
920 MachineOperand &Divisor = MI->getOperand(2);
927 MIB->getOperand(0).setSubReg(Mips::sub_32);
1089 unsigned OldVal = MI->getOperand(0).getReg();
1090 unsigned Ptr = MI->getOperand(1).getReg();
1091 unsigned Incr = MI->getOperand(2).getReg();
1185 unsigned Dest = MI->getOperand(0).getReg();
1186 unsigned Ptr = MI->getOperand(1).getReg();
1187 unsigned Incr = MI->getOperand(2).getReg();
1356 unsigned Dest = MI->getOperand(0).getReg();
1357 unsigned Ptr = MI->getOperand(1).getReg();
1358 unsigned OldVal = MI->getOperand(2).getReg();
1359 unsigned NewVal = MI->getOperand(3).getReg();
1422 unsigned Dest = MI->getOperand(0).getReg();
1423 unsigned Ptr = MI->getOperand(1).getReg();
1424 unsigned CmpVal = MI->getOperand(2).getReg();
1425 unsigned NewVal = MI->getOperand(3).getReg();
1561 unsigned Fc = MI->getOperand(1).getReg();
1573 MI->getOperand(1).setReg(Fc2);
1582 SDValue Chain = Op.getOperand(0);
1583 SDValue Table = Op.getOperand(1);
1584 SDValue Index = Op.getOperand(2);
1616 SDValue Chain = Op.getOperand(0);
1617 SDValue Dest = Op.getOperand(2);
1621 SDValue CondRes = createFPCmp(DAG, Op.getOperand(1));
1627 SDValue CCNode = CondRes.getOperand(2);
1641 SDValue Cond = createFPCmp(DAG, Op.getOperand(0));
1647 return createCMovFP(DAG, Cond, Op.getOperand(1), Op.getOperand(2),
1655 EVT Ty = Op.getOperand(0).getValueType();
1659 Op.getOperand(0), Op.getOperand(1), Op.getOperand(4));
1661 return DAG.getNode(ISD::SELECT, DL, Op.getValueType(), Cond, Op.getOperand(2),
1662 Op.getOperand(3));
1849 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
1850 return DAG.getStore(Op.getOperand(0), DL, FI, Op.getOperand(1),
1857 SDValue Chain = Node->getOperand(0);
1858 SDValue VAListPtr = Node->getOperand(1);
1860 const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
1916 EVT TyX = Op.getOperand(0).getValueType();
1917 EVT TyY = Op.getOperand(1).getValueType();
1926 DAG.getNode(ISD::BITCAST, DL, MVT::i32, Op.getOperand(0)) :
1927 DAG.getNode(MipsISD::ExtractElementF64, DL, MVT::i32, Op.getOperand(0),
1930 DAG.getNode(ISD::BITCAST, DL, MVT::i32, Op.getOperand(1)) :
1931 DAG.getNode(MipsISD::ExtractElementF64, DL, MVT::i32, Op.getOperand(1),
1953 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), Res);
1956 Op.getOperand(0),
1963 unsigned WidthX = Op.getOperand(0).getValueSizeInBits();
1964 unsigned WidthY = Op.getOperand(1).getValueSizeInBits();
1970 SDValue X = DAG.getNode(ISD::BITCAST, DL, TyX, Op.getOperand(0));
1971 SDValue Y = DAG.getNode(ISD::BITCAST, DL, TyY, Op.getOperand(1));
1987 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), I);
2008 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), Or);
2022 assert((cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() == 0) &&
2040 getOperand(0))->getZExtValue() == 0) &&
2064 SDValue Chain = Op.getOperand(0);
2065 SDValue Offset = Op.getOperand(1);
2066 SDValue Handler = Op.getOperand(2);
2088 return DAG.getNode(MipsISD::Sync, DL, MVT::Other, Op.getOperand(0),
2097 SDValue Lo = Op.getOperand(0), Hi = Op.getOperand(1);
2098 SDValue Shamt = Op.getOperand(2);
2126 SDValue Lo = Op.getOperand(0), Hi = Op.getOperand(1);
2127 SDValue Shamt = Op.getOperand(2);
2300 Val.getOperand(0));
2321 if (Op->getOperand(0).getOpcode() != ISD::FRAMEADDR
2323 (Op->getOperand(0).getOperand(0))->getZExtValue() != 0
2324 || Op->getOperand(1).getOpcode() != ISD::FRAME_TO_ARGS_OFFSET)
2346 Op.getOperand(0));
3924 .addReg(MI->getOperand(1).getReg())
3929 .addReg(MI->getOperand(1).getReg())
3948 TII->get(Mips::PHI), MI->getOperand(0).getReg())
3949 .addReg(MI->getOperand(2).getReg()).addMBB(thisMBB)
3950 .addReg(MI->getOperand(3).getReg()).addMBB(copy0MBB);