LLVM 22.0.0git
llvm::X86FixupLEAsPass Class Reference

Return a pass that selectively replaces certain instructions (like add, sub, inc, dec, some shifts, and some multiplies) by equivalent LEA instructions, in order to eliminate execution delays in some processors. More...

#include "Target/X86/X86.h"

Inheritance diagram for llvm::X86FixupLEAsPass:
[legend]

Public Member Functions

PreservedAnalyses run (MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Public Member Functions inherited from llvm::PassInfoMixin< X86FixupLEAsPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::PassInfoMixin< X86FixupLEAsPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Return a pass that selectively replaces certain instructions (like add, sub, inc, dec, some shifts, and some multiplies) by equivalent LEA instructions, in order to eliminate execution delays in some processors.

Definition at line 70 of file X86.h.

Member Function Documentation

◆ run()


The documentation for this class was generated from the following files: