reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1022 MachineFunction &MF = *MI->getMF(); 1038 for(unsigned OperIdx = 0; OperIdx != MI->getNumOperands(); ++OperIdx) { 1039 MachineOperand &MO = MI->getOperand(OperIdx); 1046 MachineInstrBuilder MIB = BuildMI(MF, MI->getDebugLoc(), MI->getDesc()); 1046 MachineInstrBuilder MIB = BuildMI(MF, MI->getDebugLoc(), MI->getDesc()); 1050 MIB.add(MI->getOperand(i)); 1057 assert(MI->getOpcode() == TargetOpcode::STATEPOINT && "sanity"); 1060 MIB.add(MI->getOperand(OperIdx)); 1066 MIB.add(MI->getOperand(OperIdx)); 1070 for (unsigned i = OperIdx + 1; i != MI->getNumOperands(); ++i) 1071 MIB.add(MI->getOperand(i)); 1074 MIB.cloneMemRefs(*MI); 1082 if (MI->getOpcode() != TargetOpcode::STATEPOINT) { 1091 MBB->insert(MachineBasicBlock::iterator(MI), MIB); 1092 OperIdx += (MIB->getNumOperands() - MI->getNumOperands()) - 1; 1093 MI->eraseFromParent(); 1094 MI = MIB;