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

References

lib/Target/AArch64/AArch64AsmPrinter.cpp
  230   EmitToStreamer(*OutStreamer, MCInstBuilder(AArch64::B).addImm(8));
  233     EmitToStreamer(*OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0));
  303                                      .addImm(4)
  304                                      .addImm(55),
  310                                      .addImm(0)
  311                                      .addImm(0),
  318             .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSR, 56)),
  323             .addImm(AArch64CC::NE)
  337                                        .addImm(15)
  338                                        .addImm(0),
  343               .addImm(AArch64CC::HI)
  351               .addImm(AArch64_AM::encodeLogicalImmediate(0xf, 64)),
  358                                          .addImm(Size - 1)
  359                                          .addImm(0),
  365                                        .addImm(0),
  369               .addImm(AArch64CC::LS)
  377               .addImm(AArch64_AM::encodeLogicalImmediate(0xf, 64)),
  382                                        .addImm(0),
  389               .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSR, 56)),
  393               .addImm(AArch64CC::EQ)
  405                                      .addImm(-32),
  411                                      .addImm(29),
  419                                        .addImm(0),
  423                                      .addImm(AccessInfo)
  424                                      .addImm(0),
  781                                   .addImm(0)
  782                                   .addImm(IsByteEntry ? 0 : 1));
  790                                   .addImm(2));
  816     EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0));
  837                                     .addImm((CallTarget >> 32) & 0xFFFF)
  838                                     .addImm(32));
  842                                     .addImm((CallTarget >> 16) & 0xFFFF)
  843                                     .addImm(16));
  847                                     .addImm(CallTarget & 0xFFFF)
  848                                     .addImm(0));
  858     EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0));
 1077                                      .addImm(0)
 1078                                      .addImm(1));
 1083                                      .addImm(0));
lib/Target/ARM/ARMAsmPrinter.cpp
  177         .addImm(ARMCC::AL)
 1006         .addImm(ARMCC::AL)
 1282       .addImm(MI->getOperand(2).getImm())
 1298       .addImm(MI->getOperand(2).getImm())
 1309       .addImm(ARMCC::AL)
 1346         .addImm(ARMCC::AL).addReg(0)
 1355       .addImm(ARMCC::AL)
 1364       .addImm(ARMCC::AL)
 1375       .addImm(ARMCC::AL)
 1388       .addImm(ARMCC::AL)
 1497         MCInst.addImm(MI->getOperand(3).getImm());
 1499         MCInst.addImm(MI->getOperand(2).getImm())
 1532       .addImm(ARMCC::AL)
 1553       .addImm(MI->getOperand(3).getImm())
 1596       .addImm(0)
 1598       .addImm(MI->getOperand(3).getImm())
 1645       .addImm(ARMCC::AL)
 1658                                      .addImm(ARMCC::AL)
 1676                                        .addImm(1)
 1678                                        .addImm(ARMCC::AL)
 1701                                        .addImm(ARMCC::AL)
 1708                                        .addImm(Is8Bit ? 4 : 2)
 1710                                        .addImm(ARMCC::AL)
 1724                                        .addImm(ARMCC::AL)
 1732                                      .addImm(1)
 1734                                      .addImm(ARMCC::AL)
 1743                                      .addImm(ARMCC::AL)
 1799       .addImm(ARMCC::AL)
 1855       .addImm(ARMCC::AL)
 1863       .addImm(7)
 1865       .addImm(ARMCC::AL)
 1873       .addImm(1)
 1875       .addImm(ARMCC::AL)
 1881       .addImm(0)
 1883       .addImm(ARMCC::AL)
 1889       .addImm(ARMCC::AL)
 1896       .addImm(1)
 1898       .addImm(ARMCC::AL)
 1920       .addImm(8)
 1922       .addImm(ARMCC::AL)
 1930       .addImm(4)
 1932       .addImm(ARMCC::AL)
 1937       .addImm(0)
 1939       .addImm(ARMCC::AL)
 1947       .addImm(0)
 1949       .addImm(ARMCC::AL)
 1957       .addImm(1)
 1959       .addImm(ARMCC::AL)
 1975       .addImm(8)
 1977       .addImm(ARMCC::AL)
 1983       .addImm(4)
 1985       .addImm(ARMCC::AL)
 1993         .addImm(0)
 1995         .addImm(ARMCC::AL)
 2003         .addImm(0)
 2005         .addImm(ARMCC::AL)
 2010         .addImm(0)
 2012         .addImm(ARMCC::AL)
 2020       .addImm(ARMCC::AL)
 2038       .addImm(2)
 2040       .addImm(ARMCC::AL)
 2047       .addImm(ARMCC::AL)
 2053       .addImm(1)
 2055       .addImm(ARMCC::AL)
 2063         .addImm(0)
 2065         .addImm(ARMCC::AL)
 2073         .addImm(0)
 2075         .addImm(ARMCC::AL)
 2080         .addImm(0)
 2082         .addImm(ARMCC::AL)
 2089       .addImm(ARMCC::AL)
 2103                                      .addImm(0)
 2105                                      .addImm(ARMCC::AL)
 2110                                      .addImm(8)
 2112                                      .addImm(ARMCC::AL)
 2117                                      .addImm(4)
 2119                                      .addImm(ARMCC::AL)
