|
LLVM
5.0.0
|
#include "AArch64.h"#include "AArch64InstrInfo.h"#include "AArch64TargetMachine.h"#include "llvm/ADT/DepthFirstIterator.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/ScalarEvolution.h"#include "llvm/Analysis/ScalarEvolutionExpressions.h"#include "llvm/CodeGen/LiveRegUnits.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/TargetPassConfig.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Function.h"#include "llvm/IR/Module.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "falkor-hwpf-fix" |
Functions | |
| STATISTIC (NumStridedLoadsMarked,"Number of strided loads marked") | |
| STATISTIC (NumCollisionsAvoided,"Number of HW prefetch tag collisions avoided") | |
| STATISTIC (NumCollisionsNotAvoided,"Number of HW prefetch tag collisions not avoided due to lack of regsiters") | |
| INITIALIZE_PASS_BEGIN (FalkorMarkStridedAccessesLegacy, DEBUG_TYPE,"Falkor HW Prefetch Fix", false, false) INITIALIZE_PASS_END(FalkorMarkStridedAccessesLegacy | |
| INITIALIZE_PASS_BEGIN (FalkorHWPFFix,"falkor-hwpf-fix-late","Falkor HW Prefetch Fix Late Phase", false, false) INITIALIZE_PASS_END(FalkorHWPFFix | |
| falkor hwpf fix Falkor HW Prefetch Fix Late static false unsigned | makeTag (unsigned Dest, unsigned Base, unsigned Offset) |
| static Optional< LoadInfo > | getLoadInfo (const MachineInstr &MI) |
| static Optional< unsigned > | getTag (const TargetRegisterInfo *TRI, const MachineInstr &MI, const LoadInfo &LI) |
Variables | |
| DEBUG_TYPE | |
| Falkor HW Prefetch | Fix |
| Falkor HW Prefetch | false |
| falkor hwpf fix | late |
| falkor hwpf fix Falkor HW Prefetch Fix Late | Phase |
| #define DEBUG_TYPE "falkor-hwpf-fix" |
Definition at line 36 of file AArch64FalkorHWPFFix.cpp.
|
static |
Definition at line 213 of file AArch64FalkorHWPFFix.cpp.
References llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::None.
|
static |
Definition at line 627 of file AArch64FalkorHWPFFix.cpp.
References llvm::MCRegisterInfo::getEncodingValue(), makeTag(), and llvm::None.
| INITIALIZE_PASS_BEGIN | ( | FalkorMarkStridedAccessesLegacy | , |
| DEBUG_TYPE | , | ||
| "Falkor HW Prefetch Fix" | , | ||
| false | , | ||
| false | |||
| ) |
| INITIALIZE_PASS_BEGIN | ( | FalkorHWPFFix | , |
| "falkor-hwpf-fix-late" | , | ||
| "Falkor HW Prefetch Fix Late Phase" | , | ||
| false | , | ||
| false | |||
| ) |
|
static |
Definition at line 209 of file AArch64FalkorHWPFFix.cpp.
Referenced by getTag().
| STATISTIC | ( | NumStridedLoadsMarked | , |
| "Number of strided loads marked" | |||
| ) |
| STATISTIC | ( | NumCollisionsAvoided | , |
| "Number of HW prefetch tag collisions avoided" | |||
| ) |
| STATISTIC | ( | NumCollisionsNotAvoided | , |
| "Number of HW prefetch tag collisions not avoided due to lack of regsiters" | |||
| ) |
| DEBUG_TYPE |
Definition at line 89 of file AArch64FalkorHWPFFix.cpp.
Definition at line 89 of file AArch64FalkorHWPFFix.cpp.
| Falkor HW Prefetch Fix |
Definition at line 89 of file AArch64FalkorHWPFFix.cpp.
| falkor hwpf fix late |
Definition at line 206 of file AArch64FalkorHWPFFix.cpp.
Definition at line 206 of file AArch64FalkorHWPFFix.cpp.
Referenced by ExpandBVWithShuffles().
1.8.6