reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
476 findMaskOperands(MI, 1, Ops); 477 if (Ops.size() == 1) OpToReplace = 2; // First operand can be exec or its copy 478 findMaskOperands(MI, 2, Ops); 479 if (Ops.size() != 3) return; 482 if (Ops[0].isIdenticalTo(Ops[1])) UniqueOpndIdx = 2; 482 if (Ops[0].isIdenticalTo(Ops[1])) UniqueOpndIdx = 2; 483 else if (Ops[0].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; 483 else if (Ops[0].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; 484 else if (Ops[1].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; 484 else if (Ops[1].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; 489 MI.addOperand(Ops[UniqueOpndIdx]);