14#ifndef LLVM_LIB_TARGET_LOONGARCH_LOONGARCH_H
15#define LLVM_LIB_TARGET_LOONGARCH_LOONGARCH_H
This header defines various interfaces for pass management in LLVM.
This class is intended to be used as a driving class for all asm writers.
FunctionPass class - This class is used to implement most global optimizations.
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
LoongArchISelDAGToDAGPass(LoongArchTargetMachine &TM, CodeGenOptLevel OptLevel)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
MachineFunctionProperties getRequiredProperties() const
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Instances of this class represent a single low-level machine instruction.
Instances of this class represent operands of the MCInst class.
Properties which a MachineFunction may have at a given point in time.
Representation of each machine instruction.
MachineOperand class - Representation of each machine instruction operand.
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
A set of analyses that are preserved following a run of a transformation pass.
SelectionDAGISelPass(std::unique_ptr< SelectionDAGISel > Selector)
Pass manager infrastructure for declaring and invalidating analyses.
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createLoongArchExpandPseudoLegacyPass()
void initializeLoongArchDAGToDAGISelLegacyPass(PassRegistry &)
void initializeLoongArchExpandAtomicPseudoLegacyPass(PassRegistry &)
void initializeLoongArchMemoryBarrierOptLegacyPass(PassRegistry &)
void initializeLoongArchLateBranchOptLegacyPass(PassRegistry &)
FunctionPass * createLoongArchMemoryBarrierOptLegacyPass()
void initializeLoongArchDeadRegisterDefinitionsLegacyPass(PassRegistry &)
bool lowerLoongArchMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP)
void initializeLoongArchMergeBaseOffsetLegacyPass(PassRegistry &)
bool lowerLoongArchMachineOperandToMCOperand(const MachineOperand &MO, MCOperand &MCOp, const AsmPrinter &AP)
FunctionPass * createLoongArchPreRAExpandPseudoLegacyPass()
FunctionPass * createLoongArchMergeBaseOffsetLegacyPass()
Returns an instance of the Merge Base Offset Optimization pass.
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
void initializeLoongArchPreRAExpandPseudoLegacyPass(PassRegistry &)
FunctionPass * createLoongArchLateBranchOptLegacyPass()
void initializeLoongArchExpandPseudoLegacyPass(PassRegistry &)
FunctionPass * createLoongArchISelDagLegacyPass(LoongArchTargetMachine &TM, CodeGenOptLevel OptLevel)
FunctionPass * createLoongArchOptWInstrsLegacyPass()
CodeGenOptLevel
Code generation optimization level.
void initializeLoongArchOptWInstrsLegacyPass(PassRegistry &)
FunctionPass * createLoongArchExpandAtomicPseudoLegacyPass()
void initializeLoongArchAsmPrinterPass(PassRegistry &)
FunctionPass * createLoongArchDeadRegisterDefinitionsLegacyPass()
A CRTP mix-in for passes that can be skipped.
A CRTP mix-in for passes that should not be skipped.