LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
HexagonOptAddrMode.cpp File Reference
#include "HexagonInstrInfo.h"
#include "HexagonSubtarget.h"
#include "MCTargetDesc/HexagonBaseInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineDominanceFrontier.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RDFGraph.h"
#include "llvm/CodeGen/RDFLiveness.h"
#include "llvm/CodeGen/RDFRegisters.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>

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   "opt-addr-mode"
 

Functions

FunctionPassllvm::createHexagonOptAddrMode ()
 
void llvm::initializeHexagonOptAddrModePass (PassRegistry &)
 
 INITIALIZE_PASS_BEGIN (HexagonOptAddrMode, "amode-opt", "Optimize addressing mode", false, false) INITIALIZE_PASS_END(HexagonOptAddrMode
 

Variables

static cl::opt< int > CodeGrowthLimit ("hexagon-amode-growth-limit", cl::Hidden, cl::init(0), cl::desc("Code growth limit for address mode " "optimization"))
 
cl::opt< unsignedRDFFuncBlockLimit
 
amode opt
 
amode Optimize addressing mode
 
amode Optimize addressing false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "opt-addr-mode"

Definition at line 42 of file HexagonOptAddrMode.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( HexagonOptAddrMode  ,
"amode-opt"  ,
"Optimize addressing mode"  ,
false  ,
false   
)

Variable Documentation

◆ CodeGrowthLimit

cl::opt< int > CodeGrowthLimit("hexagon-amode-growth-limit", cl::Hidden, cl::init(0), cl::desc("Code growth limit for address mode " "optimization")) ( "hexagon-amode-growth-limit"  ,
cl::Hidden  ,
cl::init(0)  ,
cl::desc("Code growth limit for address mode " "optimization")   
)
static

◆ false

amode Optimize addressing false

Definition at line 140 of file HexagonOptAddrMode.cpp.

◆ mode

amode Optimize addressing mode

◆ opt

amode opt

Definition at line 139 of file HexagonOptAddrMode.cpp.

◆ RDFFuncBlockLimit

cl::opt<unsigned> RDFFuncBlockLimit
extern