|
LLVM 24.0.0git
|
#include "MCTargetDesc/MipsMCTargetDesc.h"#include "Mips.h"#include "MipsLegalizerInfo.h"#include "MipsSubtarget.h"#include "llvm/CodeGen/GlobalISel/Combiner.h"#include "llvm/CodeGen/GlobalISel/CombinerHelper.h"#include "llvm/CodeGen/GlobalISel/CombinerInfo.h"#include "llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h"#include "llvm/CodeGen/GlobalISel/GISelValueTracking.h"#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"#include "llvm/CodeGen/MachinePassManager.h"#include "llvm/CodeGen/TargetPassConfig.h"#include "llvm/IR/Analysis.h"#include "llvm/Target/TargetMachine.h"#include "MipsGenPostLegalizeGICombiner.inc"Go to the source code of this file.
Macros | |
| #define | GET_GICOMBINER_DEPS |
| #define | DEBUG_TYPE "mips-postlegalizer-combiner" |
| #define | GET_GICOMBINER_TYPES |
| #define | GET_GICOMBINER_CLASS_MEMBERS |
| #define | GET_GICOMBINER_IMPL |
| #define | GET_GICOMBINER_CONSTRUCTOR_INITS |
Functions | |
| static bool | runCombinerOnMachineFunction (MachineFunction &MF, bool IsOptNone, function_ref< bool()> ShouldSkip, function_ref< GISelValueTracking *()> GetVT, function_ref< MachineDominatorTree *()> GetMDT) |
| INITIALIZE_PASS_BEGIN (MipsPostLegalizerCombinerLegacy, DEBUG_TYPE, "Combine Mips machine instrs after legalization", false, false) INITIALIZE_PASS_END(MipsPostLegalizerCombinerLegacy | |
Variables | |
| DEBUG_TYPE | |
| Combine Mips machine instrs after | legalization |
| Combine Mips machine instrs after | false |
| #define DEBUG_TYPE "mips-postlegalizer-combiner" |
Definition at line 35 of file MipsPostLegalizerCombiner.cpp.
| #define GET_GICOMBINER_CLASS_MEMBERS |
Definition at line 64 of file MipsPostLegalizerCombiner.cpp.
| #define GET_GICOMBINER_CONSTRUCTOR_INITS |
| #define GET_GICOMBINER_DEPS |
Definition at line 31 of file MipsPostLegalizerCombiner.cpp.
| #define GET_GICOMBINER_IMPL |
Definition at line 69 of file MipsPostLegalizerCombiner.cpp.
| #define GET_GICOMBINER_TYPES |
Definition at line 41 of file MipsPostLegalizerCombiner.cpp.
| INITIALIZE_PASS_BEGIN | ( | MipsPostLegalizerCombinerLegacy | , |
| DEBUG_TYPE | , | ||
| "Combine Mips machine instrs after legalization" | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, and INITIALIZE_PASS_DEPENDENCY.
|
static |
Definition at line 123 of file MipsPostLegalizerCombiner.cpp.
References F, llvm::MachineFunction::getFunction(), llvm::TargetMachine::getOptLevel(), llvm::MachineFunction::getProperties(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), llvm::None, and llvm::report_fatal_error().
Referenced by llvm::MipsPostLegalizerCombinerPass::run(), llvm::RISCVPostLegalizerCombinerPass::run(), llvm::WebAssemblyPostLegalizerCombinerPass::run(), and llvm::WebAssemblyPreLegalizerCombinerPass::run().
| DEBUG_TYPE |
Definition at line 155 of file MipsPostLegalizerCombiner.cpp.
| Combine Mips machine instrs after false |
Definition at line 156 of file MipsPostLegalizerCombiner.cpp.
| Combine Mips machine instrs after legalization |
Definition at line 156 of file MipsPostLegalizerCombiner.cpp.