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

References

lib/Target/X86/MCTargetDesc/X86InstComments.cpp
  504   unsigned NumOperands = MI->getNumOperands();
  507   if (printFMA3Comments(MI, OS))
  510   switch (MI->getOpcode()) {
  518     Src2Name = getRegName(MI->getOperand(2).getReg());
  523     if (MI->getOperand(NumOperands - 1).isImm())
  524       DecodeBLENDMask(getRegOperandNumElts(MI, 64, 0),
  525                       MI->getOperand(NumOperands - 1).getImm(),
  527     Src1Name = getRegName(MI->getOperand(1).getReg());
  528     DestName = getRegName(MI->getOperand(0).getReg());
  534     Src2Name = getRegName(MI->getOperand(2).getReg());
  539     if (MI->getOperand(NumOperands - 1).isImm())
  540       DecodeBLENDMask(getRegOperandNumElts(MI, 32, 0),
  541                       MI->getOperand(NumOperands - 1).getImm(),
  543     Src1Name = getRegName(MI->getOperand(1).getReg());
  544     DestName = getRegName(MI->getOperand(0).getReg());
  550     Src2Name = getRegName(MI->getOperand(2).getReg());
  555     if (MI->getOperand(NumOperands - 1).isImm())
  556       DecodeBLENDMask(getRegOperandNumElts(MI, 16, 0),
  557                       MI->getOperand(NumOperands - 1).getImm(),
  559     Src1Name = getRegName(MI->getOperand(1).getReg());
  560     DestName = getRegName(MI->getOperand(0).getReg());
  565     Src2Name = getRegName(MI->getOperand(2).getReg());
  569     if (MI->getOperand(NumOperands - 1).isImm())
  570       DecodeBLENDMask(getRegOperandNumElts(MI, 32, 0),
  571                       MI->getOperand(NumOperands - 1).getImm(),
  573     Src1Name = getRegName(MI->getOperand(1).getReg());
  574     DestName = getRegName(MI->getOperand(0).getReg());
  580     Src2Name = getRegName(MI->getOperand(2).getReg());
  585     DestName = getRegName(MI->getOperand(0).getReg());
  586     Src1Name = getRegName(MI->getOperand(1).getReg());
  587     if (MI->getOperand(NumOperands - 1).isImm())
  588       DecodeINSERTPSMask(MI->getOperand(NumOperands - 1).getImm(),
  595     Src2Name = getRegName(MI->getOperand(2).getReg());
  596     Src1Name = getRegName(MI->getOperand(1).getReg());
  597     DestName = getRegName(MI->getOperand(0).getReg());
  604     Src2Name = getRegName(MI->getOperand(2).getReg());
  605     Src1Name = getRegName(MI->getOperand(1).getReg());
  606     DestName = getRegName(MI->getOperand(0).getReg());
  613     Src1Name = getRegName(MI->getOperand(1).getReg());
  614     DestName = getRegName(MI->getOperand(0).getReg());
  621     Src1Name = getRegName(MI->getOperand(1).getReg());
  622     DestName = getRegName(MI->getOperand(0).getReg());
  629     Src1Name = getRegName(MI->getOperand(1).getReg());
  630     DestName = getRegName(MI->getOperand(0).getReg());
  637     Src1Name = getRegName(MI->getOperand(1).getReg());
  638     DestName = getRegName(MI->getOperand(0).getReg());
  643     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  647     DestName = getRegName(MI->getOperand(0).getReg());
  648     DecodeMOVSLDUPMask(getRegOperandNumElts(MI, 32, 0), ShuffleMask);
  652     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  656     DestName = getRegName(MI->getOperand(0).getReg());
  657     DecodeMOVSHDUPMask(getRegOperandNumElts(MI, 32, 0), ShuffleMask);
  661     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  665     DestName = getRegName(MI->getOperand(0).getReg());
  666     DecodeMOVDDUPMask(getRegOperandNumElts(MI, 64, 0), ShuffleMask);
  675     Src1Name = getRegName(MI->getOperand(1).getReg());
  680     DestName = getRegName(MI->getOperand(0).getReg());
  681     if (MI->getOperand(NumOperands - 1).isImm())
  682       DecodePSLLDQMask(getRegOperandNumElts(MI, 8, 0),
  683                        MI->getOperand(NumOperands - 1).getImm(),
  693     Src1Name = getRegName(MI->getOperand(1).getReg());
  698     DestName = getRegName(MI->getOperand(0).getReg());
  699     if (MI->getOperand(NumOperands - 1).isImm())
  700       DecodePSRLDQMask(getRegOperandNumElts(MI, 8, 0),
  701                        MI->getOperand(NumOperands - 1).getImm(),
  706     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  711     Src2Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  712     DestName = getRegName(MI->getOperand(0).getReg());
  713     if (MI->getOperand(NumOperands - 1).isImm())
  714       DecodePALIGNRMask(getRegOperandNumElts(MI, 8, 0),
  715                         MI->getOperand(NumOperands - 1).getImm(),
  722     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  729     Src2Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  730     DestName = getRegName(MI->getOperand(0).getReg());
  731     if (MI->getOperand(NumOperands - 1).isImm())
  732       DecodeVALIGNMask(getRegOperandNumElts(MI, 64, 0),
  733                        MI->getOperand(NumOperands - 1).getImm(),
  740     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  747     Src2Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  748     DestName = getRegName(MI->getOperand(0).getReg());
  749     if (MI->getOperand(NumOperands - 1).isImm())
  750       DecodeVALIGNMask(getRegOperandNumElts(MI, 32, 0),
  751                        MI->getOperand(NumOperands - 1).getImm(),
  756     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  760     DestName = getRegName(MI->getOperand(0).getReg());
  761     if (MI->getOperand(NumOperands - 1).isImm())
  762       DecodePSHUFMask(getRegOperandNumElts(MI, 32, 0), 32,
  763                       MI->getOperand(NumOperands - 1).getImm(),
  768     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  772     DestName = getRegName(MI->getOperand(0).getReg());
  773     if (MI->getOperand(NumOperands - 1).isImm())
  774       DecodePSHUFHWMask(getRegOperandNumElts(MI, 16, 0),
  775                         MI->getOperand(NumOperands - 1).getImm(),
  780     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  784     DestName = getRegName(MI->getOperand(0).getReg());
  785     if (MI->getOperand(NumOperands - 1).isImm())
  786       DecodePSHUFLWMask(getRegOperandNumElts(MI, 16, 0),
  787                         MI->getOperand(NumOperands - 1).getImm(),
  792     Src1Name = getRegName(MI->getOperand(1).getReg());
  796     DestName = getRegName(MI->getOperand(0).getReg());
  797     if (MI->getOperand(NumOperands - 1).isImm())
  798       DecodePSHUFMask(4, 16, MI->getOperand(NumOperands - 1).getImm(),
  803     Src1Name = getRegName(MI->getOperand(1).getReg());
  807     DestName = getRegName(MI->getOperand(0).getReg());
  813     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  819     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  820     DestName = getRegName(MI->getOperand(0).getReg());
  821     DecodeUNPCKHMask(getRegOperandNumElts(MI, 8, 0), 8, ShuffleMask);
  826     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  832     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  833     DestName = getRegName(MI->getOperand(0).getReg());
  834     DecodeUNPCKHMask(getRegOperandNumElts(MI, 16, 0), 16, ShuffleMask);
  839     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  845     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  846     DestName = getRegName(MI->getOperand(0).getReg());
  847     DecodeUNPCKHMask(getRegOperandNumElts(MI, 32, 0), 32, ShuffleMask);
  851     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  856     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  857     DestName = getRegName(MI->getOperand(0).getReg());
  858     DecodeUNPCKHMask(getRegOperandNumElts(MI, 64, 0), 64, ShuffleMask);
  863     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  869     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  870     DestName = getRegName(MI->getOperand(0).getReg());
  871     DecodeUNPCKLMask(getRegOperandNumElts(MI, 8, 0), 8, ShuffleMask);
  876     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  882     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  883     DestName = getRegName(MI->getOperand(0).getReg());
  884     DecodeUNPCKLMask(getRegOperandNumElts(MI, 16, 0), 16, ShuffleMask);
  889     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  895     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  896     DestName = getRegName(MI->getOperand(0).getReg());
  897     DecodeUNPCKLMask(getRegOperandNumElts(MI, 32, 0), 32, ShuffleMask);
  901     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  906     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  907     DestName = getRegName(MI->getOperand(0).getReg());
  908     DecodeUNPCKLMask(getRegOperandNumElts(MI, 64, 0), 64, ShuffleMask);
  912     Src2Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  917     if (MI->getOperand(NumOperands - 1).isImm())
  918       DecodeSHUFPMask(getRegOperandNumElts(MI, 64, 0), 64,
  919                       MI->getOperand(NumOperands - 1).getImm(), ShuffleMask);
  920     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  921     DestName = getRegName(MI->getOperand(0).getReg());
  925     Src2Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  930     if (MI->getOperand(NumOperands - 1).isImm())
  931       DecodeSHUFPMask(getRegOperandNumElts(MI, 32, 0), 32,
  932                       MI->getOperand(NumOperands - 1).getImm(),
  934     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  935     DestName = getRegName(MI->getOperand(0).getReg());
  939     Src2Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  944     decodeVSHUF64x2FamilyMask(getRegOperandNumElts(MI, 64, 0), 64,
  945                               MI->getOperand(NumOperands - 1).getImm(),
  947     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  948     DestName = getRegName(MI->getOperand(0).getReg());
  952     Src2Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
  957     decodeVSHUF64x2FamilyMask(getRegOperandNumElts(MI, 32, 0), 32,
  958                               MI->getOperand(NumOperands - 1).getImm(),
  960     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?3:7)).getReg());
  961     DestName = getRegName(MI->getOperand(0).getReg());
  965     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  970     DecodeUNPCKLMask(getRegOperandNumElts(MI, 64, 0), 64, ShuffleMask);
  971     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  972     DestName = getRegName(MI->getOperand(0).getReg());
  976     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  981     DecodeUNPCKLMask(getRegOperandNumElts(MI, 32, 0), 32, ShuffleMask);
  982     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  983     DestName = getRegName(MI->getOperand(0).getReg());
  987     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
  992     DecodeUNPCKHMask(getRegOperandNumElts(MI, 64, 0), 64, ShuffleMask);
  993     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
  994     DestName = getRegName(MI->getOperand(0).getReg());
  998     Src2Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1003     DecodeUNPCKHMask(getRegOperandNumElts(MI, 32, 0), 32, ShuffleMask);
 1004     Src1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg());
 1005     DestName = getRegName(MI->getOperand(0).getReg());
 1009     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
 1013     if (MI->getOperand(NumOperands - 1).isImm())
 1014       DecodePSHUFMask(getRegOperandNumElts(MI, 32, 0), 32,
 1015                       MI->getOperand(NumOperands - 1).getImm(),
 1017     DestName = getRegName(MI->getOperand(0).getReg());
 1021     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
 1025     if (MI->getOperand(NumOperands - 1).isImm())
 1026       DecodePSHUFMask(getRegOperandNumElts(MI, 64, 0), 64,
 1027                       MI->getOperand(NumOperands - 1).getImm(),
 1029     DestName = getRegName(MI->getOperand(0).getReg());
 1034     Src2Name = getRegName(MI->getOperand(2).getReg());
 1040     if (MI->getOperand(NumOperands - 1).isImm())
 1041       DecodeVPERM2X128Mask(4, MI->getOperand(NumOperands - 1).getImm(),
 1043     Src1Name = getRegName(MI->getOperand(1).getReg());
 1044     DestName = getRegName(MI->getOperand(0).getReg());
 1048     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
 1052     if (MI->getOperand(NumOperands - 1).isImm())
 1053       DecodeVPERMMask(getRegOperandNumElts(MI, 64, 0),
 1054                       MI->getOperand(NumOperands - 1).getImm(),
 1056     DestName = getRegName(MI->getOperand(0).getReg());
 1060     Src1Name = getRegName(MI->getOperand(NumOperands - 2).getReg());
 1064     if (MI->getOperand(NumOperands - 1).isImm())
 1065       DecodeVPERMMask(getRegOperandNumElts(MI, 64, 0),
 1066                       MI->getOperand(NumOperands - 1).getImm(),
 1068     DestName = getRegName(MI->getOperand(0).getReg());
 1074     Src2Name = getRegName(MI->getOperand(2).getReg());
 1075     Src1Name = getRegName(MI->getOperand(1).getReg());
 1085     DestName = getRegName(MI->getOperand(0).getReg());
 1091     Src2Name = getRegName(MI->getOperand(2).getReg());
 1092     Src1Name = getRegName(MI->getOperand(1).getReg());
 1102     DestName = getRegName(MI->getOperand(0).getReg());
 1111     Src1Name = getRegName(MI->getOperand(1).getReg());
 1118     DestName = getRegName(MI->getOperand(0).getReg());
 1125     DestName = getRegName(MI->getOperand(0).getReg());
 1129     if (MI->getOperand(2).isImm() &&
 1130         MI->getOperand(3).isImm())
 1131       DecodeEXTRQIMask(16, 8, MI->getOperand(2).getImm(),
 1132                        MI->getOperand(3).getImm(), ShuffleMask);
 1134     DestName = getRegName(MI->getOperand(0).getReg());
 1135     Src1Name = getRegName(MI->getOperand(1).getReg());
 1139     if (MI->getOperand(3).isImm() &&
 1140         MI->getOperand(4).isImm())
 1141       DecodeINSERTQIMask(16, 8, MI->getOperand(3).getImm(),
 1142                          MI->getOperand(4).getImm(), ShuffleMask);
 1144     DestName = getRegName(MI->getOperand(0).getReg());
 1145     Src1Name = getRegName(MI->getOperand(1).getReg());
 1146     Src2Name = getRegName(MI->getOperand(2).getReg());
 1154     DestName = getRegName(MI->getOperand(0).getReg());
 1159     DestName = getRegName(MI->getOperand(0).getReg());
 1164     DestName = getRegName(MI->getOperand(0).getReg());
 1169     DestName = getRegName(MI->getOperand(0).getReg());
 1174     DestName = getRegName(MI->getOperand(0).getReg());
 1179     DestName = getRegName(MI->getOperand(0).getReg());
 1182     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1186     DestName = getRegName(MI->getOperand(0).getReg());
 1190     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1195     DestName = getRegName(MI->getOperand(0).getReg());
 1199     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1204     DestName = getRegName(MI->getOperand(0).getReg());
 1208     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1211     DecodeZeroExtendMask(8, 16, getRegOperandNumElts(MI, 16, 0), false,
 1213     DestName = getRegName(MI->getOperand(0).getReg());
 1217     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1220     DecodeZeroExtendMask(8, 32, getRegOperandNumElts(MI, 32, 0), false,
 1222     DestName = getRegName(MI->getOperand(0).getReg());
 1226     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1229     DecodeZeroExtendMask(8, 64, getRegOperandNumElts(MI, 64, 0), false,
 1231     DestName = getRegName(MI->getOperand(0).getReg());
 1235     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1238     DecodeZeroExtendMask(16, 32, getRegOperandNumElts(MI, 32, 0), false,
 1240     DestName = getRegName(MI->getOperand(0).getReg());
 1244     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1247     DecodeZeroExtendMask(16, 64, getRegOperandNumElts(MI, 64, 0), false,
 1249     DestName = getRegName(MI->getOperand(0).getReg());
 1253     Src1Name = getRegName(MI->getOperand(NumOperands - 1).getReg());
 1256     DecodeZeroExtendMask(32, 64, getRegOperandNumElts(MI, 64, 0), false,
 1258     DestName = getRegName(MI->getOperand(0).getReg());
 1270     printMasking(OS, MI, MCII);