Go to the documentation of this file.
20 #ifndef LLVM_CODEGEN_GLOBALISEL_LEGALIZER_H
21 #define LLVM_CODEGEN_GLOBALISEL_LEGALIZER_H
31 class MachineIRBuilder;
33 class GISelChangeObserver;
34 class LostDebugLocObserver;
const MachineInstr * FailedOn
This is an optimization pass for GlobalISel generic memory operations.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
Properties which a MachineFunction may have at a given point in time.
MachineFunctionProperties getRequiredProperties() const override
Represent the analysis usage information of a pass.
MachineFunctionProperties getSetProperties() const override
MachineFunctionProperties & set(Property P)
Helper class to build MachineInstr.
Representation of each machine instruction.
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
MachineFunctionProperties getClearedProperties() const override
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
static MFResult legalizeMachineFunction(MachineFunction &MF, const LegalizerInfo &LI, ArrayRef< GISelChangeObserver * > AuxObservers, LostDebugLocObserver &LocObserver, MachineIRBuilder &MIRBuilder)
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.