Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:II

132             const MCInstrDesc &II = TII->get(User->getMachineOpcode());
134 if (i+II.getNumDefs() < II.getNumOperands()) {
136 TII->getRegClass(II, i+II.getNumDefs(), TRI, *MF));
207 const MCInstrDesc &II,
213 for (unsigned i = 0; i < II.getNumDefs(); ++i) {
219 TRI->getAllocatableClass(TII->getRegClass(II, i, TRI, *MF));
220 if (II.OpInfo[i].isOptionalDef()) {
295 const MCInstrDesc *II,
312 // and II requires a GR32_NOSP, just constrain VReg to GR32_NOSP.
313 if (II) {
315 if (IIOpNum < II->getNumOperands())
316 DstRC = TRI->getAllocatableClass(TII->getRegClass(*II,IIOpNum,TRI,*MF));
355 /// AddOperand - Add the specified operand to the specified machine instr. II
357 /// operand number (in the II) that we are adding.
360 const MCInstrDesc *II,
364 AddRegisterOperand(MI, Op, IIOpNum, II, VRBaseMap,
375 bool Imp = II && (IIOpNum >= II->getNumOperands() && !II->isVariadic());
424 AddRegisterOperand(MI, Op, IIOpNum, II, VRBaseMap,
605 const MCInstrDesc &II = TII->get(TargetOpcode::REG_SEQUENCE);
624 AddOperand(MI, Op, i+1, &II, VRBaseMap, /*IsDebug=*/false,
651 const MCInstrDesc &II = TII->get(TargetOpcode::DBG_VALUE);
652 MachineInstrBuilder MIB = BuildMI(*MF, DL, II);
665 AddOperand(&*MIB, Op, (*MIB).getNumOperands(), &II, VRBaseMap,
722 const MCInstrDesc &II = TII->get(Opc);
726 countOperands(Node, II.getNumOperands() - II.getNumDefs(), NumImpUses);
727 bool HasPhysRegOuts = NumResults > II.getNumDefs() && II.getImplicitDefs()!=0;
730 if (II.isVariadic())
731 assert(NumMIOperands >= II.getNumOperands() &&
734 assert(NumMIOperands >= II.getNumOperands() &&
735 NumMIOperands <= II.getNumOperands() + II.getNumImplicitDefs() +
741 MachineInstr *MI = BuildMI(*MF, Node->getDebugLoc(), II);
746 CreateVirtualRegisters(Node, MI, II, IsClone, IsCloned, VRBaseMap);
750 bool HasOptPRefs = II.getNumDefs() > NumResults;
753 unsigned NumSkip = HasOptPRefs ? II.getNumDefs() - NumResults : 0;
755 AddOperand(MI, Node->getOperand(i), i-NumSkip+II.getNumDefs(), &II,
786 for (unsigned i = II.getNumDefs(); i < NumResults; ++i) {
787 unsigned Reg = II.getImplicitDefs()[i - II.getNumDefs()];
822 if (!UsedRegs.empty() || II.getImplicitDefs())
827 if (II.hasPostISelHook())