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

References

include/llvm/MC/MCInst.h
   96     assert(isExpr() && "This is not an expression");
  101     assert(isExpr() && "This is not an expression");
lib/MC/MCInst.cpp
   30   else if (isExpr()) {
   48   assert(isExpr() &&
lib/MC/MCStreamer.cpp
 1017     if (Inst.getOperand(i).isExpr())
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 4120     if (Inst.getOperand(2).isExpr()) {
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  213       MI->getOperand(1).isExpr()) {
  225       MI->getOperand(2).isExpr()) {
  877     assert(Op.isExpr() && "unknown operand kind in printOperand");
  942     assert(MO.isExpr() && "Unexpected operand type!");
 1083     assert(MO.isExpr() && "Unexpected operand type!");
 1095     assert(MO1.isExpr() && "Unexpected operand type!");
lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
  221     assert(MO.isExpr() && "unable to encode load/store imm operand");
  241   assert(MO.isExpr() && "Unexpected target type!");
  272   assert(MO.isExpr() && "Unable to encode MCOperand!");
  303   assert(MO.isExpr() && "Unexpected target type!");
  325   assert(MO.isExpr() && "Unexpected target type!");
  353   assert(MO.isExpr() && "Unexpected movz/movk immediate");
  373   assert(MO.isExpr() && "Unexpected ADR target type!");
  395   assert(MO.isExpr() && "Unexpected ADR target type!");
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 3329       } else if (MO.isExpr()) {
 3379     if (!MO.isImm() && !MO.isExpr())
 3394     } else if (MO.isExpr()) {
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  587   } else if (Op.isExpr()) {
 1421   assert(Op.isImm() || Op.isExpr());
 1426   if (Op.isExpr()) {
 1486   } else if (Op.isExpr()) {
lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp
  181   if (MO.isExpr()) {
lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  220   if (MO.isExpr()) {
  331     else if (Op.isExpr()) {
  335     } else if (!Op.isExpr()) // Exprs will be replaced with a fixup value.
  352   if (MO.isExpr()) {
  458   if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) {
lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp
  152   assert(Op.isExpr() && "unknown operand kind in printOperand");
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 8288         !(Inst.getOperand(2).isExpr() || Inst.getOperand(2).isImm()))
lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
  319     assert(Op.isExpr() && "unknown operand kind in printOperand");
  354   if (MO1.isExpr()) {
 1039   if (MO.isExpr()) {
 1371   if (Op.isExpr())
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  320     if (MO.isExpr()) {
  339     if (MO.isExpr()) {
  634   assert(MO.isExpr() && "Unexpected branch target type!");
  668   if (MO.isExpr())
  681   if (MO.isExpr())
  693   if (MO.isExpr())
  705   if (MO.isExpr())
  717   if (MO.isExpr())
  760   if (MO.isExpr()) {
  776   if (MO.isExpr()) {
  791   if (MO.isExpr())
  805   if(MO.isExpr())
  833   if (MO.isExpr())
  874   if (MO.isExpr())
  921   if (MO.isExpr())
  994     if (MO.isExpr()) {
 1128     assert(MO.isExpr() && "Unexpected machine operand type!");
 1355     assert(MO.isExpr() && "Unexpected machine operand type!");
 1411   if (MO.isExpr())
 1433     assert(MO.isExpr() && "Unexpected machine operand type!");
 1473     assert(MO.isExpr() && "Unexpected machine operand type!");
 1899   if (MO.isExpr())
 1911   if (MO.isExpr()) {
 1912     assert(BranchMO.isExpr());
lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp
  118     assert(Op.isExpr() && "Unknown operand kind in printOperand");
  140     assert(Op.isExpr() && "Unknown pcrel immediate operand");
  162   } else if (OffsetOp.isExpr()) {
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
   97   if (MO.isExpr()) {
  158   } else if (OffsetOp.isExpr()) {
  185   if (MO.isExpr()) {
  209   if (MO.isExpr()) {
  263   assert(MO.isExpr());
lib/Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
   59     assert(Op.isExpr() && "Expected an expression");
   90   else if (Op.isExpr())
  102   } else if (Op.isExpr()) {
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
   95   assert(MO.isExpr());
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  540       if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() &&
 1478       } else if (MO_1.isExpr()) {
 1502       } else if (MO_1.isExpr()) {
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  215     assert(Imm.isExpr() && "Expected expression and found none");
lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
   69   } else if (MO.isExpr()) {
   83   assert (MO.isExpr());
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
   80     if (Inst.getOperand(i).isExpr())
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
  169   else if (MO.isExpr())
  298          (MO.isImm() || MO.isExpr()));
  768   if (!MCO.isExpr())
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  443     assert(Extended.isExpr());
lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp
  157     assert(Op.isExpr() && "Expected an expression");
  169     assert(Op.isExpr() && "Expected an expression");
  183     assert(Op.isExpr() && "Expected an expression");
  195     assert(Op.isExpr() && "Expected an expression");
  207     assert(Op.isExpr() && "Expected an expression");
  228   assert((OffsetOp.isImm() || OffsetOp.isExpr()) && "Immediate expected");
lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp
  118   assert(MCOp.isExpr());
  146        (Op2.isReg() && Op2.getReg() != Lanai::R0) || (Op2.isExpr())))
  194   assert((Op2.isImm() || Op2.isExpr()) &&
  265   assert((Op2.isImm() || Op2.isExpr()) &&
lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp
   46     assert(Op.isExpr() && "unknown pcrel immediate operand");
   60     assert(Op.isExpr() && "unknown operand kind in printOperand");
   83   if (Disp.isExpr())
lib/Target/MSP430/MCTargetDesc/MSP430MCCodeEmitter.cpp
  113   assert(MO.isExpr() && "Expected expr operand");
  133   assert(MO2.isExpr() && "Expr operand expected");
  159   assert(MO.isExpr() && "Expr operand expected");
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 2084         } else if (Op.isExpr()) {
 2316     assert((Inst.getOperand(1).isImm() || Inst.getOperand(1).isExpr()) &&
 2329     assert((Inst.getOperand(2).isImm() || Inst.getOperand(2).isExpr()) &&
 3494   if (Offset.isExpr()) {
 3540   assert((MemOffsetOp.isImm() || MemOffsetOp.isExpr()) &&
 3627     assert(ExprOp.isExpr() && "expected expression oprand kind");
 3668   if (OffsetOp.isExpr()) {
lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
  137   assert(Op.isExpr() && "unknown operand kind in printOperand");
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  244   assert(MO.isExpr() &&
  266   assert(MO.isExpr() &&
  289   assert(MO.isExpr() &&
  312   assert(MO.isExpr() &&
  334   assert(MO.isExpr() &&
  355   assert(MO.isExpr() &&
  376   assert(MO.isExpr() &&
  398   assert(MO.isExpr() &&
  420   assert(MO.isExpr() &&
  442   assert(MO.isExpr() &&
  464   assert(MO.isExpr() &&
  485   assert(MO.isExpr() &&
  506   assert(MO.isExpr() &&
  523   assert(MO.isExpr() &&
  544   assert(MO.isExpr() &&
  759   assert(MO.isExpr());
  977   assert(MO.isExpr() &&
  999   assert(MO.isExpr() &&
lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
   92     assert(Op.isExpr() && "Unknown operand kind in printOperand");
  305   assert(Op.isExpr() && "Call prototype is not an MCExpr?");
lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
   75       MI->getOperand(2).isExpr()) {
  565   assert(Op.isExpr() && "unknown operand kind in printOperand");
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1755     if (Op1.isExpr()) {
lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
  100   assert(MO.isExpr() && "Unknown operand kind in printOperand");
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
  117   assert(Func.isExpr() && "Expected expression");
  149   assert(SrcSymbol.isExpr() &&
  258   assert(MO.isExpr() &&
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  511   assert(MCValOp.isImm() || MCValOp.isExpr());
lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
  135   assert(MO.isExpr() && "Unknown operand kind in printOperand");
lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
  133   assert(MO.isExpr());
lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
   48   else if (MO.isExpr())
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
  238     assert(Op.isExpr() && "unknown operand kind in printOperand");
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
  141     } else if (MO.isExpr()) {
lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
  378     assert(Op.isExpr() && "unknown operand kind in printOperand");
  401     assert(DispSpec.isExpr() && "non-immediate displacement for LEA?");
  462     assert(DispSpec.isExpr() && "non-immediate displacement?");
  471   if (MI->getOperand(Op).isExpr())
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  279   if (Inst.getOperand(RelaxableOp).isExpr())
lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
  300     assert(Op.isExpr() && "unknown pcrel immediate operand");
lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
  338     assert(Op.isExpr() && "unknown operand kind in printOperand");
  372     assert(DispSpec.isExpr() && "non-immediate displacement for LEA?");
  421     assert(DispSpec.isExpr() && "non-immediate displacement?");
  430   if (MI->getOperand(Op).isExpr())
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  291   if (!Op.isExpr())
  534       if (Disp.isExpr()) {
lib/Target/X86/X86MCInstLower.cpp
  295          (Inst.getOperand(ImmOp).isImm() || Inst.getOperand(ImmOp).isExpr()) &&
  359       (Inst.getOperand(AddrOp).isExpr() || Inst.getOperand(AddrOp).isImm()) &&
  371   if (Inst.getOperand(AddrOp).isExpr()) {
lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp
   87   assert(Op.isExpr() && "unknown operand kind in printOperand");
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  355   else if (Op.isExpr())