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

References

lib/Target/X86/X86MCInstLower.cpp
  466   OutMI.setOpcode(MI->getOpcode());
  470       OutMI.addOperand(MaybeMCOp.getValue());
  473   switch (OutMI.getOpcode()) {
  479     assert(OutMI.getNumOperands() == 1 + X86::AddrNumOperands &&
  481     assert(OutMI.getOperand(1 + X86::AddrSegmentReg).getReg() == 0 &&
  500     if (!X86II::isX86_64ExtendedReg(OutMI.getOperand(0).getReg()) &&
  501         X86II::isX86_64ExtendedReg(OutMI.getOperand(1).getReg())) {
  503       switch (OutMI.getOpcode()) {
  519       OutMI.setOpcode(NewOpc);
  525     if (!X86II::isX86_64ExtendedReg(OutMI.getOperand(0).getReg()) &&
  526         X86II::isX86_64ExtendedReg(OutMI.getOperand(2).getReg())) {
  528       switch (OutMI.getOpcode()) {
  533       OutMI.setOpcode(NewOpc);
  569     if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 0) {
  569     if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 0) {
  571       switch (OutMI.getOpcode()) {
  634       OutMI.setOpcode(NewOpc);
  635       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  635       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  635       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  640     if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 6) {
  640     if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 6) {
  642       switch (OutMI.getOpcode()) {
  705       OutMI.setOpcode(NewOpc);
  706       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  706       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  706       OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1));
  719     assert(OutMI.getNumOperands() == 1 && "Unexpected number of operands!");
  724     OutMI = MCInst();
  725     OutMI.setOpcode(getRetOpcode(AsmPrinter.getSubtarget()));
  731     OutMI = MCInst();
  732     OutMI.setOpcode(getRetOpcode(AsmPrinter.getSubtarget()));
  740     OutMI = MCInst();
  741     OutMI.setOpcode(getRetOpcode(Subtarget));
  742     OutMI.addOperand(MCOperand::createReg(ReturnReg));
  753     assert(OutMI.getNumOperands() == 1 && "Unexpected number of operands!");
  754     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  754     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  759     assert(OutMI.getNumOperands() == 2 && "Unexpected number of operands!");
  760     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  760     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  766     assert(OutMI.getNumOperands() == X86::AddrNumOperands &&
  768     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  768     OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode()));
  778       switch (OutMI.getOpcode()) {
  785       OutMI.setOpcode(Opcode);
  805     switch (OutMI.getOpcode()) {
  816     SimplifyShortMoveForm(AsmPrinter, OutMI, NewOpc);
  830     switch (OutMI.getOpcode()) {
  869     SimplifyShortImmForm(OutMI, NewOpc);
  877     SimplifyMOVSX(OutMI);