LLVM 20.0.0git
|
#include "AArch64InstrInfo.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64Subtarget.h"
#include "Utils/AArch64SMEAttributes.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "aarch64-sme-peephole-opt" |
Functions | |
static bool | isConditionalStartStop (const MachineInstr *MI) |
static bool | isMatchingStartStopPair (const MachineInstr *MI1, const MachineInstr *MI2) |
static bool | ChangesStreamingMode (const MachineInstr *MI) |
static bool | isSVERegOp (const TargetRegisterInfo &TRI, const MachineRegisterInfo &MRI, const MachineOperand &MO) |
INITIALIZE_PASS (SMEPeepholeOpt, "aarch64-sme-peephole-opt", "SME Peephole Optimization", false, false) bool SMEPeepholeOpt | |
#define DEBUG_TYPE "aarch64-sme-peephole-opt" |
Definition at line 25 of file SMEPeepholeOpt.cpp.
|
static |
Definition at line 105 of file SMEPeepholeOpt.cpp.
INITIALIZE_PASS | ( | SMEPeepholeOpt | , |
"aarch64-sme-peephole-opt" | , | ||
"SME Peephole Optimization" | , | ||
false | , | ||
false | |||
) |
Definition at line 229 of file SMEPeepholeOpt.cpp.
References assert(), MBB, and llvm::AArch64FunctionInfo::setHasStreamingModeChanges().
|
static |
Definition at line 55 of file SMEPeepholeOpt.cpp.
References MI.
Referenced by isMatchingStartStopPair().
|
static |
Definition at line 59 of file SMEPeepholeOpt.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getRegMask(), isConditionalStartStop(), llvm::Register::isPhysical(), and llvm::MachineOperand::isReg().
|
static |
Definition at line 113 of file SMEPeepholeOpt.cpp.
References llvm::any_of(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isReg(), MRI, and TRI.