LLVM 19.0.0git
Namespaces | Macros | Functions | Variables
HexagonStoreWidening.cpp File Reference
#include "HexagonInstrInfo.h"
#include "HexagonRegisterInfo.h"
#include "HexagonSubtarget.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/MemoryLocation.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <iterator>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "hexagon-widen-stores"
 

Functions

FunctionPassllvm::createHexagonStoreWidening ()
 
void llvm::initializeHexagonStoreWideningPass (PassRegistry &)
 
 INITIALIZE_PASS_BEGIN (HexagonStoreWidening, "hexagon-widen-stores", "Hexason Store Widening", false, false) INITIALIZE_PASS_END(HexagonStoreWidening
 
hexagon widen Hexagon Store static false unsigned getBaseAddressRegister (const MachineInstr *MI)
 
static int64_t getStoreOffset (const MachineInstr *MI)
 
static const MachineMemOperandgetStoreTarget (const MachineInstr *MI)
 

Variables

hexagon widen stores
 
hexagon widen Hexagon Store Widening
 
hexagon widen Hexagon Store false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hexagon-widen-stores"

Definition at line 51 of file HexagonStoreWidening.cpp.

Function Documentation

◆ getBaseAddressRegister()

hexagon widen Hexagon Store static false unsigned getBaseAddressRegister ( const MachineInstr MI)
static

◆ getStoreOffset()

static int64_t getStoreOffset ( const MachineInstr MI)
static

◆ getStoreTarget()

static const MachineMemOperand & getStoreTarget ( const MachineInstr MI)
static

Definition at line 146 of file HexagonStoreWidening.cpp.

References assert(), and MI.

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( HexagonStoreWidening  ,
"hexagon-widen-stores"  ,
"Hexason Store Widening"  ,
false  ,
false   
)

Variable Documentation

◆ false

hexagon widen Hexagon Store false

Definition at line 119 of file HexagonStoreWidening.cpp.

◆ stores

hexagon widen stores

◆ Widening

hexagon widen Hexagon Store Widening

Definition at line 119 of file HexagonStoreWidening.cpp.