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

References

lib/Target/X86/X86OptimizeLEAs.cpp
  501     if (!MI.mayLoadOrStore())
  505     const MCInstrDesc &Desc = MI.getDesc();
  515     auto Insns = LEAs.find(getMemOpKey(MI, MemOpNo));
  523     if (!chooseBestLEA(Insns->second, MI, DefMI, AddrDispShift, Dist))
  534       MBB->insert(MachineBasicBlock::iterator(&MI), DefMI);
  535       InstrPos[DefMI] = InstrPos[&MI] - 1;
  549     LLVM_DEBUG(dbgs() << "OptimizeLEAs: Candidate to replace: "; MI.dump(););
  552     MI.getOperand(MemOpNo + X86::AddrBaseReg)
  554     MI.getOperand(MemOpNo + X86::AddrScaleAmt).ChangeToImmediate(1);
  555     MI.getOperand(MemOpNo + X86::AddrIndexReg)
  557     MI.getOperand(MemOpNo + X86::AddrDisp).ChangeToImmediate(AddrDispShift);
  558     MI.getOperand(MemOpNo + X86::AddrSegmentReg)
  561     LLVM_DEBUG(dbgs() << "OptimizeLEAs: Replaced by: "; MI.dump(););