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

References

lib/Target/X86/Disassembler/X86Disassembler.cpp
  543   if (insn.eaBase == EA_BASE_sib || insn.eaBase == EA_BASE_sib64) {
  543   if (insn.eaBase == EA_BASE_sib || insn.eaBase == EA_BASE_sib64) {
  544     if (insn.sibBase != SIB_BASE_NONE) {
  545       switch (insn.sibBase) {
  559     if (insn.sibIndex != SIB_INDEX_NONE) {
  560       switch (insn.sibIndex) {
  582       if (insn.sibScale != 1 ||
  583           (insn.sibBase == SIB_BASE_NONE && insn.mode != MODE_64BIT) ||
  583           (insn.sibBase == SIB_BASE_NONE && insn.mode != MODE_64BIT) ||
  584           (insn.sibBase != SIB_BASE_NONE &&
  585            insn.sibBase != SIB_BASE_ESP && insn.sibBase != SIB_BASE_RSP &&
  585            insn.sibBase != SIB_BASE_ESP && insn.sibBase != SIB_BASE_RSP &&
  586            insn.sibBase != SIB_BASE_R12D && insn.sibBase != SIB_BASE_R12)) {
  586            insn.sibBase != SIB_BASE_R12D && insn.sibBase != SIB_BASE_R12)) {
  587         indexReg = MCOperand::createReg(insn.addressSize == 4 ? X86::EIZ :
  593     scaleAmount = MCOperand::createImm(insn.sibScale);
  595     switch (insn.eaBase) {
  597       if (insn.eaDisplacement == EA_DISP_NONE) {
  601       if (insn.mode == MODE_64BIT){
  602         pcrel = insn.startLocation +
  603                 insn.displacementOffset + insn.displacementSize;
  603                 insn.displacementOffset + insn.displacementSize;
  604         tryAddingPcLoadReferenceComment(insn.startLocation +
  605                                         insn.displacementOffset,
  606                                         insn.displacement + pcrel, Dis);
  608         baseReg = MCOperand::createReg(insn.addressSize == 4 ? X86::EIP :
  634       switch (insn.eaBase) {
  659   displacement = MCOperand::createImm(insn.displacement);
  661   segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]);
  666   if(!tryAddingSymbolicOperand(insn.displacement + pcrel, false,
  667                                insn.startLocation, insn.displacementOffset,
  667                                insn.startLocation, insn.displacementOffset,
  668                                insn.displacementSize, mcInst, Dis))