|
LLVM 22.0.0git
|
#include "RISCV.h"#include "RISCVTargetMachine.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/Passes.h"#include "llvm/MC/TargetRegistry.h"#include "llvm/Support/Debug.h"#include "llvm/Target/TargetOptions.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "riscv-load-store-opt" |
| #define | RISCV_LOAD_STORE_OPT_NAME "RISC-V Load / Store Optimizer" |
Functions | |
| INITIALIZE_PASS (RISCVLoadStoreOpt, DEBUG_TYPE, RISCV_LOAD_STORE_OPT_NAME, false, false) bool RISCVLoadStoreOpt | |
| static bool | mayAlias (MachineInstr &MIa, SmallVectorImpl< MachineInstr * > &MemInsns, AliasAnalysis *AA) |
Variables | |
| static cl::opt< unsigned > | LdStLimit ("riscv-load-store-scan-limit", cl::init(128), cl::Hidden) |
| #define DEBUG_TYPE "riscv-load-store-opt" |
Definition at line 34 of file RISCVLoadStoreOptimizer.cpp.
| #define RISCV_LOAD_STORE_OPT_NAME "RISC-V Load / Store Optimizer" |
Definition at line 35 of file RISCVLoadStoreOptimizer.cpp.
Referenced by INITIALIZE_PASS().
| INITIALIZE_PASS | ( | RISCVLoadStoreOpt | , |
| DEBUG_TYPE | , | ||
| RISCV_LOAD_STORE_OPT_NAME | , | ||
| false | , | ||
| false | ) |
Definition at line 88 of file RISCVLoadStoreOptimizer.cpp.
References llvm::dbgs(), DEBUG_TYPE, E(), for(), if(), LLVM_DEBUG, MBB, MBBI, MRI, RISCV_LOAD_STORE_OPT_NAME, TII, and TRI.
|
static |
Definition at line 203 of file RISCVLoadStoreOptimizer.cpp.
References llvm::MachineInstr::mayAlias().