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

References

lib/Target/X86/AsmParser/X86AsmParser.cpp
 1301         unsigned OrigReg = OrigOp.Mem.BaseReg;
 1302         unsigned FinalReg = FinalOp.Mem.BaseReg;
 1334         FinalOp.Mem.Size = OrigOp.Mem.Size;
 1334         FinalOp.Mem.Size = OrigOp.Mem.Size;
 1335         FinalOp.Mem.SegReg = OrigOp.Mem.SegReg;
 1335         FinalOp.Mem.SegReg = OrigOp.Mem.SegReg;
 1336         FinalOp.Mem.BaseReg = FinalReg;
 3389         UnsizedMemOp->Mem.Size = getPointerWidth();
 3430       UnsizedMemOp->Mem.Size = Size;
 3445     UnsizedMemOp->Mem.Size = 0;
 3462     UnsizedMemOp->Mem.Size = 0;
 3477     UnsizedMemOp->Mem.Size = UnsizedMemOp->getMemFrontendSize();
lib/Target/X86/AsmParser/X86Operand.h
  130       OS << "Memory: ModeSize=" << Mem.ModeSize;
  131       if (Mem.Size)
  132         OS << ",Size=" << Mem.Size;
  133       if (Mem.BaseReg)
  134         OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg);
  135       if (Mem.IndexReg)
  137            << X86IntelInstPrinter::getRegisterName(Mem.IndexReg);
  138       if (Mem.Scale)
  139         OS << ",Scale=" << Mem.Scale;
  140       if (Mem.Disp)
  141         PrintImmValue(Mem.Disp, ",Disp=");
  142       if (Mem.SegReg)
  143         OS << ",SegReg=" << X86IntelInstPrinter::getRegisterName(Mem.SegReg);
  175     return Mem.Disp;
  179     return Mem.SegReg;
  183     return Mem.BaseReg;
  187     return Mem.IndexReg;
  191     return Mem.Scale;
  195     return Mem.ModeSize;
  199     return Mem.FrontendSize;
  291     return Kind == Memory && Mem.Size == 0;
  294     return Kind == Memory && (!Mem.Size || Mem.Size == 8);
  294     return Kind == Memory && (!Mem.Size || Mem.Size == 8);
  297     return Kind == Memory && (!Mem.Size || Mem.Size == 16);
  297     return Kind == Memory && (!Mem.Size || Mem.Size == 16);
  300     return Kind == Memory && (!Mem.Size || Mem.Size == 32);
  300     return Kind == Memory && (!Mem.Size || Mem.Size == 32);
  303     return Kind == Memory && (!Mem.Size || Mem.Size == 64);
  303     return Kind == Memory && (!Mem.Size || Mem.Size == 64);
  306     return Kind == Memory && (!Mem.Size || Mem.Size == 80);
  306     return Kind == Memory && (!Mem.Size || Mem.Size == 80);
  309     return Kind == Memory && (!Mem.Size || Mem.Size == 128);
  309     return Kind == Memory && (!Mem.Size || Mem.Size == 128);
  312     return Kind == Memory && (!Mem.Size || Mem.Size == 256);
  312     return Kind == Memory && (!Mem.Size || Mem.Size == 256);
  315     return Kind == Memory && (!Mem.Size || Mem.Size == 512);
  315     return Kind == Memory && (!Mem.Size || Mem.Size == 512);
  319     return Mem.IndexReg >= LowR && Mem.IndexReg <= HighR;
  319     return Mem.IndexReg >= LowR && Mem.IndexReg <= HighR;
  372     return isAbsMem() && Mem.ModeSize == 16;
  420     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8);
  420     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8);
  420     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8);
  423     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16);
  423     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16);
  423     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16);
  426     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32);
  426     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32);
  426     return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32);
  429     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8);
  429     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8);
  429     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8);
  432     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16);
  432     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16);
  432     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16);
  435     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32);
  435     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32);
  435     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32);
  438     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64);
  438     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64);
  438     return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64);
  441     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8);
  441     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8);
  441     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8);
  444     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16);
  444     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16);
  444     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16);
  447     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32);
  447     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32);
  447     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32);
  450     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 64);
  450     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 64);
  450     return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 64);
  628     Res->Mem.SegReg   = 0;
  629     Res->Mem.Disp     = Disp;
  630     Res->Mem.BaseReg  = 0;
  631     Res->Mem.IndexReg = 0;
  632     Res->Mem.Scale    = 1;
  633     Res->Mem.Size     = Size;
  634     Res->Mem.ModeSize = ModeSize;
  635     Res->Mem.FrontendSize = FrontendSize;
  656     Res->Mem.SegReg   = SegReg;
  657     Res->Mem.Disp     = Disp;
  658     Res->Mem.BaseReg  = BaseReg;
  659     Res->Mem.IndexReg = IndexReg;
  660     Res->Mem.Scale    = Scale;
  661     Res->Mem.Size     = Size;
  662     Res->Mem.ModeSize = ModeSize;
  663     Res->Mem.FrontendSize = FrontendSize;