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

References

gen/lib/Target/RISCV/RISCVGenCompressInstEmitter.inc
  136       OutInst.setOpcode(RISCV::C_MV);
  138       OutInst.addOperand(MI.getOperand(0));
  140       OutInst.addOperand(MI.getOperand(2));
  148       OutInst.setOpcode(RISCV::C_MV);
  150       OutInst.addOperand(MI.getOperand(0));
  152       OutInst.addOperand(MI.getOperand(1));
  160       OutInst.setOpcode(RISCV::C_ADD);
  162       OutInst.addOperand(MI.getOperand(1));
  164       OutInst.addOperand(MI.getOperand(1));
  166       OutInst.addOperand(MI.getOperand(2));
  174       OutInst.setOpcode(RISCV::C_ADD);
  176       OutInst.addOperand(MI.getOperand(2));
  178       OutInst.addOperand(MI.getOperand(2));
  180       OutInst.addOperand(MI.getOperand(1));
  191       OutInst.setOpcode(RISCV::C_ADDI4SPN);
  193       OutInst.addOperand(MI.getOperand(0));
  195       OutInst.addOperand(MI.getOperand(1));
  197       OutInst.addOperand(MI.getOperand(2));
  206       OutInst.setOpcode(RISCV::C_NOP);
  214       OutInst.setOpcode(RISCV::C_ADDI);
  216       OutInst.addOperand(MI.getOperand(1));
  218       OutInst.addOperand(MI.getOperand(1));
  220       OutInst.addOperand(MI.getOperand(2));
  228       OutInst.setOpcode(RISCV::C_LI);
  230       OutInst.addOperand(MI.getOperand(0));
  232       OutInst.addOperand(MI.getOperand(2));
  240       OutInst.setOpcode(RISCV::C_ADDI16SP);
  242       OutInst.addOperand(MCOperand::createReg(RISCV::X2));
  244       OutInst.addOperand(MCOperand::createReg(RISCV::X2));
  246       OutInst.addOperand(MI.getOperand(2));
  255       OutInst.setOpcode(RISCV::C_MV);
  257       OutInst.addOperand(MI.getOperand(0));
  259       OutInst.addOperand(MI.getOperand(1));
  271       OutInst.setOpcode(RISCV::C_ADDIW);
  273       OutInst.addOperand(MI.getOperand(1));
  275       OutInst.addOperand(MI.getOperand(1));
  277       OutInst.addOperand(MI.getOperand(2));
  286       OutInst.setOpcode(RISCV::C_LI);
  288       OutInst.addOperand(MI.getOperand(0));
  290       OutInst.addOperand(MI.getOperand(2));
  302       OutInst.setOpcode(RISCV::C_ADDW);
  304       OutInst.addOperand(MI.getOperand(1));
  306       OutInst.addOperand(MI.getOperand(1));
  308       OutInst.addOperand(MI.getOperand(2));
  317       OutInst.setOpcode(RISCV::C_ADDW);
  319       OutInst.addOperand(MI.getOperand(2));
  321       OutInst.addOperand(MI.getOperand(2));
  323       OutInst.addOperand(MI.getOperand(1));
  334       OutInst.setOpcode(RISCV::C_AND);
  336       OutInst.addOperand(MI.getOperand(1));
  338       OutInst.addOperand(MI.getOperand(1));
  340       OutInst.addOperand(MI.getOperand(2));
  348       OutInst.setOpcode(RISCV::C_AND);
  350       OutInst.addOperand(MI.getOperand(2));
  352       OutInst.addOperand(MI.getOperand(2));
  354       OutInst.addOperand(MI.getOperand(1));
  365       OutInst.setOpcode(RISCV::C_ANDI);
  367       OutInst.addOperand(MI.getOperand(1));
  369       OutInst.addOperand(MI.getOperand(1));
  371       OutInst.addOperand(MI.getOperand(2));
  382       OutInst.setOpcode(RISCV::C_BEQZ);
  384       OutInst.addOperand(MI.getOperand(0));
  386       OutInst.addOperand(MI.getOperand(2));
  397       OutInst.setOpcode(RISCV::C_BNEZ);
  399       OutInst.addOperand(MI.getOperand(0));
  401       OutInst.addOperand(MI.getOperand(2));
  409       OutInst.setOpcode(RISCV::C_EBREAK);
  421       OutInst.setOpcode(RISCV::C_FLD);
  423       OutInst.addOperand(MI.getOperand(0));
  425       OutInst.addOperand(MI.getOperand(1));
  427       OutInst.addOperand(MI.getOperand(2));
  436       OutInst.setOpcode(RISCV::C_FLDSP);
  438       OutInst.addOperand(MI.getOperand(0));
  440       OutInst.addOperand(MI.getOperand(1));
  442       OutInst.addOperand(MI.getOperand(2));
  455       OutInst.setOpcode(RISCV::C_FLW);
  457       OutInst.addOperand(MI.getOperand(0));
  459       OutInst.addOperand(MI.getOperand(1));
  461       OutInst.addOperand(MI.getOperand(2));
  471       OutInst.setOpcode(RISCV::C_FLWSP);
  473       OutInst.addOperand(MI.getOperand(0));
  475       OutInst.addOperand(MI.getOperand(1));
  477       OutInst.addOperand(MI.getOperand(2));
  489       OutInst.setOpcode(RISCV::C_FSD);
  491       OutInst.addOperand(MI.getOperand(0));
  493       OutInst.addOperand(MI.getOperand(1));
  495       OutInst.addOperand(MI.getOperand(2));
  504       OutInst.setOpcode(RISCV::C_FSDSP);
  506       OutInst.addOperand(MI.getOperand(0));
  508       OutInst.addOperand(MI.getOperand(1));
  510       OutInst.addOperand(MI.getOperand(2));
  523       OutInst.setOpcode(RISCV::C_FSW);
  525       OutInst.addOperand(MI.getOperand(0));
  527       OutInst.addOperand(MI.getOperand(1));
  529       OutInst.addOperand(MI.getOperand(2));
  539       OutInst.setOpcode(RISCV::C_FSWSP);
  541       OutInst.addOperand(MI.getOperand(0));
  543       OutInst.addOperand(MI.getOperand(1));
  545       OutInst.addOperand(MI.getOperand(2));
  556       OutInst.setOpcode(RISCV::C_JAL);
  558       OutInst.addOperand(MI.getOperand(1));
  565       OutInst.setOpcode(RISCV::C_J);
  567       OutInst.addOperand(MI.getOperand(1));
  579       OutInst.setOpcode(RISCV::C_JR);
  581       OutInst.addOperand(MI.getOperand(1));
  590       OutInst.setOpcode(RISCV::C_JALR);
  592       OutInst.addOperand(MI.getOperand(1));
  604       OutInst.setOpcode(RISCV::C_LD);
  606       OutInst.addOperand(MI.getOperand(0));
  608       OutInst.addOperand(MI.getOperand(1));
  610       OutInst.addOperand(MI.getOperand(2));
  619       OutInst.setOpcode(RISCV::C_LDSP);
  621       OutInst.addOperand(MI.getOperand(0));
  623       OutInst.addOperand(MI.getOperand(1));
  625       OutInst.addOperand(MI.getOperand(2));
  635       OutInst.setOpcode(RISCV::C_LUI);
  637       OutInst.addOperand(MI.getOperand(0));
  639       OutInst.addOperand(MI.getOperand(1));
  650       OutInst.setOpcode(RISCV::C_LW);
  652       OutInst.addOperand(MI.getOperand(0));
  654       OutInst.addOperand(MI.getOperand(1));
  656       OutInst.addOperand(MI.getOperand(2));
  664       OutInst.setOpcode(RISCV::C_LWSP);
  666       OutInst.addOperand(MI.getOperand(0));
  668       OutInst.addOperand(MI.getOperand(1));
  670       OutInst.addOperand(MI.getOperand(2));
  681       OutInst.setOpcode(RISCV::C_OR);
  683       OutInst.addOperand(MI.getOperand(1));
  685       OutInst.addOperand(MI.getOperand(1));
  687       OutInst.addOperand(MI.getOperand(2));
  695       OutInst.setOpcode(RISCV::C_OR);
  697       OutInst.addOperand(MI.getOperand(2));
  699       OutInst.addOperand(MI.getOperand(2));
  701       OutInst.addOperand(MI.getOperand(1));
  713       OutInst.setOpcode(RISCV::C_SD);
  715       OutInst.addOperand(MI.getOperand(0));
  717       OutInst.addOperand(MI.getOperand(1));
  719       OutInst.addOperand(MI.getOperand(2));
  728       OutInst.setOpcode(RISCV::C_SDSP);
  730       OutInst.addOperand(MI.getOperand(0));
  732       OutInst.addOperand(MI.getOperand(1));
  734       OutInst.addOperand(MI.getOperand(2));
  745       OutInst.setOpcode(RISCV::C_SLLI);
  747       OutInst.addOperand(MI.getOperand(1));
  749       OutInst.addOperand(MI.getOperand(1));
  751       OutInst.addOperand(MI.getOperand(2));
  762       OutInst.setOpcode(RISCV::C_SRAI);
  764       OutInst.addOperand(MI.getOperand(1));
  766       OutInst.addOperand(MI.getOperand(1));
  768       OutInst.addOperand(MI.getOperand(2));
  779       OutInst.setOpcode(RISCV::C_SRLI);
  781       OutInst.addOperand(MI.getOperand(1));
  783       OutInst.addOperand(MI.getOperand(1));
  785       OutInst.addOperand(MI.getOperand(2));
  796       OutInst.setOpcode(RISCV::C_SUB);
  798       OutInst.addOperand(MI.getOperand(1));
  800       OutInst.addOperand(MI.getOperand(1));
  802       OutInst.addOperand(MI.getOperand(2));
  814       OutInst.setOpcode(RISCV::C_SUBW);
  816       OutInst.addOperand(MI.getOperand(1));
  818       OutInst.addOperand(MI.getOperand(1));
  820       OutInst.addOperand(MI.getOperand(2));
  831       OutInst.setOpcode(RISCV::C_SW);
  833       OutInst.addOperand(MI.getOperand(0));
  835       OutInst.addOperand(MI.getOperand(1));
  837       OutInst.addOperand(MI.getOperand(2));
  845       OutInst.setOpcode(RISCV::C_SWSP);
  847       OutInst.addOperand(MI.getOperand(0));
  849       OutInst.addOperand(MI.getOperand(1));
  851       OutInst.addOperand(MI.getOperand(2));
  859       OutInst.setOpcode(RISCV::C_UNIMP);
  870       OutInst.setOpcode(RISCV::C_XOR);
  872       OutInst.addOperand(MI.getOperand(1));
  874       OutInst.addOperand(MI.getOperand(1));
  876       OutInst.addOperand(MI.getOperand(2));
  884       OutInst.setOpcode(RISCV::C_XOR);
  886       OutInst.addOperand(MI.getOperand(2));
  888       OutInst.addOperand(MI.getOperand(2));
  890       OutInst.addOperand(MI.getOperand(1));