lib/Target/ARM/ARMMCInstLower.cpp
  207   EmitToStreamer(*OutStreamer, MCInstBuilder(ARM::Bcc).addImm(20)
  208     .addImm(ARMCC::AL).addReg(0));
lib/Target/Lanai/LanaiAsmPrinter.cpp
  161                                    .addImm(16),
  169                                    .addImm(-4)
  170                                    .addImm(LPAC::makePreOp(LPAC::ADD)),
  184                                      .addImm(LPCC::ICC_T),
lib/Target/Mips/MipsAsmPrinter.cpp
 1218                                      .addImm(0));
 1227                        .addImm(0x34));
lib/Target/PowerPC/PPCAsmPrinter.cpp
  396                                       .addImm((CallTarget >> 32) & 0xFFFF));
  401                                       .addImm(32).addImm(16));
  401                                       .addImm(32).addImm(16));
  406                                       .addImm((CallTarget >> 16) & 0xFFFF));
  411                                       .addImm(CallTarget & 0xFFFF));
  417                                       .addImm(TOCSaveOffset)
  429                                         .addImm(8)
  434                                         .addImm(0)
  448                                       .addImm(TOCSaveOffset)
  975                                  .addImm(0)
 1154                                      .addImm(Mask)
 1212         MCInstBuilder(PPC::STD).addReg(PPC::X0).addImm(-8).addReg(PPC::X1));
 1272               .addImm(PPC::InvertPredicate(
 1298         MCInstBuilder(PPC::STD).addReg(PPC::X0).addImm(-8).addReg(PPC::X1));
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1603           Out, MCInstBuilder(RISCV::LUI).addReg(DestReg).addImm(Inst.Imm));
 1606           Out, MCInstBuilder(Inst.Opc).addReg(DestReg).addReg(SrcReg).addImm(
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
  130     TmpInst = MCInstBuilder(RISCV::JALR).addReg(RISCV::X0).addReg(Ra).addImm(0);
  133     TmpInst = MCInstBuilder(RISCV::JALR).addReg(Ra).addReg(Ra).addImm(0);
lib/Target/SystemZ/SystemZAsmPrinter.cpp
   35       .addImm(MI->getOperand(1).getImm());
   40       .addImm(MI->getOperand(2).getImm());
   49       .addImm(MI->getOperand(1).getImm());
   54       .addImm(MI->getOperand(2).getImm());
   64     .addImm(MI->getOperand(3).getImm())
   65     .addImm(MI->getOperand(4).getImm())
   66     .addImm(MI->getOperand(5).getImm());
  110     .addImm(MI->getOperand(2).getImm())
  120     .addImm(MI->getOperand(2).getImm())
  122     .addImm(0);
  135       .addImm(MI->getOperand(0).getImm())
  136       .addImm(MI->getOperand(1).getImm())
  144       .addImm(MI->getOperand(2).getImm())
  146       .addImm(0);
  153       .addImm(MI->getOperand(2).getImm())
  155       .addImm(0);
  161       .addImm(MI->getOperand(1).getImm())
  162       .addImm(MI->getOperand(2).getImm())
  164       .addImm(0);
  170       .addImm(MI->getOperand(1).getImm())
  171       .addImm(MI->getOperand(2).getImm())
  173       .addImm(0);
  180       .addImm(MI->getOperand(2).getImm())
  182       .addImm(0);
  189       .addImm(MI->getOperand(2).getImm())
  191       .addImm(0);
  197       .addImm(MI->getOperand(1).getImm())
  198       .addImm(MI->getOperand(2).getImm())
  200       .addImm(0);
  206       .addImm(MI->getOperand(1).getImm())
  207       .addImm(MI->getOperand(2).getImm())
  209       .addImm(0);
  231       .addImm(MI->getOperand(0).getImm())
  232       .addImm(MI->getOperand(1).getImm())
  242       .addImm(MI->getOperand(0).getImm())
  243       .addImm(MI->getOperand(1).getImm())
  251       .addImm(MI->getOperand(2).getImm())
  253       .addImm(0);
  260       .addImm(MI->getOperand(2).getImm())
  262       .addImm(0);
  268       .addImm(MI->getOperand(1).getImm())
  269       .addImm(MI->getOperand(2).getImm())
  271       .addImm(0);
  277       .addImm(MI->getOperand(1).getImm())
  278       .addImm(MI->getOperand(2).getImm())
  280       .addImm(0);
  287       .addImm(MI->getOperand(2).getImm())
  289       .addImm(0);
  296       .addImm(MI->getOperand(2).getImm())
  298       .addImm(0);
  304       .addImm(MI->getOperand(1).getImm())
  305       .addImm(MI->getOperand(2).getImm())
  307       .addImm(0);
  313       .addImm(MI->getOperand(1).getImm())
  314       .addImm(MI->getOperand(2).getImm())
  316       .addImm(0);
  342       .addImm(MI->getOperand(2).getImm());
  348       .addImm(MI->getOperand(2).getImm());
  415       .addReg(0).addImm(0);
  423       .addReg(0).addImm(0);
  463         .addImm(14).addReg(SystemZ::R0D);
  466         .addImm(15).addReg(SystemZ::R0D);
  498       .addImm(MI->getOperand(0).getImm())
  499       .addImm(MI->getOperand(1).getImm())
  534                                   .addImm(0).addReg(SystemZ::R0D), STI);
  539                                   .addImm(0).addReg(0).addImm(0).addReg(0),
  539                                   .addImm(0).addReg(0).addImm(0).addReg(0),
  547                                   .addImm(0).addExpr(Dot), STI);
  623                                       .addImm(CallTarget & 0xFFFFFFFF));
  628                                         .addImm(CallTarget >> 32));
