reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1564 LLVM_DEBUG(dbgs() << "\nCannot predicate:"; MI.dump();); 1567 int Opc = MI.getOpcode(); 1568 assert (isPredicable(MI) && "Expected predicable instruction"); 1576 MachineBasicBlock &B = *MI.getParent(); 1577 DebugLoc DL = MI.getDebugLoc(); 1579 MachineInstrBuilder T = BuildMI(B, MI, DL, get(PredOpc)); 1580 unsigned NOp = 0, NumOps = MI.getNumOperands(); 1582 MachineOperand &Op = MI.getOperand(NOp); 1595 T.add(MI.getOperand(NOp++)); 1597 MI.setDesc(get(PredOpc)); 1598 while (unsigned n = MI.getNumOperands()) 1599 MI.RemoveOperand(n-1); 1601 MI.addOperand(T->getOperand(i));