LLVM 20.0.0git
Macros | Functions
SMEPeepholeOpt.cpp File Reference
#include "AArch64InstrInfo.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64Subtarget.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
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-sme-peephole-opt"

Definition at line 24 of file SMEPeepholeOpt.cpp.

Function Documentation

◆ ChangesStreamingMode()

static bool ChangesStreamingMode ( const MachineInstr MI)
static

Definition at line 104 of file SMEPeepholeOpt.cpp.

References assert(), and MI.

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( SMEPeepholeOpt  ,
"aarch64-sme-peephole-opt"  ,
"SME Peephole Optimization"  ,
false  ,
false   
)

◆ isConditionalStartStop()

static bool isConditionalStartStop ( const MachineInstr MI)
static

Definition at line 54 of file SMEPeepholeOpt.cpp.

References MI.

Referenced by isMatchingStartStopPair().

◆ isMatchingStartStopPair()

static bool isMatchingStartStopPair ( const MachineInstr MI1,
const MachineInstr MI2 
)
static

◆ isSVERegOp()

static bool isSVERegOp ( const TargetRegisterInfo TRI,
const MachineRegisterInfo MRI,
const MachineOperand MO 
)
static