lib/Target/X86/X86MCInstLower.cpp
  922                                 .addImm(1)
  938                                   .addImm(1)
  953                                   .addImm(1)
  961                                   .addImm(1)
  973                                   .addImm(1)
 1075                            .addImm(ScaleVal)
 1077                            .addImm(Displacement)
 1919         MIB.addImm(Disp + 2);
 1947         MIB.addImm(Disp + 2);
tools/llvm-exegesis/lib/AArch64/Target.cpp
   33       .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/Mips/Target.cpp
   43       .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/PowerPC/Target.cpp
   50       .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/X86/Target.cpp
  382       .addImm(Value.getZExtValue());
  390       .addImm(Bytes);
  399       .addImm(1)           // ScaleAmt
  401       .addImm(OffsetBytes) // Disp
  404       .addImm(Imm);
  413       .addImm(1)        // ScaleAmt
  415       .addImm(0)        // Disp
  424       .addImm(Bytes);
  472           .addImm(1)        // ScaleAmt
  474           .addImm(0)        // Disp
  488           .addImm(1)        // ScaleAmt
  490           .addImm(0)        // Disp
unittests/tools/llvm-exegesis/ARM/AssemblerTest.cpp
   40             .addImm(ARMCC::AL)
unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
   54   Check({}, MCInstBuilder(MOV64ri32).addReg(RAX).addImm(42), 0x48, 0xc7, 0xc0,
   59   Check({}, MCInstBuilder(MOV32ri).addReg(EAX).addImm(42), 0xb8, 0x2a, 0x00,
unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
   69                                         .addImm(123)