reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/X86/X86InstrInfo.cpp
 1536   switch (MI.getOpcode()) {
 1545     switch (MI.getOpcode()) {
 1554     unsigned Amt = MI.getOperand(3).getImm();
 1555     auto &WorkingMI = cloneIfNew(MI);
 1566         (X86::PFSUBRrr == MI.getOpcode() ? X86::PFSUBrr : X86::PFSUBRrr);
 1567     auto &WorkingMI = cloneIfNew(MI);
 1577     if (MI.getParent()->getParent()->getFunction().hasOptSize()) {
 1579       switch (MI.getOpcode()) {
 1586       if ((MI.getOperand(3).getImm() ^ Mask) == 1) {
 1587         auto &WorkingMI = cloneIfNew(MI);
 1604     switch (MI.getOpcode()) {
 1621     int8_t Imm = MI.getOperand(3).getImm() & Mask;
 1622     auto &WorkingMI = cloneIfNew(MI);
 1630     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm();
 1630     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm();
 1642       auto &WorkingMI = cloneIfNew(MI);
 1643       WorkingMI.getOperand(MI.getNumOperands() - 1).setImm(AltImm);
 1656       switch (MI.getOpcode()) {
 1664       auto &WorkingMI = cloneIfNew(MI);
 1672     assert(MI.getOpcode() == X86::MOVSDrr &&
 1675     auto &WorkingMI = cloneIfNew(MI);
 1683     assert(MI.getOperand(3).getImm() == 0x02 && "Unexpected immediate!");
 1684     auto &WorkingMI = cloneIfNew(MI);
 1698     unsigned Imm = MI.getOperand(3).getImm();
 1701     auto &WorkingMI = cloneIfNew(MI);
 1731     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm() & 0x7;
 1731     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm() & 0x7;
 1733     auto &WorkingMI = cloneIfNew(MI);
 1734     WorkingMI.getOperand(MI.getNumOperands() - 1).setImm(Imm);
 1743     unsigned Imm = MI.getOperand(3).getImm() & 0x7;
 1745     auto &WorkingMI = cloneIfNew(MI);
 1764     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm() & 0x1f;
 1764     unsigned Imm = MI.getOperand(MI.getNumOperands() - 1).getImm() & 0x1f;
 1766     auto &WorkingMI = cloneIfNew(MI);
 1767     WorkingMI.getOperand(MI.getNumOperands() - 1).setImm(Imm);
 1776     int8_t Imm = MI.getOperand(3).getImm() & 0xFF;
 1777     auto &WorkingMI = cloneIfNew(MI);
 1790     unsigned Opc = MI.getOpcode();
 1800     auto &WorkingMI = cloneIfNew(MI);
 1806     auto &WorkingMI = cloneIfNew(MI);
 1807     unsigned OpNo = MI.getDesc().getNumOperands() - 1;
 1808     X86::CondCode CC = static_cast<X86::CondCode>(MI.getOperand(OpNo).getImm());
 1843     auto &WorkingMI = cloneIfNew(MI);
 1849     if (isCommutableVPERMV3Instruction(MI.getOpcode())) {
 1850       unsigned Opc = getCommutedVPERMV3Opcode(MI.getOpcode());
 1851       auto &WorkingMI = cloneIfNew(MI);
 1857     const X86InstrFMA3Group *FMA3Group = getFMA3Group(MI.getOpcode(),
 1858                                                       MI.getDesc().TSFlags);
 1861         getFMA3OpcodeToCommuteOperands(MI, OpIdx1, OpIdx2, *FMA3Group);
 1862       auto &WorkingMI = cloneIfNew(MI);
 1868     return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2);